Java applications on VMs report error: 'wrapper process has not received any cpu time
search cancel

Java applications on VMs report error: 'wrapper process has not received any cpu time

book

Article ID: 423106

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

  • This error message is extensively observed in Java related applications.
  • VMware Tools status may intermittently toggle between "Running" and "Not Running" in the vSphere Client.
  • Under the ESXi Host's /var/run/log/hostd.log, below error log snips are available:

    YYYY-MM-DDTHH:MM:SS Db(###) Hostd[#######]: [Originator@#### sub=Vmsvc.vm:/vmfs/volumes/<Datastore>/<VMName>/<VMName>.vmx] Updating current heartbeatStatus: gray -> green

    YYYY-MM-DDTHH:MM:SS Db(###) Hostd[#######]: [Originator@#### sub=Vmsvc.vm:/vmfs/volumes/<Datastore>/<VMName>/<VMName>.vmx] Updating current heartbeatStatus: red -> yellow

    YYYY-MM-DDTHH:MM:SS Db(###) Hostd[#######]: [Originator@#### sub=Vmsvc.vm:/vmfs/volumes/<Datastore>/<VMName>/<VMName>.vmx] Updating current heartbeatStatus: yellow -> gray

  • This issue may occurs after a recent ESXi Host version upgrade.

Cause

This issue may occurs if the ESXi Host version is upgraded, but not the Hardware version of the VMs.

Resolution

To resolve this issue, follow the steps below:

  1. Take Snapshot of the Virtual Machine.
  2. Upgrade the VM's hardware version. For more information, refer: Upgrading a virtual machine to the latest hardware version (multiple versions)