0 Replies Latest reply on Aug 28, 2009 6:57 AM by stata

    Overriding wsdl4j.jar that comes with JBoss

      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.