Page 1 of 1

Not able to Log in - org.apache.jasper.JasperException

PostPosted:Tue Apr 18, 2017 6:55 am
by dgipr
Hi,

I think my operator switched off the machine in between and then i am not able to log in.
Getting the following error.
Code: Select all
Application error
Class:	org.apache.jasper.JasperException
Message:	javax.servlet.ServletException: java.lang.ExceptionInInitializerError
Date:	Tue Apr 18 11:47:38 IST 2017
Kindly assist.

Regards
Anup

Re: Not able to Log in - org.apache.jasper.JasperException

PostPosted:Tue Apr 18, 2017 7:08 am
by dgipr
hi,

There is following error in the Java console

Index.curruptIndexExcepion : document count mismatch

Kindly help.

Thanks
DGIPR

Re: Not able to Log in - org.apache.jasper.JasperException

PostPosted:Wed Apr 19, 2017 6:28 am
by jllort
We need to take a look at catalina.log ( or openkm.log from version 6.3.3 ) file where is shown the full stack trace log ( $TOMCAT_HOME/logs ). Please post here the stack trace log. Stop application, delete all log files. Start application and share the log with us.

Re: Not able to Log in - org.apache.jasper.JasperException

PostPosted:Wed Apr 19, 2017 9:36 am
by dgipr
Here is he Log file.
http://www.smartexcel.in/pdf/logs.rar
Kindy assist.

thanks
DGIPR

Re: Not able to Log in - org.apache.jasper.JasperException

PostPosted:Fri Apr 21, 2017 5:21 pm
by jllort
Seems your lucene index is corrupted:
Code: Select all
2017-04-19 14:56:04,681 [localhost-startStop-1] INFO  com.openkm.dao.HibernateUtil- Hibernate 'hibernate.search.default.indexBase' = C:\openkm-6.3.1-community\tomcat\repository\index
2017-04-19 14:56:10,635 [localhost-startStop-1] ERROR com.openkm.dao.HibernateUtil- could not init listeners
org.hibernate.HibernateException: could not init listeners
- Stop openkm
- Delete folder index
- Start openkm
- Go to administration > Tool> Rebuild indexex > Choose "Lucene index" -> click "execute" and wait until finished

Re: Not able to Log in - org.apache.jasper.JasperException

PostPosted:Wed Aug 29, 2018 6:15 am
by mamad
I had the same problem and it fixed by this solution