My structure of tomcat is :

 

/usr/tomcat : Tomcat Directory

/usr/tomcat/webapps/soap/ : my app directory

/usr/tomcat/webapps/soap/WEB-INF/classes/ my app's classes where there are 
lib12.soap.sms.SmsDriverSOAP and org.apache.soap.* classes

 

Xavier André

 

 

-----Message d'origine-----
De : Larry Isaacs [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 15 janvier 2004 15:53
À : Tomcat Users List
Objet : RE: NoClassDefFoundError

 

Where exactly is the lib123.soap.sms.SmsDriverSOAP class

located (jar and directory) and where are the

org.apache.soap.* classes listed in the stack trace

located (jar and directory)?

 

Cheers,

Larry

 

> -----Original Message-----

> From: Xavier ANDRE [mailto:[EMAIL PROTECTED] 

> Sent: Thursday, January 15, 2004 8:56 AM

> To: Tomcat Users List

> Subject: RE: NoClassDefFoundError

> 

> 

> Thankds Stephen for the idea but it doesn't work also.

> This is my error :

> 

> <?xml version='1.0' encoding='UTF-8'?>

> <SOAP-ENV:Envelope 

> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 

> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"; 

> xmlns:xsd="http://www.w3.org/1999/XMLSchema";>

> <SOAP-ENV:Body>

> <SOAP-ENV:Fault 

> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>

> <faultcode>SOAP-ENV:Server.BadTargetObjectURI</faultcode>

> <faultstring>Unable to resolve target object: 

> lib123.soap.sms.SmsDriverSOAP</faultstring>

> <faultactor>/soap/servlet/messagerouter/</faultactor>

> <detail>

> <stackTrace>java.lang.ClassNotFoundException: 

> lib123.soap.sms.SmsDriverSOAP

>         at java.net.URLClassLoader$1.run(URLClassLoader.java:199)

>         at java.security.AccessController.doPrivileged(Native Method)

>         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)

>         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

>         at 

> sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)

>         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)

>         at 

> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

>         at java.lang.Class.forName0(Native Method)

>         at java.lang.Class.forName(Class.java:219)

>         at 

> org.apache.soap.rpc.SOAPContext.loadClass(SOAPContext.java:557)

>         at 

> org.apache.soap.server.http.ServerHTTPUtils.getTargetObject(Se

> rverHTTPUtils.java:274)

>         at 

> org.apache.soap.providers.MsgJavaProvider.locate(MsgJavaProvid

> er.java:113)

>         at 

> org.apache.soap.server.http.MessageRouterServlet.doPost(Messag

> eRouterServlet.java:267)

>         at javax.servlet.http.HttpServlet.service(HttpServlet.java)

>         at javax.servlet.http.HttpServlet.service(HttpServlet.java)

>         at 

> org.apache.tomcat.facade.ServletHandler.doService(Unknown Source)

>         at org.apache.tomcat.core.Handler.invoke(Unknown Source)

>         at org.apache.tomcat.core.Handler.service(Unknown Source)

>         at 

> org.apache.tomcat.facade.ServletHandler.service(Unknown Source)

>         at 

> org.apache.tomcat.core.ContextManager.internalService(Unknown Source)

>         at 

> org.apache.tomcat.core.ContextManager.service(Unknown Source)

>         at 

> org.apache.tomcat.modules.server.Http10Interceptor.processConn

> ection(Unknown Source)

>         at 

> org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)

>         at 

> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(

> Unknown Source)

>         at java.lang.Thread.run(Thread.java:534)

> </stackTrace>

> </detail>

> 

> Xavier André

>  

> 

> -----Message d'origine-----

> De : Stuart Stephen [mailto:[EMAIL PROTECTED] 

> Envoyé : jeudi 15 janvier 2004 14:50

> À : Tomcat Users List

> Objet : RE: NoClassDefFoundError

> 

> Try extracting the JAR's contents into the 

> webapp/WEB-INF/classes directory,

> check the class exists and restart tommy.

> 

> -----Original Message-----

> From: Xavier ANDRE [mailto:[EMAIL PROTECTED]

> Sent: 15 January 2004 08:32

> To: Tomcat Users List

> Subject: RE: NoClassDefFoundError

> 

> 

> Hi again,

> 

> I try to put my jar in $TOMCAT_HOME/lib/common/ but it does 

> not work also...

> 

> It drives me crazy :-(((

> 

> Xavier André

> 

> 

> -----Message d'origine-----

> De : news [mailto:[EMAIL PROTECTED] De la part de Bill Barker

> Envoyé : jeudi 15 janvier 2004 07:39

> À : [EMAIL PROTECTED]

> Objet : Re: NoClassDefFoundError

> 

> Actually, since he is using TC 3.3, the correct link is:

> http://jakarta.apache.org/tomcat/tomcat-3.3-doc/tomcat-ug.html

> #configuring_c

> lasses.

> 

> However, it is similar to the TC 4 structure, just with 

> different directory

> names :).

> 

> "Mike Curwen" <[EMAIL PROTECTED]> wrote in message

> news:[EMAIL PROTECTED]

> Did you read the document Yoav mentioned?

> 

> I'll give a tiny push...

> 

> http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-h

> owto.html

> 

> > -----Original Message-----

> > From: Xavier ANDRE [mailto:[EMAIL PROTECTED]

> > Sent: Wednesday, January 14, 2004 11:27 AM

> > To: Tomcat Users List

> > Subject: RE: NoClassDefFoundError

> >

> >

> > If I put a jar file in classpath, how can I do that ?

> >

> > In which directory do I put my jar file ?

> > Must I modify a file ?

> >

> > Xavier André

> >

> > -----Message d'origine-----

> > De : Shapira, Yoav [mailto:[EMAIL PROTECTED]

> > Envoyé : mercredi 14 janvier 2004 14:45

> > À : Tomcat Users List

> > Objet : RE: NoClassDefFoundError

> >

> >

> > Howdy,

> > Read the classloader how-to in the tomcat documentation.

> >

> > Yoav Shapira

> > Millennium ChemInformatics

> >

> >

> > >-----Original Message-----

> > >From: Xavier ANDRE [mailto:[EMAIL PROTECTED]

> > >Sent: Wednesday, January 14, 2004 8:45 AM

> > >To: Tomcat Users List

> > >Subject: RE: NoClassDefFoundError

> > >

> > >Thank you Yaov for your answer.

> > >

> > >I don't understand why I've got to put a jar file, since 

> the path to

> > >acces to my classes is in the classpth of the JVM which

> > launchs Tomcat.

> > >

> > >

> > >Could you help me on that point ?

> > >

> > >

> > >Xavier André

> > >

> > >-----Message d'origine-----

> > >De : Shapira, Yoav [mailto:[EMAIL PROTECTED]

> > >Envoyé : mercredi 14 janvier 2004 14:40

> > >À : Tomcat Users List

> > >Objet : RE: NoClassDefFoundError

> > >

> > >

> > >Howdy,

> > >We got your email, rest assured ;)  I noticed a couple of things:

> > >

> > >First, the stack trace is for a ClassNotFoundException,

> > which is very

> > >different from a NoClassDefFoundError that you mention in

> > your message.

> > >It's usually easier to fix: place the jar with the missing

> > class on the

> > >classpath.

> > >

> > >Second, you're using tomcat 3.x, which at this point in time

> > means not

> > >many people can help you.  Perhaps someone will, but if 

> you can then

> > >you should consider upgrading to a more recent tomcat version.

> > >

> > >Yoav Shapira

> > >Millennium ChemInformatics

> > >

> > >

> > >>-----Original Message-----

> > >>From: Xavier ANDRE [mailto:[EMAIL PROTECTED]

> > >>Sent: Wednesday, January 14, 2004 5:36 AM

> > >>To: Tomcat Users List

> > >>Subject: RE: NoClassDefFoundError

> > >>

> > >>Please I really need help !!!

> > >>

> > >>Is someone receive my mail ?

> > >>

> > >>

> > >>-----Message d'origine-----

> > >>De : Xavier ANDRE

> > >>Envoyé : mercredi 14 janvier 2004 09:38

> > >>À : Tomcat Users List

> > >>Objet : NoClassDefFoundError

> > >>Importance : Haute

> > >>

> > >>Hi,

> > >>

> > >>

> > >>

> > >>I've got en NoClassDefFoundError when I'm calling a method

> > of a SOAP

> > >>service which is deployed on my Tomcat Server.

> > >>

> > >>

> > >>

> > >>To start TOMCAT, I use these code, which is launched in my JVM :

> > >>

> > >>

> > >>

> > >>String[] args = new String[]{"start"};

> > >>

> > >>

> > >>org.apache.tomcat.startup.Main.main(args);

> > >>

> > >>

> > >>

> > >>The version of Tomcat is 3.3a.

> > >>

> > >>

> > >>

> > >>The error is :

> > >>

> > >>

> > >>

> > >><?xml version='1.0' encoding='UTF-8'?>

> > >>

> > >><SOAP-ENV:Envelope

> > >>xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";

> > >>xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";

> > >>xmlns:xsd="http://www.w3.org/1999/XMLSchema";>

> > >>

> > >><SOAP-ENV:Body>

> > >>

> > >><SOAP-ENV:Fault

> > >>xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>

> > >>

> > >><faultcode>SOAP-ENV:Server.BadTargetObjectURI</faultcode>

> > >>

> > >><faultstring>Unable to resolve target object:

> > >>lib123.soap.sms.SmsDriverSOAP</faultstring>

> > >>

> > >><faultactor>/soap/servlet/messagerouter/</faultactor>

> > >>

> > >><detail>

> > >>

> > >><stackTrace>java.lang.ClassNotFoundException:

> > >>lib123.soap.sms.SmsDriverSOAP

> > >>

> > >>

> > >>

> > >>I don't understand why the class

> > lib123.soap.sms.SmsDriverSOAP can't

> > >>be found since is in my JVM's classpath ?

> > >>

> > >>

> > >>

> > >>Thanks

> > >>

> > >>

> > >>

> > >>

> > >>

> > >>

> > >>------------------------------------------------------------

> > ---------

> > >>To unsubscribe, e-mail: [EMAIL PROTECTED]

> > >>For additional commands, e-mail: 

> [EMAIL PROTECTED]

> > >

> > >

> > >

> > >

> > >This e-mail, including any attachments, is a confidential business

> > >communication, and may contain information that is confidential,

> > >proprietary and/or privileged.  This e-mail is intended 

> only for the

> > >individual(s) to whom it is addressed, and may not be 

> saved, copied,

> > >printed, disclosed or used by anyone else.  If you are not the(an)

> > >intended recipient, please immediately delete this e-mail from your

> > >computer system and notify the sender.  Thank you.

> > >

> > >

> > 

> >---------------------------------------------------------------------

> > >To unsubscribe, e-mail: [EMAIL PROTECTED]

> > >For additional commands, e-mail: 

> [EMAIL PROTECTED]

> > >

> > >

> > 

> >---------------------------------------------------------------------

> > >To unsubscribe, e-mail: [EMAIL PROTECTED]

> > >For additional commands, e-mail: 

> [EMAIL PROTECTED]

> >

> >

> >

> >

> > This e-mail, including any attachments, is a confidential

> > business communication, and may contain information that is

> > confidential, proprietary and/or privileged.  This e-mail is

> > intended only for the individual(s) to whom it is addressed,

> > and may not be saved, copied, printed, disclosed or used by

> > anyone else.  If you are not the(an) intended recipient,

> > please immediately delete this e-mail from your computer

> > system and notify the sender.  Thank you.

> >

> >

> > 

> ---------------------------------------------------------------------

> > To unsubscribe, e-mail: [EMAIL PROTECTED]

> > For additional commands, e-mail: [EMAIL PROTECTED]

> >

> >

> > 

> ---------------------------------------------------------------------

> > To unsubscribe, e-mail: [EMAIL PROTECTED]

> > For additional commands, e-mail: [EMAIL PROTECTED]

> >

> 

> 

> 

> 

> ---------------------------------------------------------------------

> To unsubscribe, e-mail: [EMAIL PROTECTED]

> For additional commands, e-mail: [EMAIL PROTECTED]

> 

> 

> ---------------------------------------------------------------------

> To unsubscribe, e-mail: [EMAIL PROTECTED]

> For additional commands, e-mail: [EMAIL PROTECTED]

> 

> 

> 

> 

> ---------------------------------------------------------------------

> To unsubscribe, e-mail: [EMAIL PROTECTED]

> For additional commands, e-mail: [EMAIL PROTECTED]

> 

> 

> ---------------------------------------------------------------------

> To unsubscribe, e-mail: [EMAIL PROTECTED]

> For additional commands, e-mail: [EMAIL PROTECTED]

> 

> 

 

---------------------------------------------------------------------

To unsubscribe, e-mail: [EMAIL PROTECTED]

For additional commands, e-mail: [EMAIL PROTECTED]

 

Reply via email to