Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

RE: Tomcat 5.5.20: issue with tomcat service & defining application specific environment variables

Sampath Kumar Rallapalli

2007-01-17

Replies:

Thanks Chuck for your response. I tried your suggestion of providing an additional argument on Java tab for java.library.path and it did not work.
 
Any further inputs would be appreciated.
 
Regards,
Sampath


"Caldarale, Charles R" <Chuck.Caldarale@(protected):
> From: Sampath Kumar Rallapalli [mailto:skumar_rallapalli@(protected)]
> Subject: Tomcat 5.5.20: issue with tomcat service & defining
> application specific environment variables
>
> But the path to this dll is defined in the SYSTEM variables
> in the SYSTEM PATH variable.

Not sure if services have access to environment variables. In any
event, the easiest way is to set the appropriate -D values in the Java
tab of the tomcat5w.exe utility. For this case, it's:
-Djava.library.path=

> Also, if the tomcat is running in service mode, how to
> provide the application specific environment variables?

As above, I think you'll need to use Java system properties, not
environment variables.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)




---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
©2008 junlu.com - Jax Systems, LLC, U.S.A.