VMware VirtualCenter Management Webservices fails to start after installing or updating the vCenter server. Error messages similar to the following might be written to the Windows System Event log.
The VMware VirtualCenter Management Webservices service terminated with service-specific error 0 (0x0). After some investigation, I’ve found the following error in the Apache Tomcat log at C:\Program Files\VMware\Infrastructure\tomcat\logs[2009-12-27 20:57:15] [info] Procrun (2.0.4.0) started
[2009-12-27 20:57:15] [info] Running Service...
[2009-12-27 20:57:15] [info] Starting service...
[2009-12-27 20:57:15] [994 prunsrv.c] [error] Failed creating java
[2009-12-27 20:57:15] [1269 prunsrv.c] [error] ServiceStart returned 1
[2009-12-27 20:57:15] [info] Run service finished.
[2009-12-27 20:57:15] [info] Procrun finished.
When you’re encountering this error, just run "C:\Program Files\VMware\Infrastructure\tomcat\bin\tomcat6w.exe" //ES//vctomcat
If the path to the Java.dll is empty and C:\Program Files\VMware\Infrastructure\jre is empty, download the Java 2 Standard Edition Runtime Environment (JRE), release JRE 6 Update 17 or later from http://java.sun.com/j2se. Change the install path to C:\Program Files\VMware\Infrastructure\jre\
After that you have to select the option “Use default” in the Java tab at the VMware Virtual Management Webservices Properties and the service will start and function like a charm.