When you get messages about the UserRolesLoginModule when you are trying to make a db connection in rc1, that means you haven't set up the security domain corresponding to your db config. DON'T try to set up the UserRolesLoginModule to solve this, it won't supply the info needed to make the db connection. Follow the instructions now in all the sample files in connector/src/etc/example-config.
Anyone have an idea on how to make a more useful error message occur? Thanks david jencks On 2002.04.18 13:08:34 -0400 Mike Finn wrote: > Does this ear file use JAAS? I wouldn't think you would see this unless > the > container was loading JAAS to satisfy some security constraint. Mine > doesn't. > > Looks like auth.conf stuff is now in login-config.xml (as of RC1?). And, > in > login-config.xml, the 'other' (ie the default) security domain is set up > to > use UsersRolesLoginModule, which reads users.properties and > roles.properties. BUT, there appears to be no such *.properties files in > RC1 > (or in HEAD). If the default behavior is going to be UsersRoles, then > there > probably should be a user and roles.properties file there - at least with > a > doc header. But then, I am pretty sure it's been this way all along (at > least since 2.4). > > Read the header comments in the source to see how this module works. It's > pretty simple: > http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jbosssx/src/main/org/jb > oss/security/auth/spi/UsernamePasswordLoginModule.java > Put the files in conf/default (or whatever). > > Mike > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Hunter > Hillegas > Sent: Thursday, April 18, 2002 12:25 AM > To: JBoss User > Subject: [JBoss-user] 3RC1 Requires users.properties File? > > > Just checked out a fresh copy of the 3.0RC branch and compiled. > > When deploying an EAR, I see this: > > 21:20:20,036 ERROR [UsersRolesLoginModule] Failed to load > users/passwords/role files > java.io.IOException: Properties file users.properties not found > > Is this file required? I've never used/seemed-to-need it before... What > should it contain? > > This sets off a long chain of exceptions that all imply that required > security is not present. > > Thanks, > Hunter > > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user