2 Replies Latest reply on Sep 3, 2003 7:57 AM by Peter Doornbosch

    war file in ear file problems

    Vincent B Fischer Newbie

      I've got a struts action that's trying to login to a Session bean. Both are contained in an ear file.

      I'm not sure where to put the auth.conf file. I put it in the WEB-INF/classes subdirectory. I get the follow error when I try to login:

      21:59:38,256 ERROR [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:212)

      I want to use my DatabaseServerLoginModule I have specified in my login-config.xml file.

      My auth.conf file contains:

      other // here specify "other" as default
      org.jboss.security.ClientLoginModule required;

      Thanks for any hints/suggestions/etc.