> From: alphamanic [mailto:[EMAIL PROTECTED] > Subject: Simple Security Manager how to ? > > In the doc they are using the following command: > %CATALINA_HOME%\bin\catalina start -security (Windows) > But my bin directory does not contain catalina
You must have installed the .exe download, which for some inexplicable reason, does not include the startup & shutdown scripts. The .exe version is intended to be used to run Tomcat only as a Windows service; if you want to run it from scripts, download and install the .zip version. > Can someone please suggest where do i need to put -security? When running as a service, you don't use the -security flag - that's for the scripts only. Instead, add the following to Java Options on the Java tab of tomcat6w.exe: -Djava.security.manager -Djava.security.policy=<tomcat_installation_dir>/conf/catalina.policy I don't think there's a way to use variable substitution for the location of the security policy file, but I haven't experimented with it much. - 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 start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]