Did you copy the users.properties and roles.properties from the sample into your jboss\conf\default directory (or jboss\conf\tomcat if you run jboss-tomcat bundle) ?
Annegret -----Ursprüngliche Nachricht----- Von: Ed Brown [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 30. Januar 2002 04:11 An: [EMAIL PROTECTED] Betreff: [JBoss-user] JAAS Example Not Working I'm trying to understand security in JBoss. I took the example from the JBoss-2.4.x PDF and stripped it down. When I run it, I get the following exception: Failed toload user/spasswords/role files java.io.IOException: Properties file usres.properties not found. <stack trace omitted> I have a client (not a servlet, jsp, or ejb) trying to connect to an EJB. The failure occured on the line lc.login() where lc is defined as LoginContext lc = new LoginContext("user", handler); java.security.auth.login.config property is defined and points to auth.conf. Any suggestions on this one? Looking at the archives shows previous errors like this, but no solutions to my case when the client is a "true client" and not a servlet or another EJB. TIA. Ed Brown _________________________________________________________________________ This mail sent via toadmail.com, web e-mail @ ToadNet - want to go fast? http://www.toadmail.com _______________________________________________ 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