du_upgrade_toolkit binaries don't work with UVMS 6.10.101 or superior ClassNotFoundException
search cancel

du_upgrade_toolkit binaries don't work with UVMS 6.10.101 or superior ClassNotFoundException

book

Article ID: 252778

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

The du_upgrade_toolkit 6.10.21 is being used on the nodes to export/import the objects in XML.
Since the UVMS was upgraded to 6.10.101, the binaries, like uniexp, uniimp, uniupgrade don't work anymore, the error on the output of the command is similar to the following one:

The java command used will be /cadnat/universe/com/du_upgrade_toolkit/bin/../bin/jre/orsyp_jre/jre/bin/java
13 oct. 2022 15:46:56 com.orsyp.kmeleon.persistence.UniCentralNetworkConfigurationPersistence ???
GRAVE: get all nodes issue
java.lang.reflect.UndeclaredThrowableException
        at com.sun.proxy.$Proxy0.getAllNodes(Unknown Source)
        at com.orsyp.kmeleon.persistence.UniCentralNetworkConfigurationPersistence.getNodeListFromServer(UniCentralNetworkConfigurationPersistence.java:173)
        at com.orsyp.kmeleon.persistence.UniCentralNetworkConfigurationPersistence.loadNodes(UniCentralNetworkConfigurationPersistence.java:222)
        at com.orsyp.kmeleon.persistence.UniCentralNetworkConfigurationPersistence.load(UniCentralNetworkConfigurationPersistence.java:589)
        at com.orsyp.ExportImportCommon.getNodeProduct(ExportImportCommon.java:2619)
        at com.orsyp.ExportImportCommon.executeAfterAuth(ExportImportCommon.java:188)
        at com.orsyp.ExportCmd.executeAfterAuth(ExportCmd.java:33)
        at com.orsyp.central.AbstractCommonCommand.execute(AbstractCommonCommand.java:686)
        at com.orsyp.ExportCmd.work(ExportCmd.java:229)
        at com.orsyp.ExportCmd.main(ExportCmd.java:202)
Caused by: java.lang.ClassNotFoundException: org.hibernate.collection.internal.PersistentSet

Environment

Release : 6.10.21 or inferior

Component: du_upgrade_toolkit

Cause

Due to the changes in the UVMS 6.10.101 / 7.0.01 and superior, the du_upgrade_toolkit 6.10.21 and inferior can no longer connect to UVMS.

Resolution

Workaround:

Use instead the binaries uniexp/uniimp that are available in UVMS 6.10.101/7.0.01

Solution:

A new kit called devops_kit should be delivered in version 7.0.21 (planned to be available by second half 2023) to add back this commands uniexp/uniimp/unidpl without need to do it from the UVMS server itself.