JBoss Community

Re: Module Dependency for supporting external Handler

created by Paul Robinson in JBoss Web Services - View the full discussion

Alessio,

 

Thanks for taking a look.

 

Unfortunately we don't have a CI test for these demos. This is something that I want to see addressed soon.

 

At the point at which the ClassCastException is occuring, The Classloader being used is:

 

ModuleClassLoader for Module "deployment.txbridge-demo-service.jar:main" from Service Module Loader

 

Which is the one that I would expect to be used. The module has dependencies for "javax.xml.ws.handler.Handler" from "javax.xml.ws.api" and "org.jboss.jbossts.txbridge.inbound.JaxWSTxInboundBridgeHandler" from "org.jboss.xts". Which I think is enough to create the Handler. I'll debug the point at which the ModuleClassLoader is created and see if I can discover which dependencies are being pulled in.

 

Do you know if I have correctly defined the Dependencies section of the MANIFEST.mf in order for the ClassLoader to be able to load the JaxWSTxInboundBridgeHandler and Handler classes? For example, do I need to export the org.jboss.xts and the javax.xml.ws.api dependencies?

 

 

Thanks,

 

Paul.

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community