Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Problem deploying webservices war to jboss

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
JBoss supply web service only in server "all", and it use apache axis to run web service.
 
reply
    Bookmark Topic Watch Topic
  • New Topic