Page 1 of 1

Error while login to the application

PostPosted:Mon Dec 14, 2009 11:17 am
by ravinauluri
Hi
i have got this error while login to the application,

16:23:24,718 INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 1m:41s:984ms
16:23:35,671 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: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.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at javax.security.auth.login.LoginContext.invoke(Unknown Source)
at javax.security.auth.login.LoginContext.access$000(Unknown Source)
at javax.security.auth.login.LoginContext$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(Unknown Source)
at javax.security.auth.login.LoginContext.login(Unknown Source)
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.Http11AprProcessor.process(Http11AprProcessor.java:856)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508)
at java.lang.Thread.run(Unknown Source)


"UsersRolesLoginModule.java" file is not there in the source code.

can some one please tell me the reason... :P


Thanks in advance

Re: Error while login to the application

PostPosted:Tue Dec 15, 2009 7:36 am
by jllort
Which version are you using ? have you upgraded from older version ? because properties files were used in older versions but actually we've changed since 2 or 3.0 to store user data in database.

Re: Error while login to the application

PostPosted:Tue Dec 15, 2009 8:11 am
by ravinauluri
I am Using openKM3.0 version.

Re: Error while login to the application

PostPosted:Tue Dec 15, 2009 10:08 pm
by jllort
Have you changed something in /conf/login-config.xml. Please take a look there and put your OpenKM auth configuration that's present in your login-config.xml

It's this OpenKM a fresh OpenKM installation downloaded from sourceforge ?

Re: Error while login to the application

PostPosted:Wed Dec 16, 2009 3:53 am
by ravinauluri
ok

i wil check it once..


can u tell me the link for openkm4.0 version source code

thank you

Re: Error while login to the application

PostPosted:Wed Dec 16, 2009 7:34 am
by jllort
We're finally done the OpenKM 4.0 package, during this week we'll release to sourceforge. Now We're making some changes on web , features etc...

We've changed philosofy of releases now there will not be diferences between community and enterprise edition, simply we'll offering supporting for payment users, hope it'll be good news for communtiy users.

Please be patient during this 1-2 days.