Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to get a -D settings into the picture in a tomcat deployment on Windows with Windows Server packaging. So there are no bat files (let alone .sh files) to add it to.

Does it work to edit them into catalina.properties?

Is there some other recommended way?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

In your Windows system tray (bottom right corner next to the time) you should see an "Apache 6 Tomcat Service Configuration icon. Right click on this, click on the "Java" tab. Fill out your -D settings in the Java Options section. Doh. Just realized I have Tomcat 6.! I checked it out in Tomcat 5.0 and it has the same option so that should work.

share|improve this answer
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.