[jboss-user] [JBoss Web Services] - Re: Module Dependency for supporting external Handler

Paul Robinson do-not-reply at jboss.com
Tue Oct 4 10:09:32 EDT 2011


Paul Robinson [http://community.jboss.org/people/paul.robinson] created the discussion

"Re: Module Dependency for supporting external Handler"

To view the discussion, visit: http://community.jboss.org/message/630060#630060

--------------------------------------------------------------
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
[http://community.jboss.org/message/630060#630060]

Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20111004/5c6c44bb/attachment.html 


More information about the jboss-user mailing list