New installation Failed to load users/passwords/role files

847 views
Skip to first unread message

GOKHAN DILEK

unread,
Jun 18, 2014, 9:27:36 AM6/18/14
to dcm...@googlegroups.com
Hi there,

I have just finalised a fresh install
dcm4chee-2.17.1-psql /postgresql 9.3

I can see the login screen but I cannot login with admin/admin. 

I have reset the password using the sql command which did not make any difference.

I was looking at the logs and found  the logs below:

I would appreciate If you could please let me know what would be causing this.
Thank you.
2014-06-18 21:24:18,809 DEBUG [org.jboss.security.plugins.JaasSecurityManager.dcm4chee] CallbackHandler: org.jboss.security.auth.callback.SecurityAssociationHandler@8b8ec8
2014-06-18 21:24:18,809 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Created securityMgr=org.jboss.security.plugins.JaasSecurityManager@10945e1
2014-06-18 21:24:18,809 DEBUG [org.jboss.security.plugins.JaasSecurityManager.dcm4chee] CachePolicy set to: org.jboss.util.TimedCachePolicy@1caeba0
2014-06-18 21:24:18,809 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] setCachePolicy, c=org.jboss.util.TimedCachePolicy@1caeba0
2014-06-18 21:24:18,809 DEBUG [org.jboss.security.plugins.JaasSecurityManagerService] Added dcm4chee, org.jboss.security.plugins.SecurityDomainContext@1335e80 to map
2014-06-18 21:24:18,809 ERROR [org.jboss.security.auth.spi.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:315)
 at org
.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
 at org
.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
 at org
.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
 at sun
.reflect.GeneratedMethodAccessor113.invoke(Unknown Source)
 at sun
.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java
.lang.reflect.Method.invoke(Method.java:606)
 at javax
.security.auth.login.LoginContext.invoke(LoginContext.java:744)
 at javax
.security.auth.login.LoginContext.access$000(LoginContext.java:203)
 at javax
.security.auth.login.LoginContext$4.run(LoginContext.java:690)
 at javax
.security.auth.login.LoginContext$4.run(LoginContext.java:688)
 at java
.security.AccessController.doPrivileged(Native Method)
 at javax
.security.auth.login.LoginContext.invokePriv(LoginContext.java:687)
 at javax
.security.auth.login.LoginContext.login(LoginContext.java:595)
 at org
.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
 at org
.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
 at org
.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
 at org
.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:491)
 at org
.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:257)
 at org
.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:416)
 at org
.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
 at org
.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at org
.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at org
.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
 at org
.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org
.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
 at org
.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 at org
.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 at org
.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
 at java
.lang.Thread.run(Thread.java:745)
2014-06-18 21:24:22,379 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] Periodic recovery - first pass <Wed, 18 Jun 2014 21:24:22>
2014-06-18 21:24:22,379 DEBUG [com.arjuna.ats.arjuna.logging.arjLogger] StatusModule: first pass
2014-06-18 21:24:22,379 DEBUG [com.arjuna.ats.txoj.logging.txojLoggerI18N] [com.arjuna.ats.internal.txoj.recovery.TORecoveryModule_3] - TORecoveryModule - first pass
2014-06-18 21:24:22,379 DEBUG [com.arjuna.ats.jta.logging.loggerI18N] [com.arjuna.ats.internal.jta.recovery.info.firstpass] Local XARecoveryModule - first pass



GOKHAN DILEK

unread,
Jun 18, 2014, 10:07:25 AM6/18/14
to dcm...@googlegroups.com
Solution:

Replaced the jboss-login xml and the issue is resolved.

 at org
.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.<span s
...
Reply all
Reply to author
Forward
0 new messages