You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Randy Layman <ra...@aswethink.com> on 2001/03/06 14:16:40 UTC

RE: problems running tomcat on win98

	When you set TOMCAT_HOME (and JAVA_HOME for that matter) don't
include the trailing slashes on the fields.  It thinkgs you are trying to
escape the second quote, so it sees the second parameter as
-Dtomcat.home.....startup.Tomcat, which is not a valid call to Java (no
class specified).

	Randy

-----Original Message-----
From: Adam Ross [mailto:ad@smokemeakipper.co.uk]
Sent: Tuesday, March 06, 2001 8:42 AM
To: tomcat-user@jakarta.apache.org
Subject: problems running tomcat on win98


Hi

I've been having problems getting Tomcat to start on my Win98 PC. I have JDK
1.3 and Tomcat 3.2.1. All the envornment variables are set correctly.

When I run startup.bat everything works properly until tomcat.bat tries to
start Java, then the new window pops up and comes up with the java usage
message (indicating that the call to java.exe has some invalid paramters).

The faulty java call is:
start "d:\jdk1.3\\bin\java"  -Dtomcat.home="d:\tomcat\"
org.apache.tomcat.startup.Tomcat

Java doesn't seem to like the second parameter that sets the tomcat.home
property: if I remove it, java runs but comes up with an exception because
it can't find the xml files it needs. If I leave it in, java wont run at
all, and prints the java usage message. I have tried reinstalling both java
and tomcat, but it makes no difference.

I would be very greatful for any suggestions you may have.

Thanks
Adam Ross


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, email: tomcat-user-help@jakarta.apache.org