Page 1 of 1

Installed on Tomcat7 from WAR and failed to Start

PostPosted:Tue Mar 12, 2013 11:50 am
by Angel
Hi there

I have an x64 windows machine
I installed the Tomcat 7 server win jre1.6 and the wellcome screen is working
to avoid the "Space in the path" problem I have created in c:\ the ProgramFiles director.
Started Tomcat Web Application Manager and installde from the war file. with Ok message.
When i want to start OpenKM i have the following message:
FAIL - Application at context path /OpenKM could not be started
FAIL - Encountered exception org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/OpenKM]]

Please help
Angel

Re: Installed on Tomcat7 from WAR and failed to Start

PostPosted:Tue Mar 12, 2013 1:46 pm
by Angel
Uniinstalled everything and used the following approach suggested in another thread and it worked:

Re: Unable to create Windows Tomcat Service
by jllort ยป Wed Mar 06, 2013 9:56 pm

The description in wiki is a fast way to configure tomcat, in your case I think the idea should be:
1- intall openkm at -> c:\openkm -> which will contains folder tomcat
2- rename c:\openkm\tomcat to tomcat_old
3- use tomcat installer and install to c:\openkm\tomcat
4- test start / stop service
5- ( with tomcat service stopped ) copy all contents into c:\openkm\tomcat_old to c:\openkm\tomcat

As you can see it's not a very clean and professional way to get tomcat installed as service, but is the easiest I can suggest now. The other way is described in tomcat website page where's indicated how register tomcat using command line tool ( more complex and needs understanding where's java path etc... )