DEVFYI - Developer Resource - FYI

Run Tomcat with a Security Manager?

Java Interview Special Tips


(Continued from previous question...)

14. Run Tomcat with a Security Manager?

To run Tomcat with a security manager, you must add your own policy lines to the catalina.policy file—like when you build a SecurityManager.
The catalina.policy file can be found here:
<TOMCAT INSTALL>\Apache Group\Tomcat 4.1\conf\
After you modify this file, run Tomcat from the comand prompt like this:
<TOMCAT INTALL>\Apache Group\Tomcat 4.1\bin>catalina start -security
Please note that, if you run Tomcat without the -security option, your modifications will have no effect.

(Continued on next question...)

Other Interview Questions