Yes. Still it seems servlet.jar should be added explicitly to the CLASSPATH environment varaible. That's how it worked for me. I think, there was a mail regarding this earlier which explained why but I forgot the reason. Hope it works.
Selva. ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, October 21, 2002 7:22 PM Subject: Re: Problem installing Axis with Tomcat 4.1.12 [Scanned for known viruses] > > > > in 4.1.12 I believe I put this in TOMCAT_HOME/common/lib > > > > > > "Selvakumar Ganesan" <[EMAIL PROTECTED]> on 10/21/2002 06:35:15 > AM > > Please respond to [EMAIL PROTECTED] > > To: <[EMAIL PROTECTED]> > cc: (bcc: Kevin Bedell/Systems/USHO/SunLife) > Subject: Re: Problem installing Axis with Tomcat 4.1.12 [Scanned for > known viruses] > > > seems servlet.jar is not in the classpath. I had the same problem and when > I > got servlet.jar into classpath it worked fine. > > regards, > Selva. > ----- Original Message ----- > From: "Olivier Gauwin" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, October 21, 2002 2:21 PM > Subject: Problem installing Axis with Tomcat 4.1.12 > > > > Hello, > > > > I'm trying to install Axis 1.0 with Tomcat 4.1.12. > > Everything seems to work fine (validate, etc.) but the last step (test) > > doesn't work. I've got the following exception : > > > > >java samples.stock.GetQuote > > -lhttp://localhost:8080/axis/servlet/AxisServlet -uuser1 -wpass1 XXX > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > javax/servlet/Servlet > > Context > > at java.lang.Class.getDeclaredMethods0(Native Method) > > at java.lang.Class.privateGetDeclaredMethods(Class.java:1613) > > at java.lang.Class.getMethod0(Class.java:1732) > > at java.lang.Class.getDeclaredMethod(Class.java:1219) > > at > > > org.apache.commons.discovery.tools.ClassUtils.findPublicStaticMethod(ClassUt > > ils.java:112) > > at > > > org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(En > > gineConfigurationFactoryFinder.java:214) > > at > > > org.apache.axis.configuration.EngineConfigurationFactoryFinder.access$300(En > > gineConfigurationFactoryFinder.java:92) > > at > > > org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(EngineC > > onfigurationFactoryFinder.java:179) > > at java.security.AccessController.doPrivileged(Native Method) > > at > > > org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(En > > gineConfigurationFactoryFinder.java:148) > > at > > > org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFactory(En > > gineConfigurationFactoryFinder.java:204) > > at org.apache.axis.client.Service.<init>(Service.java:111) > > at samples.stock.GetQuote.getQuote(GetQuote.java:102) > > at samples.stock.GetQuote.main(GetQuote.java:135) > > > > My classpath includes all the Axis jars (copied in > > CATALINA_HOME\webapps\axis\web-inf\lib) and xercesImpl.jar and > > xmlParserAPIs.jar. Must I download the Xerces2 sources to build a > > xerces.jar file (deprecatedjar) ? Is it really the problem ? > > > > Thanks ! > > Olivier > > > > > (See attached file: Wipro_Disclaimer.txt) > > > > > > > -------------------------------------------------------------------------- - > This e-mail message (including attachments, if any) is intended for the use > of the individual or entity to which it is addressed and may contain > information that is privileged, proprietary , confidential and exempt from > disclosure. If you are not the intended recipient, you are notified that > any dissemination, distribution or copying of this communication is > strictly prohibited. If you have received this communication in error, > please notify the sender and erase this e-mail message immediately. > -------------------------------------------------------------------------- - >
**************************Disclaimer************************************ Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. ***************************************************************************
