How can I configure TomCat Java options in a config file?
Posted
by Kip
on Server Fault
See other posts from Server Fault
or by Kip
Published on 2009-10-29T18:01:21Z
Indexed on
2010/04/15
5:04 UTC
Read the original article
Hit count: 321
tomcat
|configuration
I'm trying to configure Java options passed into TomCat for a 3rd party application that I'm deploying. The instructions that the app provides are:
- Open the Tomcat configuration tool from the Windows menu at Start > All Programs > Apache Tomcat > Tomcat Configuration.
- Click Configure and select the Java tab.
- At the bottom of the Java Options field, enter the following:
-Dexample.license.directory="C:\Program Files\example"
- Stop and restart the application server.
However, I need to do this programmatically, so I'd like to know what config file these options can be set in. Using the GUI is impractical for deploying the app to other developers' environments.
(I'm using Tomcat 6.0 if that is relevant...)
© Server Fault or respective owner