Hi;

I just started a new job. The company is using MS Windows 2000 and Tomcat 3.2.4 ( not my choice - peace! ).

I am able to start tomcat by going to C:\Tomcat\bin and double clicking startup.bat in explorer.

However, I am not able to start tomcat from a command line.

When I try it from dos I get "bad command or filename"

When I try startup.sh from my cygwin I get


================================
Using classpath: C:\TOMCAT/lib/ant.jar:C:\TOMCAT/lib/crimson.jar:C:\TOMCAT/lib/jasper.jar:C:\TOMCAT/lib/jaxp.jar:C:\TOMCAT/lib/servlet.jar:C:\TOMCAT/lib/test:C:\TOMCAT/lib/tools.jar:C:\TOMCAT/lib/webserver.jar:C:\JDK/lib/tools.jar:.;C:\W2Kimage_c\cygwin\home\steve\Projects\Classes

stever@STEVER c:/TOMCAT/bin
$ Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tomcat/s
tartup/Tomcat
==================================

When I have tried starting C:\Tomcat\bin directly, in dos I get the error message that %TOMCAT_HOME%/lib/servet.jar does not exist.

It exists at that location. TOMCAT_HOME is set properly at C:\Tomcat, output statements I put in tomcat.bat reflect that.

It seems like windows is not TOMCAT_HOME/lib

I'm not a windows expert, can anyone give me a clue?

Here is my system PATH:

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SystemRoot%\system32\nls;%SystemRoot%\system32\nls\English;C:JDK\bin;C:\ProgramFiles\GnuEmacs21.2\bin;C:\ProgramFiles;C:\PROGRA~1\ULTRAE~1;C:\Program Files\Microsoft SQL Server\80\Tools\BINN;

I have a JAVA_HOME and a JDK_HOME set, and those work.

Steve




--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to