|
PLEASE HELP...
I have been trying to get tomcat started up for last two
days... I have checked the faq site and gone through the complete mailing list
and I have not found any answer to my problem so far...
Need help urgently.....
I am using a Pentium Celeron 266 machine with 64 MB RAM,
running on Win98.
My tomcat is installed in d:\tomcat(No question of non 8.3 format directory name here) My jdk is installed in d:\jdk1.3 (Java2 SDK 1.3) My classpath is correctly set up to include d:\tomcat\classes
and all the jar files in tomcat\lib directory ie; ant.jar,
jasper.jar,jaxp.jar,parser.jar,servlet.jar and webserver.jar
The classpath is also set up to take d:\jdk1.3\lib\tools.jar
(tools.jar does exist in this directory)
I have set TOMCAT_HOME=d:\tomcat
I have set JAVA_HOME =d:\jdk1.3 When running I have noticed that the JAVA_HOME &
TOMCAT_HOME environment variables are correctly set to d:\jdk1.3 and d:\tomcat
respectively.
The dos prompt displays some lines of count=0 total=xxx and
then
terminates with an Exception in thread "main" java.lang.NoClassDefFoundError : org/apache/tomcat/startup/Tomcat (This corresponds to the command
java -Dtomcat.home="%TOMCAT_HOME%" org.apache.tomcat.startup.Tomcat %2 %3 %4 %5 %6 %7 %8 %9 of tomcat.bat file) Can anyone tell me what all that %2 %3 etc means. Are they the
command line parameters??
I have noticed that there is no directory structure
corresponding to org.apache.tomcat.startup.Tomcat class (package.class name) in
the tomcat root. (This directory structure is available in the src directory
with a Tomcat class. I guess this class file should be in one of the jar
files in lib directory)
I also noticed that there is no file in my tomcat
directory (or any on which the java command is being called.
P.S : I have removed all other classlibraries in my
autoexec.bat classpath set up except jdk\lib.
I am not able to figure out the problem inspite of being at it
for two days.
PLEASE HELP!! I have become obsessed in solving this
problem....
Thank you
Joseph S
Wish you all a very happy New
Year
|
