Server Management - Systems Insight Manager
1827894 Members
1595 Online
109969 Solutions
New Discussion

HPSIM Migration issues with Mxexport - Java errors.

 
Techwiz
Occasional Advisor

HPSIM Migration issues with Mxexport - Java errors.

Hi All,

 

I am trying to use the mxexport utility for the migration on a system with 2003R2 Standard edition installed with 4 GB of RAM.i am running in to the below error.

:-:-:-:-:-:-:-:-:-::-:-:-:-:-:-:-:-:-::-:-:-:-:-:-:-:-:-::-:-:-:-:-:-:-:-:-::-:-
:-:-:-:-:-:-:-:
:-:-:-:-:-:-:-:-:-: HP Insight Software Data Export Tool Launcher :-:-:-:-:-:-
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:
:-:-:-:-:-:-:-:-:-::-:-:-:-:-:-:-:-:-::-:-:-:-:-:-:-:-:-::-:-:-:-:-:-:-:-:-::-:-
:-:-:-:-:-:-:-:

Lookup HPSIM InstallPath (x86)
HPSIM InstallPath: C:\Program Files\HP\Systems Insight Manager
Lookup succeeded
Exception in thread "main" java.lang.NoClassDefFoundError: com/hp/mx/migration/c
li/CLIWrapper
Caused by: java.lang.ClassNotFoundException: com.hp.mx.migration.cli.CLIWrapper
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
Could not find the main class: com.hp.mx.migration.cli.CLIWrapper. Program will
exit.

 

i searched and found that increase the value of -Xmx to a higher value in the Mxexport.bat, would eradicate the error,but to no use i was getting the following error after increasing the size.

 

:-:-:-:-:-:-:-:-:-::-:-:-:-:-:-:-:-:-::-:-:-:-:-:-:-:-:-::-:-:-:-:-:-:-:-:-::-:-
:-:-:-:-:-:-:-:
:-:-:-:-:-:-:-:-:-: HP Insight Software Data Export Tool Launcher :-:-:-:-:-:-
:-:-:-:-:-:-:-:-:-:-:-:-:-:-:
:-:-:-:-:-:-:-:-:-::-:-:-:-:-:-:-:-:-::-:-:-:-:-:-:-:-:-::-:-:-:-:-:-:-:-:-::-:-
:-:-:-:-:-:-:-:

Lookup HPSIM InstallPath (x86)
HPSIM InstallPath: C:\Program Files\HP\Systems Insight Manager
Lookup succeeded
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

 

 

i again referred and found that the Globalsettings.prop has to be eidted with a line of JVMMAXHEAP=2048

 

Still i get the same error.i have tried stopping the HPSIM completely , most of the apppications running on the server ,even increased the RAM from 2 GB to 4GB , since it is 2003 standard ,not able to add more.

Your help would be very much appreciated.

1 REPLY 1
Andrew_Haak
Honored Contributor

Re: HPSIM Migration issues with Mxexport - Java errors.

Hello Techwiz,

 

I already opted for an alternative in the HP SIM Migration to 2012 R2 post, but an other option is to freeup some memory. One option could be to stop the VCRM if you have that running.

 

See you task manager for any memory hungry applications. Restart the Insight Manager service for a clean start and give it an other go.

Kind regards,

Andrew