A question about using the validator.sh

9 views
Skip to first unread message

Wei Chen

unread,
May 12, 2015, 5:18:14 AM5/12/15
to ironjaca...@googlegroups.com
Hi,

In the document from Ironjacamar (see [1]) it tells:

The validator can be run on the command line by

cd doc/validator
./validator.sh <file>

But what a <file> is here? The rar file?


Wei Chen

unread,
May 12, 2015, 5:24:47 AM5/12/15
to ironjaca...@googlegroups.com
I got it running now. I run as follow:

./validator.sh -classpath jboss-jca.jar my.rar

But there are errors in the log as follow:

Severity: ERROR
Section: 19.4.2
Description: A ResourceAdapter must implement a "public int hashCode()" method.
Code: org.jboss.resource.deployment.DummyResourceAdapter

Severity: ERROR
Section: 19.4.2
Description: A ResourceAdapter must implement a "public boolean equals(Object)" method.
Code: org.jboss.resource.deployment.DummyResourceAdapter

The 'jboss-jca.jar' is from Jboss EAP 5. Seems I can't use it in Jboss EAP 6 and have to create the new RAR myself?

Jesper Pedersen

unread,
May 12, 2015, 10:38:41 AM5/12/15
to ironjaca...@googlegroups.com, chenw...@gmail.com
Yes, <file> is the resource adapter file (whatever.rar).

The validator is run as part of the rar-info tool too, and my comments apply to this too.
Reply all
Reply to author
Forward
0 new messages