Page 1 of 1

ClassNotFoundExeption: Com.openkm.servlet.sessionListener

PostPosted:Thu Apr 18, 2013 9:26 pm
by bbart
This is a windows 7 32 bit installation @ C:\openkm\...

It will not deploy the webapp.
I'm lost please help

Re: ClassNotFoundExeption: Com.openkm.servlet.sessionListene

PostPosted:Fri Apr 19, 2013 2:14 pm
by bbart
Latest version of OpenKM

Re: ClassNotFoundExeption: Com.openkm.servlet.sessionListene

PostPosted:Sun Apr 21, 2013 6:31 pm
by jllort
Normally that happens because you got less memory than is assigned in JVM and when tomcat start in some moment stops to loading classes. Change the setenv.bat, divide values by 2 ( 2048 to 1024 etc... )
What amount of memory do you have ?

Re: ClassNotFoundExeption: Com.openkm.servlet.sessionListene

PostPosted:Sun Apr 21, 2013 9:06 pm
by pavila
If you are trying the trial, get the last one (6.2.14)

Re: ClassNotFoundExeption: Com.openkm.servlet.sessionListene

PostPosted:Mon Apr 22, 2013 2:39 pm
by bbart
I had done what you suggested in other threads (dividing the memory allocations by 2) but that didn't work.

The Tomcat service is launching (i.e. localhost returns the main tomcat launch screen). But looking at the log files it cannot find the session listener.

Anymore idea would be greatly appreciated.

Re: ClassNotFoundExeption: Com.openkm.servlet.sessionListene

PostPosted:Mon Apr 22, 2013 3:07 pm
by bbart
Soooo I may have some more information. I opened the openkm.War in notepad++ and did a search on sessionlistener and went to the directory (WEB-INF/classes/com/openkm/servlet/) that it said and there doesn't seem to be anything in the directory except for an admin folder with nothing in it and a frontend folder also with nothing in it.

This made me start looking around and the classes and deploy folders are both of size 0bytes.
Is this correct??????

Re: ClassNotFoundExeption: Com.openkm.servlet.sessionListene

PostPosted:Mon Apr 22, 2013 3:51 pm
by bbart
In the interest of helping someone else out I figured out what happened. Somehow the initial .WAR deploy was getting interrupted and was not writing all of the files to there correct locations!! It just so happens that one of the first things that tomcat looks for when trying to start openkm is sessionlistener.class and one of the last things to be written on deploy is these classes.

The moral of the story is let the thing deploy all the way!!!! If the process was started delete the openkm folder in C:\OpenKm\tomcat\webapps and let it take the 25 or so min to deploy properly.

Thanks for all of the help with this mods I'm sure I was the problem!!!!