Q:

Cant get Tomcat6.0 to work with Windows 7 Environment

Prior to upgrading to windows 7, I was able to use Tomcat 6.0, but when I upgraded to the new Windows, and downloaded Eclipse EE, and downloaded the apache content, I am unable to get Apache to run. When I attempt to start my apacher server through either system tray, or even windows services, it gives the followign error screen.
"Windows could not start the Apache Tomcat 6 on local computer. For more information review 
the system event log. Refer to server specific error code 0."
I have been able to locate some forums about error code 0, and some other documentation on this problem, but none of the solutions seems to work. 
One of the solutions I came across said to take the msvcr71.dll (mscvrt.dll on new platforms) and put it into the bin folder of apache. This also did not work.
Does anybody know a fix for this problem, or a way to get around it so I can get my server up and running thanks.

A:

"Windows could not start the Apache Tomcat 6 on local computer. For more information review the system event log. Refer to server specific error code 0."

I have had exactly this problem when running Tomcat on Windows 2003 server. Final solution was to configure Tomcat to use C:\Path\To\jre6\bin\client\jvm.dll as JVM through the Java tab of its properties which you can open by doubleclicking the system tray icon. I unfortunately don't recall anymore what dll file it pointed before, but it was wrong. See if that helps.

