aspose file tools*
The moose likes JBoss/WildFly and the fly likes Problem deploying webservices war to jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Problem deploying webservices war to jboss" Watch "Problem deploying webservices war to jboss" New topic
Author

Problem deploying webservices war to jboss

Adam Soren
Greenhorn

Joined: Aug 01, 2002
Posts: 4
Hi, I generated a web services war file with the Sun web services pack 1.2. It works fine with the embedded tomcat that comes with pack.
I then tried to deploy with Jboss 3_2_1 and tomcat 4.1.24 on Windows. I get this error saying a class cannot be loaded even though the class is in the jar and the jar is in server\default\lib
09:28:57,589 ERROR [Engine] StandardContext[/sds-jaxrpc]: Exception sending cont
ext initialized event to listener instance of class com.sun.xml.rpc.server.http.
JAXRPCContextListener
java.lang.NoClassDefFoundError: com/sun/xml/messaging/saaj/soap/SOAPVersionMisma
tchException
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:217)
at com.sun.xml.rpc.server.http.JAXRPCRuntimeInfoParser.loadClass(JAXRPCR
untimeInfoParser.java:150)
at com.sun.xml.rpc.server.http.JAXRPCRuntimeInfoParser.parseEndpoints(JA
XRPCRuntimeInfoParser.java:59)
at com.sun.xml.rpc.server.http.JAXRPCRuntimeInfoParser.parse(JAXRPCRunti
meInfoParser.java:31)
at com.sun.xml.rpc.server.http.JAXRPCContextListener.contextInitialized(
JAXRPCContextListener.java:59)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
t.java:3269)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
598)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:821)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:80
7)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:579)
Any ideas?
Many thanks
Adam
Adam Soren
Greenhorn

Joined: Aug 01, 2002
Posts: 4
Not that anybody seems interested but just in case...
I found that when I move to Sun web services pack 1.3 from 1.2 problems with classloading went away I'd advise anybody having similar issues to try this. There is also a new Sun tutorial 1.3 as well.
Goncha
Greenhorn

Joined: Aug 12, 2003
Posts: 4
JBoss supply web service only in server "all", and it use apache axis to run web service.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem deploying webservices war to jboss