Details
Description
Adding the following options in the start.ini:
--exec
-Djava.security.krb5.conf=C:\Program Files\Apache Software Foundation\Tomcat 5.5\krb5.conf
-Djava.security.auth.login.config=C:\Program Files\Apache Software Foundation\Tomcat 5.5\cas_jaas.conf
Causes the java jre to be spawned with the following command line args:
"-Djava.security.auth.login.config=C:\Program\ Files\Apache\ Software\ Foundation\Tomcat\ 5.5\cas_jaas.conf"
"-Djava.security.krb5.conf=C:\Program\ Files\Apache\ Software\ Foundation\Tomcat\ 5.5\krb5.conf"
(notice the extra escaping slashes which probably work fine under unix, but messes up windows)
JAAS fails to work with the options specified above.
If I move the files to a folder without spaces and change the start.ini then it works fine, eg:
-Djava.security.krb5.conf=C:\jaas\krb5.conf
-Djava.security.auth.login.config=C:\jaas\cas_jaas.conf
out of curiosity, what happens if you use this syntax in the start.ini?
-Djava.security.krb5.conf=C:/Program Files/Apache Software Foundation/Tomcat 5.5/krb5.conf
-Djava.security.auth.login.config=C:/Program Files/Apache Software Foundation/Tomcat 5.5/cas_jaas.conf
or you quote the start.ini sections?
"-Djava.security.krb5.conf=C:\Program Files\Apache Software Foundation\Tomcat 5.5\krb5.conf"
"-Djava.security.auth.login.config=C:\Program Files\Apache Software Foundation\Tomcat 5.5\cas_jaas.conf"