Java Virtual Machine Fails to Be Created During U2000 Upgrade

w00107559
w00107559  Junior  (1)
6 years 10 months ago  View: 2123  Reply: 0
1F

Keywords

Switching status, data sharing conflict, MS, switching event

Version Mapping

NMS

OS

Database

NE

U2000 V100R006C02SPC301

-

-

-

Symptom

A user upgrades the Windows 2003-based U2000 from V100R006C00SPC200 to V100R006C02SPC301. After the OS patch is installed and pre-upgrade is completed, the "could not create the java virtual machine" message is displayed, hindering the upgrade.

 

Problem Identification

This is an OS bug.

Cause Analysis

                               Step 1     Check upgrade materials.

The upgrade package and pre-upgrade have been proven correct.

The upgrade script allows the Java virtual machine to gain 128 MB to 750 MB virtual memory. After the minimum and maximum limits are changed to 512 MB and 1024 MB, the problem still persists.

                               Step 2     Consult historical cases.

One case also records a Java virtual machine creation failure that occurred because the ds process could not be started after an OS patch was installed for V100R006C00SPC200. In that historical case, the OS patch installed introduced a defect. As a result, Java failed to allocate more than 800 MB memory. (In the current case, the maximum limit is 750 MB but memory still fails to be allocated.) Reference is available at:

http://support.huawei.com/carrier/docview?nid=SC0000754006

http://support.microsoft.com/kb/971812

After the maximum limit is changed to 512 MB, the Java virtual machine is successfully created.

----End

Preventive Measure

1.         Set the maximum limit of heap memory to 512 MB for Java in the upgrade script.

2.         Take the preceding method if the SPC305 patch experiences the same error.

Solution

Install a correct OS patch from http://support.microsoft.com/kb/971812.

本帖最后由 w00107559 于 2015-06-16 10:46 编辑