[jboss-user] [JBoss Web Services Users] - Overriding wsdl4j.jar that comes with JBoss

stata do-not-reply at jboss.com
Fri Aug 28 06:57:50 EDT 2009


Hi,

My application uses a wsdl4j.jar but JBoss also has a wsdl4j.jar in default\deployers\jbossws.deployer. I want it to pick up classes from my application's wsdl4j.jar. I used the following configuration in jboss-web.xml:

<class-loading java2ClassLoadingCompliance="false">
 <loader-repository>
 com.ibm:archive=wsdl4j.jar
 <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
 </loader-repository>
 </class-loading>

Also I tried adding a classpath entry in jboss-service.xml but none of these approaches work. If I remove the jar that comes with JBoss, my application works fine, but I don't want to do that. Is there some way out?

Thanks in advance.

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

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



More information about the jboss-user mailing list