4 Replies Latest reply on Dec 21, 2005 11:09 AM by jobbyjoseph

    Security error after migrating to 4.0.3

    ghan

      Hi,

      I'm migrating our application from 4.0.1 SP1 to 4.0.3. I've applied our application specific changes to the 4.0.3 configuration files: server.xml, jboss-web.xml, and login-config.xml. The app can start but when I attempt a login, I get

      ERROR [JaasSecurityManagerService] Failed to create sec mgr
      java.lang.NullPointerException
      at org.jboss.security.plugins.JaasSecurityManagerService.newSecurityDomainCTX(JaasSecurityManagerService.java:527)...

      I can't seem to find anything obvious that would cause this. I've specified a security domain in the jboss-web.xml. I've also specified the corresponding application policy in login-config.xml. I have not modified jboss-service.xml but I have verified that there are SecurityConfig, XMLLoginConfig, and JaasSecurityManager mbeans configured.

      Are there changes to how security is configured in 4.0.3 that I may be missing?

      Thanks