VMware vCenter Management Webservices fail to start after installing vCenter Server with the error: Failed creating java C:\Program Files\VMware\Infrastructure\jre\\bin\server\jvm.dllagement services
search cancel

VMware vCenter Management Webservices fail to start after installing vCenter Server with the error: Failed creating java C:\Program Files\VMware\Infrastructure\jre\\bin\server\jvm.dllagement services

book

Article ID: 308801

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • 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

To resolve this issue 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:
To resolve this issue when Java is installed, point the VMware VirtualCenter Management Webservices to the correct location of the Java files enables the Webservices to start.
To point to the location of the Java files:
  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

How to stop, start, or restart vCenter Server services
How to reinstall vCenter Server 5.x and 4.x
vCenter Server のインストール後に VMware vCenter Management Webservices の起動に次のエラーで失敗する:Java C:\Program Files\VMware\Infrastructure\jre\\bin\server\jvm.dllagement サービスの作成に失敗しました
安装 vCenter Server 后无法启动 VMware vCenter Management Webservices,并显示错误:Failed creating java C:\Program Files\VMware\Infrastructure\jre\\bin\server\jvm.dllagement services