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

Alessio Soldano do-not-reply at jboss.com
Tue Oct 4 10:41:47 EDT 2011


Alessio Soldano [http://community.jboss.org/people/asoldano] created the discussion

"Re: Module Dependency for supporting external Handler"

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

--------------------------------------------------------------
> 
> 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.
ok, let me know if you find out something interesting

> 
> 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? 
> 
> 
AFAIK the dependencies you specified should be fine (no need for the export flag)
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/630075#630075]

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/a02de6c9/attachment.html 


More information about the jboss-user mailing list