It would appear that you have included an extra \ on the end of
TOMCAT_HOME and JAVA_HOME (JAVA_HOME should be c:\jdk1.3).  Take these
ending slashes off and things should probably work fine.

        Randy

> -----Original Message-----
> From: Jeff Gu [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 02, 2001 9:55 AM
> To: [EMAIL PROTECTED]
> Subject: startup problem under win32
> 
> 
> Hi guys,
> 
> I am a newbie in this area, so please forgive my ignorance.  
> I have a question concerning the startup of Tomcat.  I use 
> windows 2000 server version and wish to integrate Tomcat with 
> Apache, which is already configured.  I have JDK 1.3 SE 
> installed at c:\jdk1.3.  I have downloaded the zip file of 
> tomcat 3.2.2.  After I unzipped the package to 
> D:\jakarta-tomcat-3.2.2, I tried to launch Tomcat in command 
> window with either "tomcat start" or "tomcat run".  The 
> problem is the new window disappears immediately if I use 
> "tomcat start".  The information I got when I use "tomcat 
> run" is like this:
> -------------------
> D:\jakarta-tomcat-3.2.2\bin>tomcat run
> Including all jars in D:\jakarta-tomcat-3.2.2\\lib in your CLASSPATH.
> 
> Using CLASSPATH: 
> D:\jakarta-tomcat-3.2.2\\classes;D:\jakarta-tomcat-3.2.2\\lib\s
> ervlet.jar;D:\jakarta-tomcat-3.2.2\\lib\parser.jar;D:\jakarta-
> tomcat-3.2.2\\lib\
> jaxp.jar;D:\jakarta-tomcat-3.2.2\\lib\ant.jar;D:\jakarta-tomca
> t-3.2.2\\lib\webse
> rver.jar;D:\jakarta-tomcat-3.2.2\\lib\jasper.jar;.;;c:\jdk1.3\
> \lib\tools.jar
> 
> Usage: java [-options] class [args...]
>            (to execute a class)
>    or  java -jar [-options] jarfile [args...]
>            (to execute a jar file)
> 
> where options include:
>     -cp -classpath <directories and zip/jar files separated by ;>
>                   set search path for application classes and 
> resources
>     -D<name>=<value>
>                   set a system property
>     -verbose[:class|gc|jni]
>                   enable verbose output
>     -version      print product version and exit
>     -showversion  print product version and continue
>     -? -help      print this help message
>     -X            print help on non-standard options
> -------------------
> It seems that the command to use java is not appropriate.  
> However, this is the exact batch file I use from the package. 
>  I then tried to use "java org.apache.tomcat.startup.Tomcat" 
> to launch it manually, but my doubt is that all the java 
> files have not been compiled.  Anyway, I just cannot launch 
> it and the message I get is like this:
> -------------------
> D:\jakarta-tomcat-3.2.2>java org.apache.tomcat.startup.Tomcat
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/tomcat/sta
> rtup/Tomcat
> -------------------
> I don't think this is a problem with xml engine, because the 
> jasper.jar and parser.jar have already been incluced in the 
> CLASSPATH.  I looked in all the archive, mailing list, and 
> faq, but these is no address to this sympton.  I hope someone 
> can help me out.  Also, do I need to upgrade J2SE to J2EE?  Thank you.
> 
> Best,
> Jeff
> 
> 
> 

Reply via email to