tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Frank Gynnild <fra...@socg.no>
Subject Setting Classpath when using the "Start Tomcat"-shortcut doesn't seem to work
Date Wed, 01 May 2002 15:04:14 GMT
I've just started digging into Tomcat 4 (4.0.3), and after installing 
it, I got
atleast two options to start it:
1) From the "Start Tomcat" shortcut
2) Using the startup.bat.

Using option 2) I edited the CLASSPATH in 'setclasspath.bat' and that 
works fine.

But with option 1), it won't take my CLASSPATH either from the 
-classpath argument of the java.exe, or from the System Enviroment 
CLASSPATH-variable. The original shortcut
which the Tomcat installation provided looked like this:
C:\Stuff\Java\jdks\1.4.0\bin\java.exe  -jar 
-Duser.dir="C:\Stuff\Java\tomcat\4.0.3" 
"C:\Stuff\Java\tomcat\4.0.3\bin\bootstrap.jar" start

And I tried changing it to:
C:\Stuff\Java\jdks\1.4.0\bin\java.exe  -classpath 
"C:\stuff\java\classlib" -jar -Duser.dir="C:\Stuff\Java\tomcat\4.0.3" 
"C:\Stuff\Java\tomcat\4.0.3\bin\bootstrap.jar" start

But in either case a 'System.getProperty("java.class.path")' from one of 
my JSPs returns only 'C:\Stuff\Java\tomcat\4.0.3\bin\bootstrap.jar'.

Does anyone know why?

Thanks,
Frank Gynnild




--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message