• Can't login to OpenKM 4.1 with new user

  • 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.
 #5559  by kpatil
 
Hi,

I am getting following errors, while trying to login to OpenKm with newly created user account:
Code: Select all
[root@fedora11 bin]# 12:11:58,315 ERROR [DirectAuthModule] okm:home
javax.jcr.PathNotFoundException: okm:home
        at org.apache.jackrabbit.core.NodeImpl.getNode(NodeImpl.java:2478)
        at es.git.openkm.module.direct.DirectAuthModule.loadUserData(DirectAuthModule.java:198)
        at es.git.openkm.module.direct.DirectAuthModule.login(DirectAuthModule.java:136)
        at es.git.openkm.module.direct.DirectAuthModule.login(DirectAuthModule.java:300)
        at es.git.openkm.api.OKMAuth.login(OKMAuth.java:65)
        at org.apache.jsp.es_git_openkm_frontend_Main.index_jsp._jspService(index_jsp.java:59)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
        at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
        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:636)
Login page just prints:
okm:home
Go to login page
and no other information.


Can anyone help?

Thanks.

regards,
Kamlakar
 #5560  by jllort
 
1- it's a fresh OpenKM installation ?
2- appears any error on starting up jboss server ?

If it's possible to you, delete repository ( if you've not got information there ). I recommend delete repository folder and starting jboss, it'll create new repository ( any repository information it'll be lost ) .... seems first time starting when repository is created something has gone bad ... take care with user you starting jboss must have creation grants under jboss folder.
 #5561  by kpatil
 
Thanks for reply.

Yes, it was fresh installation.

I deleted the repository and created again. It seems working now.

Earlier I had created new user with AdminRole priviledge and then created other users with that admin user and not with okmAdmin. This time I created all users using okmAdmin account and it seems working.

regards,
Kamlakar
 #5562  by jllort
 
Important roles are AdminRole and UserRole, as you read in wiki.openkm.com pay special atention to UserRole ( is a connection role ) that must not be propaged to repository.

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.