File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Problem deploying webservices war to jboss

Adam Soren

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.
java.lang.NoClassDefFoundError: com/sun/xml/messaging/saaj/soap/SOAPVersionMisma
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at com.sun.xml.rpc.server.http.JAXRPCRuntimeInfoParser.loadClass(JAXRPCR
at com.sun.xml.rpc.server.http.JAXRPCRuntimeInfoParser.parseEndpoints(JA
at com.sun.xml.rpc.server.http.JAXRPCRuntimeInfoParser.parse(JAXRPCRunti
at com.sun.xml.rpc.server.http.JAXRPCContextListener.contextInitialized(
at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
at org.apache.catalina.core.StandardContext.start(
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
at org.apache.catalina.core.ContainerBase.addChild(
at org.apache.catalina.core.StandardHost.addChild(
Any ideas?
Many thanks
Adam Soren

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.

Joined: Aug 12, 2003
Posts: 4
JBoss supply web service only in server "all", and it use apache axis to run web service.
I agree. Here's the link:
subject: Problem deploying webservices war to jboss
jQuery in Action, 3rd edition