I am glad you got your configuration working.  FYI, the Tomcat 5 installation 
instructions say the following.

>>>>
IMPORTANT: With Tomcat 5.0, you do not need to change the startup scripts. You need to 
place the jars for JavaMail and Java Activation Framework in a directory where a 
Tomcat class loader can find them. You need to place Apache SOAP files within Tomcat's 
webapps directory.

Copy the jars for JavaMail (mail.jar) and Java Activation Framework (activation.jar) 
into
%CATALINA_HOME%/shared/lib.
<<<<

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Scott Sauyet" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, April 15, 2004 12:59 PM
Subject: RE: javax/servlet/http/HttpServlet


I was assuming that the classpath the OP was discussing *was* the one in
Tomcat.
 
I added mail.jar, activation.jar, and soap.jar to the classpath built
in one of the batch files (catalina.jar) Tomcat uses at startup.  Then I
deployed soap.war.  I had this same issue.  When I removed soap.jar it
went away.
 
  -- Scott Sauyet

-----Original Message-----
From: [EMAIL PROTECTED] 
Sent: Thursday, April 15, 2004 1:54 PM
To: <[EMAIL PROTECTED]>
Subject: Re: javax/servlet/http/HttpServlet



I cannot understand why this would be true.  The Tomcat 5 Class
Loader HOW TO (http://jakarta.apache.org/tomcat/tomcat 5.0 doc/class
loader howto.html) states

  the standard Tomcat 5 startup scripts
($CATALINA_HOME/bin/catalina.sh or 
  %CATALINA_HOME% \bin\catalina.bat) totally ignore the contents of the

  CLASSPATH environment variable itself, and instead build the System
class 
  loader from the following repositories ... 

In other words, Tomcat effectively builds its own CLASSPATH,
ignoring whatever you have set in the environment.  Do you run Tomcat
using its standard startup scripts (such as start.bat)?

Scott Nichol 

Do not send e mail directly to this e mail address, 
because it is filtered to accept only mail from 
specific mail lists. 
      Original Message       
From: "Scott Sauyet" <[EMAIL PROTECTED]> 
To: <[EMAIL PROTECTED]>; <soap [EMAIL PROTECTED]> 
Sent: Thursday, April 15, 2004 12:33 PM 
Subject: RE: javax/servlet/http/HttpServlet 


I just had that yesterday.  Try removing soap.jar from the
classpath. 

     Scott 


     Original Message      
From: [EMAIL PROTECTED] 
Sent: Thursday, April 15, 2004 1:26 PM 
To: <soap [EMAIL PROTECTED]> 
Subject: java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet



Hi all 
  
I have a problem that seems common (I have seen it many times on few 
forum), 
but I can't still solve it :( 
  
I have installed Tomcat 5.0.19 + Apache Soap, deployed Apache Soap by 
copy 
soap.war into webapps .. 
  
Then I launch startup.bat, and I enter in IE the url 
localhost:8080/soap/index.html . 
  
Then I click in deploy and have this error 
  
java.lang.NoClassDefFoundError: javax/servlet/http/HttpServlet 
           
org.apache.jsp.admin.deploy_jsp._jspService(deploy_jsp.java:59) 
  
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133) 
           
javax.servlet.http.HttpServlet.service(HttpServlet.java:856) 


org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3


11) 
  
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)



org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) 
           
javax.servlet.http.HttpServlet.service(HttpServlet.java:856) 


My env is : 
CLASSPATH : 
E:\travail\javaLib\soap 2_3_1\lib\soap.jar;E:\travail\javaLib\xerces 
2_6_2\x 
mlParserAPIs.jar;E:\travail\javaLib\javamail 
1.3.1\mail.jar;E:\travail\javaL 
ib\jaf 1.0.2\activation.jar 
CATALINA_HOME : D:\Program Files\jakarta tomcat 5.0.19 
JAVA_HOME : C:\j2sdk1.4.2_04 
  
I haven't modify or create any conf file .. 
  
The prob seems to be a classpath prob, apache soap seems not to find 
soap.jar and all the other jar .. But I could not solve this problem !!

  
Is someone has an idea ? 
  
Ths a lot 




Personix, Proprietary & Confidential.  The information
transmitted in this communication is intended for the exclusive use of
the individual or entity to whom it is addressed and may contain
confidential and/or privileged material.  Any review, retransmission,
dissemination, or other use of, or taking of any action in reliance upon
this information by persons or entities other than the intended
recipient is prohibited. If you have received this communication in
error, please return to the sender immediately.

Reply via email to