Webservices fails with error: "Failed creating java C:\Program Files\VMware\Infrastructure\jre\\bin\server\jvm.dllagement services" after installing vCenter Server
search cancel

Webservices fails with error: "Failed creating java C:\Program Files\VMware\Infrastructure\jre\\bin\server\jvm.dllagement services" after installing vCenter Server

book

Article ID: 308801

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • VMware VirtualCenter Management Webservices fails.
  • VMware VirtualCenter Management Webservices fail to start after installing vCenter Server.
  • The Tomcat service log (located at %Program Files%\VMware\Infrastructure\tomcat\logs) contains entries similar to:

    • [YYYY-MM-DD 20:05:25] [info] Procrun (2.0.4.0) started
      [YYYY-MM-DD 20:05:25] [info] Running Service...
      [YYYY-MM-DD 20:05:25] [info] Starting service...
      [YYYY-MM-DD 20:05:25] [174 javajni.c] [error] The specified module could not be found.
      [YYYY-MM-DD 20:05:25] [994 prunsrv.c] [error] Failed creating java C:\Program Files\VMware\Infrastructure\jre\\bin\server\jvm.dllagement services.
      [YYYY-MM-DD 20:05:25] [1269 prunsrv.c] [error] ServiceStart returned 1
      [YYYY-MM-DD 20:05:25] [info] Run service finished.
      [YYYY-MM-DD 20:05:25] [info] Procrun finished.

    • [error] %1 is not a valid Win32 application.
      [error] Failed creating java C:\Program Files (x86)\Java\jre6\bin\client\jvm.dll
      [error] %1 is not a valid Win32 application.
      [error] ServiceStart returned 1
      [error] %1 is not a valid Win32 application

Environment

  • VMware vCenter Server 5.0.x
  • VMware vCenter Server 4.1.x
  • VMware vCenter Server 4.0.x

Cause

The issue occurs when the Java related files are not found in the installed path. The default path is %Program Files%\VMware\Infrastructure\jre\bin\server\.

Resolution

When Java is not installed

Reinitiate the Java installation in the default path, %Program Files%\VMware\Infrastructure\jre\bin\server\ .
 
Perform one of these options:

When Java is installed

Point the VMware VirtualCenter Management Webservices to the correct location of the Java files enables the Webservices to start:
  1. Click Start > Programs > VMware > VMware Tomcat > Configure Tomcat.
  2. Click Java in the pop up window.
  3. In the text box for Java Virtual Machine, point to the location of the Java Runtime Environment (JRE) installed during the installation of vCenter Server.
  4. Click Apply, then Click OK.
  5. Restart the VMware VirtualCenter Management Webservices. For more information, see Stopping, starting, or restarting vCenter services (1003895).

Additional Information