title: java.lang.SecurityException: Unable to locate a login configuration
body: <p>Hi<br/>
  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 </p>
  
  <pre>
  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)
           .
           .
           .
           .
  </pre>
  
  <p>Before starting tomcat I run a bat file with the following content:</p>
  
  <pre>
  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%
  </pre>
  
  <p>I guess this error is because the jaas config file is not found. But I am sure about the paths I have mentioned.</p>
  
  <p>What else could be that I am missing to configure for jaas?</p>
  
  <p>Thanks</p>