Can't Start Tomcat 5.5.9 as Service with Security Manager Enabled.
I've installed Tomcat 5.5.9 and the default webapps run fine without the Security Manager enabled. I can even run the catalina start -security from the console and everything works fine (so I think the default catalina.policy is fine), but for the life of me, I can't figure out how to start the service with the Security Manager enabled.
I've tried adding all kinds of combinations of -security within the Tomcat5w console with no successful results. I've set all logging parameters to FINE and I've enabled security debugging (-Djava.security.debug=all) but all I get within the logs is the following:
From jakarta_service log:
[2005-10-04 10:35:27] [info] Running Service...
[2005-10-04 10:35:27] [info] Starting service...
[2005-10-04 10:35:28] [info] Service started in 1250 ms.
[2005-10-04 10:35:28] [info] Run service finished.
[2005-10-04 10:35:28] [info] Procrun finished.
And from the stderr log:
jar: beginEntry META-INF/MANIFEST.MF
jar: done with meta!
jar: nothing to verify!
scl: getPermissions ProtectionDomain (file:/d:/Program Files/Apache Software Foundation/Tomcat 5.5/server/lib/catalina.jar <no signer certificates>)
org.apache.catalina.loader.StandardClassLoader@4413ee
<no principals>
java.security.Permissions@2808b3 (
(java.io.FilePermission \d:\Program Files\Apache Software Foundation\Tomcat 5.5\server\lib\catalina.jar read)
)
scl:
scl: getPermissions ProtectionDomain (file:/d:/Program Files/Apache Software Foundation/Tomcat 5.5/server/lib/tomcat-util.jar <no signer certificates>)
org.apache.catalina.loader.StandardClassLoader@4413ee
<no principals>
java.security.Permissions@b5f53a (
(java.io.FilePermission \d:\Program Files\Apache Software Foundation\Tomcat 5.5\server\lib\tomcat-util.jar read)
)
scl:
The remaining logs are empty and there isn't anything within the Event Viewer logs.
I'm trying this on both a win2003 box as well as my personal XPSP2 box.
Because of security concerns, I need this to be a service.
If anyone can point me in a direction (useful or not) I'd greatly appreciate it.
Thanks in advance.