0 Replies Latest reply on Jan 24, 2008 6:49 AM by Vincent Jassogne

    Deploying a client on JbossAs

    Vincent Jassogne Newbie

      Dears,

      I get the following exception while invoking my webservice client on jbossAs inside a webapp.

      java.lang.LinkageError: loader constraints violated when linking javax/xml/namespace/QName class


      Seems that this class is contained inside stax-api.jar inside my web-inf/lib.

      If I remove that jar, I got this exception :
      javax.xml.stream.FactoryConfigurationError: Provider com.bea.xml.stream.MXParserFactory not found
       at javax.xml.stream.FactoryFinder.newInstance(FactoryFinder.java:72)
       at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:176)
       at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:92)
       at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:136)
       at com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.<clinit>(XMLStreamReaderFactory.java:36)
       at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:786)
       at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:236)
       at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:107)
       at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:226)
      


      Any help will be very appreciated.

      Thanks a lot