Hi all,
I have a simple question, but I am not able to resolve alone; when I enter user 
and name, I get this exception:

21:14:28,001 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role 
files 
java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found 
at org.jboss.security.auth.spi.Util.loadProperties(Util.java:249) 
at 
org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:164)
 
at 
org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:111)
 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
at java.lang.reflect.Method.invoke(Method.java:324) 
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:662) 
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129) 
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610) 
at java.security.AccessController.doPrivileged(Native Method) 
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607) 
at javax.security.auth.login.LoginContext.login(LoginContext.java:534) 
at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:483)
 
at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:425)
 
at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:251)
 
at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:230)
 
at 
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:256)
 
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:391)
 
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) 
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
 
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856) 
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
 
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
 
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
 
at java.lang.Thread.run(Thread.java:534) 

I tryied to create a roles users properties file, than I put it in one of the 
jboss folder, but it doesn't work.
could someone help me?

Thank you very much

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881398#3881398

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881398


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to