My Tapestry 5 application uses the CXF soap client (cxf.apache.org) to
connect to an external soap service. The soap client uses JAXB for
marshalling and unmarshalling of the XML. When I run my (war)
application in Jetty I get a strange JAXB error

javax.xml.bind.JAXBException:
mitm.application.mimesecure.ws.AdminDTO is not known to this context

This is kind of strange because AdminDTO is a class in a jar file
(mimesecure.jar) which is used by a lot of page classes. I can even load
the AdminDTO using a Class.forName so the class can be found.

Now if I start Jetty as follows:

java -Djetty.class.path="mimesecure.jar" -jar start.jar

AdminDTO can be found by JAXB.

I think this might be caused by having multiple class loaders. Can this
be caused by the Tapestry classloader? 

Thanks,

Martijn


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to