A
Andy Fish
Hi,
My servlet (running on Win2000) uses a login config file specified in
%JAVA_HOME%/jre/lib/security/java.security:
login.config.url.1=file:/C:/Program Files/yadda yadda.../mylogin.cfg
I am using Tomcat 4.1. and Java 1.4.2. Everything works fine when I run
tomcat in a command window, but when I try to use the tomcat service, I get
java.lang.SecurityException: Unable to locate a login configuration
as soon as I try to do a JAAS authentication. I guess there must be
something different in the environment, but I've checked the environment
variables, and I'm running it as the same user (local administrator account)
Any ideas?
Andy
My servlet (running on Win2000) uses a login config file specified in
%JAVA_HOME%/jre/lib/security/java.security:
login.config.url.1=file:/C:/Program Files/yadda yadda.../mylogin.cfg
I am using Tomcat 4.1. and Java 1.4.2. Everything works fine when I run
tomcat in a command window, but when I try to use the tomcat service, I get
java.lang.SecurityException: Unable to locate a login configuration
as soon as I try to do a JAAS authentication. I guess there must be
something different in the environment, but I've checked the environment
variables, and I'm running it as the same user (local administrator account)
Any ideas?
Andy