I have a CLASSPATH set for the system:

.;C:\W2Kimage_c\cygwin\home\steve\Projects\Classes

basically the immediate directory and my home directory.

I also have tools.jar in TOMCAT_HOME/lib, JAVA_HOME/jre/lib/ext

Like I said its an interesting problem in that it works if I doulbe click on the icon from explorer, but I can not get tomcat to start from a command line

Steve

At 10:05 AM 11/25/2002 -0800, you wrote:
You should set CLASSPATH as a Windows environment variable. I always make sure that the slashes in the CLASSPATH value should all point the same direction.

- CB

Steve Russell wrote:

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]>

--
". . . / This Cabinet is formd of Gold / And Pearl & Crystal shining bright
And within it opens into a World / . . .
Another England there I saw / Another London with its Tower
Another Thames & other Hills / And another pleasant Surrey Bower
. . ."
- from "The Crystal Cabinet", a poem by William Blake.


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

301-251-1161 x 275
[EMAIL PROTECTED]

Emmes Corporation
401 N. Washington Street, Suite 700
Rockville, MD 20850 - 1785


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

Reply via email to