Working in Eclipse on a Dynamic Web Project (using Tomcat (v5.5) as the app server), is there some way I can configure things so Tomcat will start with security turned on (i.e. as if I ran catalina.sh start -security)?
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.
Go into ‘Window’ -> ‘Preferences’ then select ‘Java’ -> ‘Installed JREs’, clone the JRE used by Tomcat and add the following to the default VM Arguments
With XXXX replaced by the appropriate path – Mine was
C:\Program Files\Apache Software Foundation\Tomcat 5.5). Then change the JRE name (I added ‘security enabled’ to the end) and click ‘Finish’.After that, open ‘Server’ -> ‘Runtime Environments’ in the preferences, and select your Apache Tomcat environment, then click the ‘Edit…’ button. In the resulting window, select the new security enabled JRE, then click ‘Finish’ and restart Tomcat.