• OpenKm.war Error Message When Try To Deploy

  • Problems with installing OpenKM? No problemo, the solution is closer than you think.
Problems with installing OpenKM? No problemo, the solution is closer than you think.
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.
 #22653  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
 #22673  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.
 #23874  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.
 #29111  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,

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.