2010/11/19 Richard Pless <rfpl...@gmail.com>: > I have removed one of the Tomcat directories and I'm down to just > c:\oc\tomcat. I've also used "Java -version" to confirm that I am using the > 64 bit version of Java 1.6.0_22. I've opened Tomcatw.exe and specified the > JVM as 'C:\Program Files\Java\jdk1.6.0_22\jre\bin\server\jvm.dll' rather > than the default but it still won't start. >
c:\oc\tomcat\bin>service.bat install Installing the service 'Tomcat6' ... Using CATALINA_HOME: "C:\oc\tomcat" Using CATALINA_BASE: "C:\oc\tomcat" Using JAVA_HOME: "c:\Program Files\Java\jdk1.6.0_22" Using JVM: "c:\Program Files\Java\jdk1.6.0_22\jre\bin\server\jvm.dll" Failed installing 'Tomcat6' service a) You certainly need to start cmd.exe console "As Administrator". (I see you did that). b) You cannot install the service twice with the same name. (The second and later attempts will fail with the same generic message as above). Try "service.bat remove" first. Verify that it is not listed as a service (in the Control Panel of Windows). (I had several times when uninstall did not complete until I rebooted). Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org