After seeing the jbosstest examples, I was able to
get my servlet lookups to ejb's working, but with the following output. (btw -
thnxs).
...
[Default] JBoss 2.2.2 Started in
0m:45s
[EmbeddedTomcatSX] Warning: validation was turned on but an org.xml.sax.ErrorHandler was not [EmbeddedTomcatSX] set, which is probably not what is desired. Parser will use a default [EmbeddedTomcatSX] ErrorHandler to print the first 10 errors. Please call [EmbeddedTomcatSX] the 'setErrorHandler' method to fix this. [EmbeddedTomcatSX] Error: URI=null Line=39: Element "ejb-ref" does not allow "ejb-link" here. If I remove the <ejb-link> from the
<ejb-ref> section in the web.xml, then the war will not successfully load
or i'll get 'ejb not bound' errors. And Im not clear on having to use
the setErrorHandler method.
Also, is validation a big hit in performance when
in use? If so, I'll just turn it off after development I guess (however that's
done).
Adv(thnxs)ance
|
- Re: [JBoss-user] validation and setErrorHandler? G.L. Grobe
- Re: [JBoss-user] validation and setErrorHandler? Allen fogleson