Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem deploying webservices war to jboss

 
Adam Soren
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JBoss supply web service only in server "all", and it use apache axis to run web service.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic