• Unable to login to the application

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #3442  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...........................
Last edited by pavila on Wed Dec 16, 2009 12:13 am, edited 1 time in total. Reason: Code format
 #3443  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.
 #3445  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:
 #3446  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?
 #3447  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.
 #3450  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

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.