Thanks Micheal and Scott for the reply. I resolved the problem by making the servlet.jar available in the CLASSPATH of my Telnet session where I startup Tomcat.
That is despite the fact that servlet.jar is already present in lib\common of Tomcat v3.3.1. I even made copies of servlet.jar in lib\apps, lib\container and webapps\soap\ it made no difference (the problem remains). I also place activation.jar and mail.jar in the CLASSPATH. Joseph Tan --- Scott Nichol <[EMAIL PROTECTED]> wrote: > Michael, > > Glad to hear you solved this! > > Just to be sure I understand this for future reference, > do you mean > soap.jar was in the CLASSPATH environment variable for > your command > shell, or in a classpath set within a Tomcat startup > script? > > Thanks. > > Scott Nichol > > ----- Original Message ----- > From: "Michael Baron" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Saturday, October 05, 2002 5:41 PM > Subject: Re: NoClassDefFoundError: > javax/servlet/http/HttpServlet > > > > This looks similar to my problem. I just solved it. > It turns out > what > > caused it was that I put a copy of soap.jar in my > classpath. Why this > was > > incompatible with the classes in WEB-INF/classes I do > not know. I got > the > > JAR file from same version as the WAR file. > > ----- Original Message ----- > > From: "Scott Nichol" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, October 04, 2002 9:06 AM > > Subject: Re: NoClassDefFoundError: > javax/servlet/http/HttpServlet > > > > > > > Someone else is having this problem with Tomcat 4.x > on either Linux > or > > > Win2k, I believe, but we have not resolved the issue > as yet. It may > not > > > be related to the cause of your problem, anyway. > > > > > > The current instructions for installing with Tomcat > 3.3 are at > > > > http://cvs.apache.org/viewcvs.cgi/*checkout*/xml-soap/java/docs/install/ > > > tomcat33.html?rev=1.2. Besides copying soap.war into > webapps, did > you > > > copy activation.jar and mail.jar into the lib/apps > directory? I > know > > > the error message refers to a class in servlet.jar, > but it pays to > cover > > > all the bases. And, of course, you'll need to > restart Tomcat. > > > > > > Also, do you have any other webapps deployed on this > Tomcat > instance? > > > Tomcat sometimes has problems with class loading not > being as > isolated > > > as it should be. Other webapps that include their > own versions of > jars > > > that are used by Tomcat and/or other webapps have > caused similarly > odd > > > class loading issues. > > > > > > Scott Nichol > > > > > > ----- Original Message ----- > > > From: "jjnfg" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Thursday, October 03, 2002 6:50 PM > > > Subject: NoClassDefFoundError: > javax/servlet/http/HttpServlet > > > > > > > > > > I have just installed SOAP v2.3.1 with TOMCAT > v3.3.1 under > > > > IBM's OS/390. > > > > > > > > I copied Soap.war into webapps/ > > > > > > > > Started tomcat and the soap.war expanded. > > > > > > > > I point my browser to httP://hostname:port/soap > > > > and the "APACHE SOAP Admin" page came up alright. > > > > > > > > But when I click the "List" function I get : > > > > > > > > > > > > Location: /soap/admin/list.jsp > > > > Internal Servlet Error: > > > > > > > > java.lang.NoClassDefFoundError: > > > > javax/servlet/http/HttpServlet > > > > at admin.list_1._jspService(list_1.java:63) > > > > at > > > > > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) > > > > at > > > > > javax.servlet.http.HttpServlet.service(HttpServlet.java) > > > > at > > > > > > > > org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:57 > > > 4) > > > > at > org.apache.tomcat.core.Handler.invoke(Handler.java:322) > > > > at > > > > > org.apache.tomcat.core.Handler.service(Handler.java:235) > > > > at > > > > > > > > org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) > > > > at > > > > > > > > org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav > > > a:917) > > > > at > > > > > org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) > > > > at > > > > > > > > org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Htt > > > p10Interceptor.java:176) > > > > at > > > > > > > > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:49 > > > 4) > > > > at > > > > > > > > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool > > > .java:516) > > > > at java.lang.Thread.run(Thread.java:512) > > > > > > > > > > > > > > > > Is there somewhere that I did wrong or missed out ? > > > > > > > > I can't use tomcat v4.x.x it just won't run under > IBM's > > > > OS/390. I reported it as a bug and as yet no > response from > > > > the developer. > > > > > > > > Joseph Tan > > > > > > > > > > > > http://mobile.yahoo.com.au - Yahoo! Messenger for > SMS > > > > - Always be connected to your Messenger Friends > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > For additional commands, e-mail: > > > <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > === message truncated === http://mobile.yahoo.com.au - Yahoo! Messenger for SMS - Always be connected to your Messenger Friends -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>