[jboss-dev-forums] [Design of POJO Server] - Re: A valid empty jboss.xml
alex.loubyansky@jboss.com
do-not-reply at jboss.com
Tue Dec 4 05:20:19 EST 2007
Something's wrong in the SchemaBinding resolver/initialization. Maybe it's not up to date?
The parsing and unmarshaling complete without errors but the result is null. Because the default element handlers are used, not the ones from the jbossxb-builder (annotation-based binding).
If you look at the log you sent me you'll see messages like:
| [testng] TRACE [binding.sunday.unmarshalling.impl.runtime.RtElementHandler] Failed to resolve class for element {http://java.sun.com/xml/ns/javaee}interceptor-binding: com.sun.java.xml.ns.javaee.InterceptorBindingType
The default behavior is to ignore unresolved classes. SchemaBinding.isIgnoreUnresolvedFieldOrClass() is true by default. If it was false you would get an exception.
Anyway, I think we need to look into your SchemaResolver initialization.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110116#4110116
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110116
More information about the jboss-dev-forums
mailing list