Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Java
Expertise: Intermediate
Mar 21, 2006

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.

Leonard Anghel
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap