Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

install tomcat service in services.msc

i have already installed tomcat service with old tomcat path..

Now i want to configure it with latest tomcat and install new service instead of old one..

problem is that i have deleted old tomcat version and services.msc have tomcat's old path.

as D:\Tomcat_5_5_27\bin\tomcat5.exe //RS//Tomcat5

above one is deleted from machine.

now i m going to install latest version service as

D:\tomcat6\bin> service.bat install

it gives error like

Installing the service 'Tomcat6' ...
Using CATALINA_HOME:    D:\apache-tomcat-6.0.14
Using CATALINA_BASE:    D:\apache-tomcat-6.0.14
Using JAVA_HOME:        C:\Program Files\Java\jdk1.6.0_13
Using JVM:              C:\Program Files\Java\jdk1.6.0_13\jre\bin\server\jvm.dll

Failed installing 'Tomcat6' service

any suggestion ?

like image 901
Sweety Avatar asked Oct 10 '22 10:10

Sweety


1 Answers

My thoughts would be to first try running the service.bat remove script to try and remove the service using the Tomcat6 files.

Failing that try downloading a fresh copy of Tomcat5 and removing the service. I have done this with multiple downloads of Tomcat6 successfully.

like image 53
Klee Avatar answered Oct 15 '22 09:10

Klee