[jboss-user] [JBoss Web Services] - Help Needed in Migrating WebServices Application Migration from Tomcat Server to Jboss-5.1.0 server
nishwanth vuppala
do-not-reply at jboss.com
Wed Apr 7 00:39:59 EDT 2010
nishwanth vuppala [http://community.jboss.org/people/vnishwanth] created the discussion
"Help Needed in Migrating WebServices Application Migration from Tomcat Server to Jboss-5.1.0 server"
To view the discussion, visit: http://community.jboss.org/message/535975#535975
--------------------------------------------------------------
Hi,
I have a war file(webservices application) which has succesfully deployed in tomcat and when i m migrating the application to Jboss5.1.0 getting many issues .
Environment :
*Jax-ws SI* *2.0* -b26-ea3
*Jaxb*
*Saaj*
Jars files inside my application lib folder :
*xercesImpl.jar*
*saaj-pai,saaj-impl.jar*
*jaxb-api,jaxb-impl,jaxp-api*
*jaxws-rt,jaxrpc,jaxws-api,sax,wsdl4j-1.5.1,xalan,jsr173_api,jsr181_api,jsr250.*
When i deployed the application please find the errors below and steps i took to resolve them.
*Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
java.lang.ClassCastException: com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl*
**
*Caused by: java.lang.RuntimeException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: org.jboss.ws.core.soap.SOAPFactoryImpl
at com.sun.xml.xwss.SystemHandlerDelegateImpl.<clinit>(SystemHandlerDelegateImpl.java:661)
... 77 more
Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: org.jboss.ws.core.soap.SOAPFactoryImpl
at javax.xml.soap.SOAPFactory.newInstance(Unknown Source)
at com.sun.xml.xwss.SystemHandlerDelegateImpl.<clinit>(SystemHandlerDelegateImpl.java:657)
... 77 more*
**
**
*kept jboss-saaj.jar in lib and removed saaj-api.jar from appln*
*ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/SDS]] (main) Exception sending context initialized event to listener instance of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener
java.lang.ExceptionInInitializerError*
*removed jaxp-api.jar from application*
*ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/SDS]] (main) Exception sending context initialized event to listener instance of class com.sun.xml.ws.transport.http.servlet.WSServletContextListener
java.lang.LinkageError: loader constraints violated when linking javax/xml/namespace/QName class*
*at com.sun.xml.bind.v2.model.impl.RuntimeBuiltinLeafInfoImpl.<clinit>(RuntimeBuiltinLeafInfoImpl.java:779)
at com.sun.xml.bind.v2.model.impl.RuntimeTypeInfoSetImpl.<init>(RuntimeTypeInfoSetImpl.java:25)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:78)
at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.createTypeInfoSet(RuntimeModelBuilder.java:41)*
*removed jaxrpc,jaxb-impl,xbean,xmlpublic,jsr173 jars*
*java.lang.LinkageError: loader constraints violated when linking org/xml/sax/XMLFilter class*
*removed sax.jar from application*
*java.lang.LinkageError: loader constraints violated when linking javax/xml/bind/SchemaOutputResolver class
removed jaxb-api.jar from application*
*failed to parse runtime descriptor: java.lang.TypeNotPresentException: Type javax.xml.bind.annotation.AccessType not present
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener*
*placed jaxb-api.jar in libs folder*
*java.lang.annotation.AnnotationTypeMismatchException: Incorrectly typed data found for annotation element public abstract javax.xml.bind.annotation.XmlAccessType javax.xml.bind.annotation.XmlAccessorType.value() (Found data of type Ljavax/xml/bind/annotation/AccessType;.FIELD)*
*I not able to proceed further .*
*please Help..*
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535975#535975]
Start a new discussion in JBoss Web Services at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100407/ff97d059/attachment.html
More information about the jboss-user
mailing list