Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Win2k service & java.policy configuration

843811Nov 19 2006
Hi,

Got tomcat 4 on Win2k performing unrestricted encryption/decryption using chosen provider. When I launch tomcat from the console as an application all works fine, both ways (enc/dec). When tomcat is started automatically as a win2k service at boot, it generates errors and fails to enc/dec with following exception:
.
java.security.NoSuchProviderException
.
Does anyone knows how to configure the java.policy file, the catalina.policy or whatever is necessary to allow the Win2k service (tomcat 4) using the runas "LocalSystem" account in Win2k to be able to read and execute java security methods (ie ....Cypher.getInstance("..blah, blah"), as per Java 1.4 security model.

Any suggestions and/or examples would be great. Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 17 2006
Added on Nov 19 2006
0 comments
94 views