2 Replies Latest reply on Apr 1, 2002 1:56 PM by Allen Leung

    Failed to load users/passwords/role files

    Allen Leung Newbie

      I have upgraded my JBoss from JBoss-2.4.0_Tomcat-3.2.3 to JBoss-2.4.4_Tomcat-4.0.1. I use the users.properties file for FORM based security validation on the WEB application. It is working fine in JBoss 2.4.0, but the following error is produced after it is upgraded to 2.4.4. In 2.4.0 I add the path for the users.properties file into CLASSPATH and jBoss is successfully to locate it. But for 2.4.4 this action looks not working and it keeps on posting the following error when the application is accessed.

      Any hints.

      Thanks.

      Allen.

      [13:24:50,578,Default] JBoss-2.4.4 Started in 0m:13s.203
      [13:25:26,828,JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager@51b0a5
      [13:25:26,828,JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedCachePolicy@3ca754
      [13:25:26,828,example1] CachePolicy set to: org.jboss.util.TimedCachePolicy@3ca754
      [13:25:26,828,JaasSecurityManagerService] Added example1, org.jboss.security.plugins.SecurityDomainContext@dac21 to map
      [13:25:26,953,UsersRolesLoginModule] Failed to load users/passwords/role files
      java.io.IOException: Properties file users.properties not found
      at org.jboss.security.auth.spi.UsersRolesLoginModule.loadProperties(UsersRolesLoginModule.java:199)
      at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:180)
      at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:79)