tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Turner <tomcat-u...@johnturner.com>
Subject Re: Tomcat4, where is classpath set when run as service
Date Wed, 30 Jul 2003 21:02:01 GMT

I'm pretty sure.  Editing the registry is possible, so is editing the 
startup scripts.  That doesn't mean its advisable, or portable.

Tomcat has a pretty robust ClassLoader architecture specifically 
designed to load classes that it needs.  Why not use it instead of 
mucking about with the registry and trying to force a new/different 
classpath?

John

John Corrigan wrote:

> Are you sure about that, John?  What about the following registry key?
> Aren't the environment variables only used during the service setup process?
> 
> HKEY_LOCAL_MACHINES
>   SYSTEM
>     CurrentControlSet
>       Services
>         Apache Tomcat 4.1
>           Parameters  --  JVM Option Number 0:
> REG_SZ: -Djava.class.path=C:\usr\local\Apache\Tomcat
> 4.1.24\bin\bootstrap.jar
> 
> 
> It seems like the easiest way to add to the classpath, if that is really
> want you want to do Paul, is to edit the registry.
> 



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


Mime
View raw message