In Windows XP the problem is in the Services* when you try to install Tomat 6 from Windows Service Installer (pgp, md5) from
|http://tomcat.apache.org/download-60.cgi?]This problem usually appear too when you install postgres or mySQL too (server-service applications)
When you install Tomcat there are one moment of the installation that Tomcat needs create a Service named Tomcat Apache ,
but detect that there are yet a service(with the same name) "Tomcat Apache" active (from a another installation you'd install before ,maybe 4 or 5.5 version ,if is the first time you someone install in the computer you don't see this error) and produce this message:
Failed to install Tomcat6 service. Check your settings and permissions. Ignore and continue anyway (not recommended)?
*[Abort] [Retry] [ Ignore]*
The solution : Delete the previous service "Tomcat Apache"
How to ? It's not very easy delete a service , but yes, we can ;)
0. See if this "Apache Tomcat" service exist... run services.msc and see in the list
1. If exist , run regedit.exe
2. Go to : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
3. Delete all the Key named Tomcat (folder icon)
4. Reboot the System
To everybody on this thread who mentioned the missing DLL under windows\system32, a MIILLION thanks ! I have been banging my head on this issue for a week. The time you take to document fixes and workarounds is appreciated.
In my case, even though basi1302's suggestion worked for me, I think fightertom36's solution was THE solution that made sense to me. I upgraded Tomcat5.5 to Tomcat6 and worked flawlessly for several months and I decided to clean up Java jdks and jres, 1.6.02, 1.6.07, etc. I am on 1.6.11 JDK and JRE. My problem started when I deleted these old jdks and jres.
Thanks to fightertom36. Your solution made a perfect sense and fixed my problem for good.
I ran into trouble getting the windows service version of Tomcat 6 to work on my Vista machine. During installation, a message would pop up. I tried the excellent suggestions in this thread without luck. The sysinternals proc mon advice was brilliant, but couldn't see the error in those log messages.
After a lot of frustrating experimentation, I read somewhere that you cannot have to tomcats installed as windows services on one machine. I uninstalled my old tomcat5, then tried tried tomcat6 and it worked perfectly.
I run Windows Server 2008 Standard Edition 64-bit with Java 6u20 64-bit. Tried to install 64-bit Tomcat (downloaded apache-tomcat-6.0.26-windows-x64.zip) . When I did "service.bat install", the install was successful. However, my attempt to send command "net start Tomcat6" failed, showing messages
The Apache Tomcat 6 service is starting.
The Apache Tomcat 6 service could not be started.
A service specific error occurred: 0.
More help is available by typing NET HELPMSG 3547.
I think the reason is 64-bit system, because I tried the same with Windows Server 2008 32-bit and it simply worked. I even was able to install multiple tomcats as a service on x86, just typed "service.bat install [service name]", also changed the port numbers in the server.xml. (Don't try to invent service names with underline or spaces - it won't work! - get by with letters and numbers).
Fighting the 64-bit system was waste of time to me. Nothing I tried was to help, including suggestions in this forum.
serrzh, welcome to the forum. Please don't post in threads that are long dead and don't hijack another poster's thread. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.