Win2k service & java.policy configuration
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