Page 1 of 1

OpenKm.war Error Message When Try To Deploy

PostPosted:Tue Apr 23, 2013 12:47 pm
by lucaseraphin
Hello Everobody,

ubuntu server 12.10
tomcat 7
mysql server 5

I've try to install openkm 6.2.3 on an existing tomcat installation (tomcat7).
I have upload the openkm.war on the tomcat manager app but when it try to deploy , i have this error message :
Code: Select all
avr. 23, 2013 2:20:55 PM org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Erreur lors du déploiement de l'archive /var/lib/tomcat7/webapps/OpenKM.war de l'application web
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/OpenKM]]
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:904)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:722)
thanks for your help

Re: OpenKm.war Error Message When Try To Deploy

PostPosted:Tue Apr 23, 2013 8:10 pm
by pavila
The better option is to use the Tomcat + OpenKM bundle.

Re: OpenKm.war Error Message When Try To Deploy

PostPosted:Tue Apr 23, 2013 9:11 pm
by jllort
as says pavila we have not documented how to install on existing tomcat. Meanwhile we do not make this kind of documentation I suggest install on tomcat bundle. For example install on tomcat from ubuntu repository is not trivial task, there're a lot of files etc... that should be copied in several places.

Re: OpenKm.war Error Message When Try To Deploy

PostPosted:Thu Jul 11, 2013 4:46 pm
by eshreve
I was able to deploy to Tomcat 7.0.42 using the following steps:

Downloaded OpenKM Tomcat bundle and unzipped to directory "OKM"
Downloaded the version of tomcat in the bundle directly from Apache and unzipped to directory "AT"

Compared "OKM" and "AT" folders. Copied over all files that existed in OKM but not in AT to my Tomcat 7.0.42 install (mostly /lib files, the okm WAR file, and the okm config files).
Then I looked at the comparison of the configuration files (web.xml, server.xml, etc...) that were different between OKM and AT. I copied the differences into my configuration files for my installed tomcat.
I then commented out the "mail/OpenKM" resource as I don't need email capability.

Since I'm using mysql/mariadb I then followed the instructions here:
http://wiki.openkm.com/index.php/MySQL_-_OpenKM_6.2

I then restarted my install of Tomcat which automatically deployed OpenKM.

Re: OpenKm.war Error Message When Try To Deploy

PostPosted:Mon Jun 30, 2014 11:22 pm
by alex_ca
Can anyone please provide instruction of how to install OpenKM on existing tomcat6 or tomcat7? I already have tomcat installed on my system and I cannot use OpenKM with it.

Thanks,

Re: OpenKm.war Error Message When Try To Deploy

PostPosted:Fri Jul 04, 2014 6:24 pm
by jllort
I think you can use it http://wiki.openkm.com/index.php/Config ... ce_windows show how to install tomcat downloaded from apache website on windows and then copy and modify files from openkm tomcat bundle to get openkm running