# tomcat-users mailing list archives

##### Site index · List index
Message view
Top
From "Ken Pawliw" <paw...@sympatico.ca>
Subject RE: How to use -security when running as a service under Windows.
Date Thu, 03 Nov 2005 15:06:04 GMT
Thanks to Bill Barker who supplied me with this advice a couple of weeks
ago...

Actually, what you need to do is to add to the Java Options section:
-Djava.security.manager
-Djava.security.policy==C:\path\to\tomcat\conf\catalina.policy

If you look in catalina.bat, you will see that this is what the script is
actually doing when you run it with the '-security' option.

Ken

-----Original Message-----
From: Donovan, JD [mailto:JD.Donovan@NielsenMedia.com]
Sent: November 3, 2005 9:26 AM
To: Tomcat Users List
Subject: RE: How to use -security when running as a service under
Windows.

You're going from OpenVMS to Windows?!?!? WHY?
Why go from the most secure system on the planet to the most exposed?
Just wondering?

jd
Sr.  Systems Engineer
OpenVMS Alpha Support Team
(813) 366-2359
"OpenVMS: When downtime is not an option"

-----Original Message-----
From: Andoni [mailto:andonilist@eurokom.ie]
Sent: Tuesday, November 01, 2005 2:36 PM
To: Tomcat Users List
Subject: How to use -security when running as a service under Windows.

Hello,

I am currently running Tomcat under OpenVMS by calling catalina.bat with
the -security switch to allow it to connect to several RMI servers.

Now that I am moving this app. to windows I want to be able to call the
same switch from my service-driven installation of Tomcat 4.1.
Unfortunately when I go to the properties of the service itself
everything is greyed out so that I cannot add any switches. Also the
program it is running is /bin/tomcat.exe.

What can I do to get this to run with -security option?

Andoni.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message