Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[Wtp-wst-dev] Using JAVA_OPTS in tomcat

Title: Using JAVA_OPTS in tomcat

How can Java properties be provided to the tomcat startup?

I have set the following environment variable: JAVA_OPTS=-Dcom.lmig.was.environment=local.

If I start tomcat outside of eclipse, this system property is available.  But if I start tomcat inside of Eclipse, the system property is not available.

Opening the server configuration in Eclipse does not appear to expose any way to declare these properties or tell Eclipse to read the JAVA_OPTS environment variable.

I am using Eclipse 3.1.0 (build I20050219-1500) with version 1.0 of WTP and Tomcat 4.1.3 on a Windows platform.



Back to the top