[jboss-user] [JBossWS] - Force a library to use a jar

Mpulse do-not-reply at jboss.com
Wed Jul 18 03:18:40 EDT 2007


Hello 
  
We have some session beans that rely on an external library which in turn relies on Apache Axis. It cannot use ConnectionImplementations or MessageImplementations from org.jboss.ws because of some explicit casts. 
We use jboss-4.2.0.GA with jbossWs 2.0 so we have three reference to javax.xml.soap.*, one in rt.jar in the jvm6, one in jboss-saaj.jar in JBOSS/lib/endorsed/ and the last in Axis' saaj.jar. 
  
We would like this one single deployment unit to use the axis libraries without interferring with the SOAP libraries in jboss-saaj.jar. 
How do we force this and only this library to use Axis' saaj.jar? It seems that libraries in JBOSS_HOME/lib/endorsed supercede anything in the deployment unit classpath like app.ear/lib, webapp.war/WEB-INF/lib, myejb.jar/lib with or without adding the required libraries to the manifest classpath. 
  
Any ideas? 
Thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065278#4065278

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065278



More information about the jboss-user mailing list