Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am running Apache Tomcat as a Windows Service under Windows 7. It is configured to run as connector using mod_jk. Hence I cannot use the "standard" Tomcat installer, since it ignore the mod_jk settings.

My registry contains an entry like:

Windows Registry Editor Version 5.00

"DisplayName"="Apache Tomcat 6"
"Description"="Apache Tomcat 6.0.32 Server -"


Now I am trying to deploy an application WAR that requires some Java System Property, specifically "appserver.base" and "appserver.home".

Where can I specify these properties in order to be picked up Tomcat?

(I already tried putting them into the CATALINA_OPTS environment variable and also under Tomcat6/Parameters/Java without luck)

share|improve this question
Have you read this?… --environment is what you are looking for. – fuero Jan 20 '13 at 10:29
@fuero Yes. I tried to use tomcat6.exe //US//Tomcat6 --JvmOptions="-Dsome.option=foo;-Danother.option=goo". Inspected the registry, nothing changed. After starting the server, the application still failed to initialize due to missing "appserver.base" system property. – Adrian Herscu Jan 20 '13 at 11:46
I finally managed to add these parameters by manually launching the tomcat6w.exe (as an Administrator). Still, where these settings are registered is a mystery to me... Any suggestion for where it might be documented? – Adrian Herscu Jan 20 '13 at 12:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.