• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

tomcat 5.5 security manager problem

 
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using tomcat 5.5 for windows. I am trying to start security manager when tomcat is starting up.


The way I did is that:
c:\>$TOMCAT_HOME\bin\tomcat5 start -security


I cannot verify whether the security manger is up. Is there a way to verify this? (Actually I guess this may not be the right way to start the security manger) Can someone tell me how to do it?

The tomcat manual said that I need to start it like:
%CATALINA_HOME%\bin\catalina start -security.

But there is no executable called %CATALINA_HOME%\bin\catalina under the bin dir.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The script is named catalina.bat under Windows, and starting it with the "-security" flag is the right way to do it. The console output should then say something like "Using Security Manager".
 
david hu
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where is that .bat file?

I did not find any .bat file under any sub dirs of tomcat home.

By the way, I am using 5.5.9 of tomcat. Is there a specific version that has this .bat file?
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
They should be under the {tomcat install}/bin directory.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

The way I did is that:
c:\>$TOMCAT_HOME\bin\tomcat5 start -security




I start Tomcat5.5.9 with security on using the startup.bat file.
startup -security

The -security flag gets carried over into catalina.bat automatically from startup.bat.
Bill
[ June 29, 2006: Message edited by: William Brogden ]
 
I think she's lovely. It's this tiny ad that called her crazy:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic