Systems Insight Manager
cancel
Showing results for 
Search instead for 
Did you mean: 

mxexport: Error occurred while exporting data.

YGoh
Occasional Collector

mxexport: Error occurred while exporting data.

We are using HP Insight Management 7.1 SIM + VCEM bundle. This was recently upgraded to Insight Management 7.3 using the Insight Control DVD.

 

However after upgrading, we are unable to run mxexport to backup the configurations as it keeps failing with an "Error occurred while exporting data." message. After turning migration debugging on to level 20, these are the last few lines of errors in the migration_log4j log:

 

2014-12-09 18:08:50,833 INFO  [HPSIM_DEBUG] ENTERING: getCMSData()
2014-12-09 18:08:50,833 INFO  [HPSIM_DEBUG] Unable to create file for Object Serialization.
2014-12-09 18:08:50,833 INFO  [HPSIM_DEBUG] java.io.InvalidClassException: com.hp.mx.migration.framework.core.CMSData; local class incompatible: stream classdesc serialVersionUID = 4461073482614573341, local class serialVersionUID = 6350345493080080685
	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:617)
	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1622)
	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
	at com.hp.mx.migration.utils.FileUtils.deSerializeCMSData(FileUtils.java:559)
	at com.hp.mx.migration.framework.core.CMSData.getCMSData(CMSData.java:157)
	at com.hp.mx.migration.mxexport.MxExportWorkFlow.createRootManifestFile(MxExportWorkFlow.java:136)
	at com.hp.mx.migration.mxexport.MxExportWorkFlow.startExport(MxExportWorkFlow.java:68)
	at com.hp.mx.migration.cli.mxexport.MxExportCLIExecutor.execute(MxExportCLIExecutor.java:38)
	at com.hp.mx.migration.cli.core.MxMigrationCLIHandler.exucuteMig(MxMigrationCLIHandler.java:103)
	at com.hp.mx.migration.cli.core.MxMigrationCLIHandler.execute(MxMigrationCLIHandler.java:42)
	at com.hp.mx.migration.cli.core.MxMigrationCLIHandler.main(MxMigrationCLIHandler.java:30)

2014-12-09 18:08:50,833 INFO  [HPSIM_DEBUG] java.lang.NullPointerException
	at com.hp.mx.migration.mxexport.MxExportWorkFlow.createRootManifestFile(MxExportWorkFlow.java:138)
	at com.hp.mx.migration.mxexport.MxExportWorkFlow.startExport(MxExportWorkFlow.java:68)
	at com.hp.mx.migration.cli.mxexport.MxExportCLIExecutor.execute(MxExportCLIExecutor.java:38)
	at com.hp.mx.migration.cli.core.MxMigrationCLIHandler.exucuteMig(MxMigrationCLIHandler.java:103)
	at com.hp.mx.migration.cli.core.MxMigrationCLIHandler.execute(MxMigrationCLIHandler.java:42)
	at com.hp.mx.migration.cli.core.MxMigrationCLIHandler.main(MxMigrationCLIHandler.java:30)

2014-12-09 18:08:50,833 INFO  [HPSIM_DEBUG] MxExportCLIExecutor - execute Called
2014-12-09 18:08:50,833 INFO  [HPSIM_DEBUG] ENTERING: MxMigrationStatusUtil - buildStatusForException()
2014-12-09 18:08:50,833 INFO  [HPSIM_DEBUG] ENTERING: CLIUtil - getStringFromResBundle(string, string[])
2014-12-09 18:08:50,833 INFO  [HPSIM_DEBUG] ENTERING: CLIUtil - getResourceBundle()
2014-12-09 18:08:50,833 INFO  [HPSIM_DEBUG] LEAVING: CLIUtil - getResourceBundle()
2014-12-09 18:08:50,833 INFO  [HPSIM_DEBUG] LEAVING: CLIUtil - getStringFromResBundle(string, string[])
2014-12-09 18:08:50,833 INFO  [HPSIM_DEBUG] 
Error occurred while exporting data.
2014-12-09 18:08:50,833 INFO  [HPSIM_DEBUG] ENTERING: CLIUtil - writeMessagetoConsole(string)
2014-12-09 18:08:50,833 INFO  [HPSIM_DEBUG] LEAVING: CLIUtil - writeMessagetoConsole(string)
2014-12-09 18:08:50,833 INFO  [HPSIM_DEBUG] ENTERING: void marshallObj(Object obj, File marshallXmlFile, String pkg)
2014-12-09 18:08:50,833 INFO  [HPSIM_DEBUG] Marshalling xml file: C:\Program Files\HP\Systems Insight Manager\logs\DMTStatus.xml
2014-12-09 18:08:50,865 INFO  [HPSIM_DEBUG] LEAVING: void marshallObj(Object obj, File marshallXmlFile, String pkg)
2014-12-09 18:08:50,865 INFO  [HPSIM_DEBUG] ENTERING: CLIUtil - getStringFromResBundle(string, string[])
2014-12-09 18:08:50,865 INFO  [HPSIM_DEBUG] ENTERING: CLIUtil - getResourceBundle()
2014-12-09 18:08:50,865 INFO  [HPSIM_DEBUG] LEAVING: CLIUtil - getResourceBundle()
2014-12-09 18:08:50,865 INFO  [HPSIM_DEBUG] LEAVING: CLIUtil - getStringFromResBundle(string, string[])
2014-12-09 18:08:50,865 INFO  [HPSIM_DEBUG] ENTERING: CLIUtil - writeMessagetoConsole(string)
2014-12-09 18:08:50,865 INFO  [HPSIM_DEBUG] LEAVING: CLIUtil - writeMessagetoConsole(string)
2014-12-09 18:08:50,865 INFO  [HPSIM_DEBUG] Product Status in xml: C:\Program Files\HP\Systems Insight Manager\logs\DMTStatus.xml
2014-12-09 18:08:50,865 INFO  [HPSIM_DEBUG] LEAVING: MxExportCLIExecutor - execute()
2014-12-09 18:08:50,865 INFO  [HPSIM_DEBUG] LEAVING: MxMigrationCLIHandler- exucuteMig()

 

Appreciate if anyone has insights on the error above and how we can resolve it. Thanks in advance!

 

 

P.S. This thread has been moved from ITRC Server Mgmt (Insight Manager 7) Forum to ITRC HP Systems Insight Manager Forum. - Hp Forum Moderator

1 REPLY
Burino
Occasional Visitor

Re: mxexport: Error occurred while exporting data.

Hi,

 

I have the identical trouble. I need to perform export settings of current HP SIM to target HP SIM. Source HP SIM has been upgraded from version 7.2 - > 7.3. Now mxexport utility is failing. See error message below:

 

Currently I am performing export of HP SIM 7.3.0 via mxexport utility. But I am not able to finish export. When I run mxexport after while I receive this error:

 

All HP Insight Management running services will be stopped.

Do you want to proceed (y/n)?:
y

All HP Insight Management services stopped successfully.

----------------------------------------------------------


Starting data export.


Product Name : HP Systems Insight Manager
Product Version : 7.3.0
Status : Failed
----------------------------------------------------------


Time taken by HP Systems Insight Manager to export : 0 Min,17 Sec


Product Name : HP Systems Insight Manager
Product Version : 7.3.0
Status : Failed
----------------------------------------------------------


Error occurred while exporting data. Export failed.
Migration Failed.Error while packing HP System Insight Manager migration files.

 

Same to you I enabled debugging logging but sofar no luck. I am in touch with HP Support as well but no luck so far.

Did you already solve your issue or not please?

 

Thanks a lot for your information.

 

 

Michal