Wouldn't be simpler to add a 'classpath' attribute ? 

[vm]
classpath=...
classpath=...

I'll commit the patch anyway ( after I'm done with the previous patch.)

I moved apr_initialize() inside the if(), i.e. if jk_env_globalEnv is
not set, we are in standalone mode, if it is set we are in inprocess mode.


Costin

On Sun, 9 Jun 2002, Mladen Turk wrote:

> Hi,
> 
> Dunno if the patch has the 'real' purpose, cause it's only a way for me
> to make the config easier to configure.
> Since -Djava.class.path in JVM options can contain classpaths semicolon
> separated, it can become quite messy, so I've used the concept to enable
> to use multiple config lines and it will become the semicolon separated
> after parsing.
> 
> So it enables to use the workers2.properties in a following way:
> 
> [vm:]
> info=Parameters used to load a JVM in the server process
> OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar
> OPT=-Djava.class.path=${APACHE2_HOME}/bin/modjava.jar
> OPT=-Djava.class.path=${APACHE2_HOME}/modules/java
> OPT=-Dtomcat.home=${TOMCAT_HOME}
> OPT=-Dcatalina.home=${TOMCAT_HOME}
> OPT=-Xmx128M
> disabled=0
> 
> Of course you could put that in the single line but IMO it's easier to
> admin this way.
> 
> The patch works only if the APR is enabled, and if not falls to the
> standard behavior.
> 
> MT.
> 


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

Reply via email to