|
From: Leif M. <le...@ta...> - 2003-05-27 11:42:37
|
Mat,
What version of the Wrapper are you using? Evaluation of environment
variables was added in version 2.2.9. Try enabling debug output and look
at the command used to launch the JVM, you can then see whether the
problem is with the wrapper.conf file or on the Java side.
I placed the following in the wrapper.conf:
wrapper.java.additional.1=-DPATH="%PATH%;C:\Test\bin;"
and the following in a Java class:
System.out.println( "Path=" + System.getProperty( "PATH" ) );
and things worked fine.
Check the debug output, that will narrow down the problem. You can
enable all debug output by setting
wrapper.debug=true
Cheers,
Leif
M. Leinmueller wrote:
> Leif,
>
> If I interpret your comments and the documentation correctly something
> like
> wrapper.java.additional.1=-DPATH="%PATH%;C:\Test\bin;"
> should take the current environment path, add "C:\Test\bin" and give
> the whole thing as path parameter to the JVM.
> This does not work for me :-(
>
> Mat
|