> From: Chris Brookes [mailto:cabb...@hotmail.com] > Subject: Tomcat 6.0.18 on Win32 - Enabling Security Manager
> However, when I install Tomcat there is no such program as "catalina" > in the bin directory so I can't run it like that. The .bat scripts are only part of the .zip download, not the .exe (for unexplained reasons). One normally uses the startup.bat script to launch Tomcat, which does some necessary setup, then calls the catalina.bat script, which does the real work of getting Tomcat going. > Using the Tomcat monitor application there is a tab for startup and > there is an input box for arguments that by default contains 'start' > but if I try to add '-security' to this argument text box the service > fails to start at all. As it should. To use the Java tab in tomcat6w.exe, you must specify the appropriate JVM arguments, rather than the options for the scripts. In other words, set the following: -Djava.security.manager -Djava.security.policy=<path_to_security_policy_file> The standard Tomcat policy is located in Tomcat's conf/catalina.policy file, but you're free to specify whatever location you need. > I am writing a Tomcat 6 on Windows hardening guide I must say that the nature of your questions leaves me with some concern about the content of your guide... - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org