• OpenKM Cannot Login Error Message javax.servlet.ServletException: java.lang.ExceptionInInitializerErro

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #41536  by nanda_danis
 
Hellow
Help me please. OpenKM 6.3.0 error on Login. Application Error Class: org.apache.jasper.JasperException Error Message "javax.servlet.ServletException: java.lang.ExceptionInInitializerError". This is happen after i run apt-get update om my Ubuntu 14.04.1 LTS. Please help my. Thanks
 #41541  by jllort
 
We need to take a look at your catalina.log file ( sure there is an error what will help us understanding what's happening in your environement ).
1- stop openkm
2- delete all files into $TOMCAT_HOME/logs
3- start openkm
4- try to login
5- post here into zip file the catalina.log file
 #41553  by jllort
 
Seems you have stopped the application incorrectly ( computer power shutdown or similar issue ) what caused the lucene searh engine was not stopped correctly.

Can try two things:
1- Only remove the two write lock files at ( with application stopped )
/opt/tomcat/repository/index/com.openkm.dao.bean.NodeBase/write.lock
/opt/tomcat/repository/index/com.openkm.dao.bean.NodeDocumentVersion/write.lock

2- stop application
remove entire /opt/tomcat/repository/index/ ( folder )
start application
go to adminitration -> tools -> Rebuild indexes -> Rebuild search indexes ( for rebuild the search engine )
 #41555  by nanda_danis
 
Thanks Mr Jllort. I have try these two option. Option 1 seems cannot solved the problem the browser doesnt display anything and there is no error message. Option 2 still cannot solve the problem,the browser display text "ERROR" but no error message.

And then I try to combine option 2.
1.After i remove entire /opt/tomcat/repository/index/ i start my aplication.
2.stop aplication
3.copy my old /opt/tomcat/repository/index/com.openkm.dao.bean.NodeBase and /opt/tomcat/repository/index/com.openkm.dao.bean.NodeDocumentVersion
(except 2 file write.lock file segmen.gen and old segmen_*) to /opt/tomcat/repository/index/
4.start aplication again

and the login page succesfully displayed.
But Mr Jllort i can't find this menu adminitration -> tools -> Rebuild indexes -> Rebuild search indexes ( for rebuild the search engine )
and the application run slower than before.
 #41557  by jllort
 
If you remove index is not good idea, copy partial data again, is better entire rebuild.
In the administration at top righ, you have tools menu, into you should found a button name Rebuild indexes.

About performance why do you consider is going slower ? Which behavior is the cause you think it ?

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.