Page 1 of 1

Unable to login to the application

PostPosted:Fri Dec 11, 2009 8:59 am
by ravinauluri
Hi,

i have successfully deployed the application in jboss4.2.2 server, i can able to see the login page on the browser, but i am unable to login to the application, their is a authentication error like below.
Code: Select all
14:04:10,328 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)
In the Database no tables are created while running the application. Please how to resolve this problem.

Thanks in Advance...........................

Re: Unable to login to the application

PostPosted:Fri Dec 11, 2009 10:05 am
by pavila
This problem is related con JBoss login configuration. I recomend you to download the JBoss-OpenKM bundle which is already configured and ready to use.

Re: Unable to login to the application

PostPosted:Fri Dec 11, 2009 10:09 am
by ravinauluri
Thanks for the quick reply... i wil try with ur suggestion.

Re: Unable to login to the application

PostPosted:Fri Dec 11, 2009 11:33 am
by ravinauluri
Hi Pavila,

i was tried with the JBoss-OpenKM bundle, still unable to login into the application.

i have setup the developer environment for openkm application, after that i have modified database connectivity. i am using MySQL. in the schema no tables are created.

i want to know where the username and password compares the system.

if you don't mine, can you tell me the complete procedure to setup the openkm application and mysql connectivity.
how to create new users in the application....

waiting for Your reply :lol:

Re: Unable to login to the application

PostPosted:Sat Dec 12, 2009 8:03 pm
by pavila
Actually, changing the database backend is not an easy task. We want to make more configurable in a near future OpenKM release. I have to document the process because is a bit complex. I will try to document the needed changes, but not sure if this week :roll:.

Anyway, why do you need this configuration?

Re: Unable to login to the application

PostPosted:Sun Dec 13, 2009 3:54 pm
by ravinauluri
Thanks for your reply.


i am trying to setup the development environment in my machine and trying to change some code in the source code.

please provide me some documentation related to this setup.

I am very thank full for your quick reply.

Re: Unable to login to the application

PostPosted:Mon Dec 14, 2009 10:17 am
by pavila
We are going to release the new OpenKM 4.0 in a few days and in this version is easier to setup the development environment. Stay tunned! :D