[prev in list] [next in list] [prev in thread] [next in thread] 

List:       soap-user
Subject:    Re: NoClassDefFoundError: org/apache/soap/Envelope
From:       "Paul J. Caritj" <pcaritj () riovia ! net>
Date:       2002-11-20 9:44:13
[Download RAW message or body]

Scott,
Many thanks. I've been looking for a resolution for this problem in all
the documentation I could find but to no avail; a search for this error
on Google brings up a total of one response (an unanswered question
posted to a group such at this in December 2001). 

Kudos.

On Tue, 2002-11-19 at 23:46, Scott Nichol wrote:
> Paul,
> 
> You have probably put your service class at a different level than
> Apache SOAP in the Tomcat class loader delegation chain.  Because
> messaging service classes rely on Apache SOAP classes (Envelope,
> SOAPContext), they must be loaded by a class loader that can also load
> the Apache SOAP classes.  If you have deployed Apache SOAP as a Tomcat
> webapp (which you should), you must make your service class (and
> dependent classes) part of the webapp as well, i.e. put it under
> $CATALINA_HOME/webapps/soap/WEB-INF/classes.  My guess is you put the
> class in $CATALINA_HOME/classes, the class loader for which cannot load
> the Apache SOAP classes.
> 
> Scott Nichol
> 
> ----- Original Message -----
> From: "Paul J. Caritj" <pcaritj@riovia.net>
> To: <soap-user@xml.apache.org>
> Sent: Tuesday, November 19, 2002 5:30 PM
> Subject: NoClassDefFoundError: org/apache/soap/Envelope
> 
> 
> > Greetings,
> >
> > I have an annoying little problem pertaining to SOAP-Messaging. When I
> > attempt to invoke a soap messaging service I get the following fault
> > (shown in relevant part):
> >
> > <faultactor>/soap/servlet/messagerouter</faultactor>
> > <detail>
> > <stackTrace>java.lang.NoClassDefFoundError: org/apache/soap/Envelope
> >         at java.lang.Class.getDeclaredMethods0(Native Method)
> >         at java.lang.Class.privateGetDeclaredMethods(Class.java:1627)
> >         at java.lang.Class.privateGetPublicMethods(Class.java:1655)
> >         at java.lang.Class.getMethod0(Class.java:1744)
> >         at java.lang.Class.getMethod(Class.java:963)
> >
> > I was hoping someone could throw me a line :) RPC style services work
> > just fine. I'm using Tomcat 1.4.12 and Apache SOAP 2.3 on Redhat 8.0
> >
> >
> > Also, on a related note, is it my imagination or is there a grievous
> > shortage of documentation on the use of Soap-Messaging (EDI, or what
> > have you)? Every book I have read (and Apache's own documentation)
> > focuses heavily on RPC style. Does anyone know of a
> > book/website/anything that covers Messaging thoroughly? (preferably in
> > Java, but I'll take what I can get)
> >
> > Best Regards,
> > Paul Caritj
> >
> >
> >
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:soap-user-unsubscribe@xml.apache.org>
> > For additional commands, e-mail:
> <mailto:soap-user-help@xml.apache.org>
> >
> >
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:soap-user-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <mailto:soap-user-help@xml.apache.org>
> 
> 



--
To unsubscribe, e-mail:   <mailto:soap-user-unsubscribe@xml.apache.org>
For additional commands, e-mail: <mailto:soap-user-help@xml.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic