Hi
I am using Bonita5.2 and the Tomcat6.0.19
I exported the application(which gives a war file and some config file and libraries) and deployed in the tomcat. When I run the application, after the login page, I get the error
description The server encountered an internal error () that prevented it from fulfilling this request. exception java.lang.SecurityException: Unable to locate a login configuration com.sun.security.auth.login.ConfigFile.(Unknown Source) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) java.lang.reflect.Constructor.newInstance(Unknown Source) . . . .
Before starting tomcat I run a bat file with the following content:
set BONITA_OPTS="-Dorg.ow2.bonita.environment=d:\Tomcat6.0\conf\bonita-environment.xml" set LOG_OPTS="-Djava.util.logging.config.file=d:\Tomcat6.0\conf\logging.properties" set SECURITY_OPTS="-Djava.security.auth.login.config=d:\Tomcat6.0\conf\jaas-standard.cfg" set JAVA_OPTS=%JAVA_OPTS% %LOG_OPTS% %SECURITY_OPTS% %BONITA_OPTS%
I guess this error is because the jaas config file is not found. But I am sure about the paths I have mentioned.
What else could be that I am missing to configure for jaas?
Thanks
I have resolve this problem. I needed to put the jaas cnfig file path in the file
JAVA_HOME\jre6\lib\security\java.security
Thanks