[jboss-user] [JBossWS] - Deploying a client on JbossAs

Vincent321 do-not-reply at jboss.com
Thu Jan 24 06:49:53 EST 2008


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

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

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



More information about the jboss-user mailing list