I’m manually running tomcat 6 as a windows service on the console. I need to change java_opts before starting it. How do I do that? Also, Is there a way I can see the logs dynamically?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To alter the
$JAVA_OPTS, you will probably need to edit the batch file you use to start Tomcat. I don’t run Tomcat on Windows, but the$JAVA_OPTSappears in mycatalina.shinside thebin/directory on my Linux installation.As far as viewing logs dynamically on Windows, there are a couple of options I’m aware of.
tail -f logfilenamelike you would in Linux.