IMC
cancel
Showing results for 
Search instead for 
Did you mean: 

Java error when upgrading from iMC 7.2-->7.3

Bogezu
Occasional Collector

Java error when upgrading from iMC 7.2-->7.3

Hi,

This is my first post on this forum.

I have tried to do a upgrade of our iMC version 7.2 E0403P10. I have downloaded the latest package iMC_7.3_E0506_Win and unzipped it. I rebooted the server prior to upgrade and chose not to start services automatically as OS starts in Intelligent Deployment Monitoring Agent. The upgrade always crashes at the same spot trying to copy JavaService. Am I missing something? There is about 30Gb of free space o the drive so it should not be an issue.  Below is part of the update log created (I highlighted the error):


2017-07-28 10:04:44 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::e(1156)] Unzipping new JRE - C:\Program Files\iMC\deploy\components\common\client\jre_windows64.zip
2017-07-28 10:04:48 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::e(1163)] Delete old JRE
2017-07-28 10:04:48 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::e(1169)] Upgrade JRE completed
2017-07-28 10:04:48 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::f(1265)] Unzipping C:\Program Files\iMC\deploy\components\common\server\commonserver_win.zip
2017-07-28 10:04:48 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::f(1353)] File "dbman/etc/dbman.conf" skipped.
2017-07-28 10:04:51 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::f(1353)] File "server/conf/imf.cfg" skipped.
2017-07-28 10:04:51 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::f(1353)] File "server/conf/QvProcessManager.xml" skipped.
2017-07-28 10:04:53 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::f(1399)] Unzipping C:\Program Files\iMC\deploy\components\common\server\common_win.zip
2017-07-28 10:04:53 [WARN ] [CommonUpgradeWorker] [com.h3c.imc.deploy.FileUtil::copy(92)] Failed to delete file - C:\Program Files\iMC\deploy\JavaService.exe
2017-07-28 10:04:53 [ERROR] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::run(733)] Copy file "JavaService64.exe" error.
2017-07-28 10:04:53 [ERROR] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::a(2688)] Copy file "JavaService64.exe" error.
2017-07-28 10:04:58 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::c(968)] JavaService info is
2017-07-28 10:04:58 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::c(968)] JavaService info is JavaService Version 2,0,10,0
2017-07-28 10:04:58 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::b(920)] java info is java version "1.6.0_45"
2017-07-28 10:04:58 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::b(920)] java info is Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
2017-07-28 10:04:58 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::b(920)] java info is Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)
2017-07-28 10:04:58 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::a(886)] JavaService version is 32 and Java version is 64
2017-07-28 10:04:58 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::a(851)] roll back 32 jdk Rename old JDK
2017-07-28 10:04:58 [INFO ] [CommonUpgradeWorker] [com.h3c.imc.deploy.update.CommonUpdater$a::a(862)] roll back 32 jdk Unzipping new JDK - C:\Program Files\iMC\deploy\components\common\deploy\jdk_windows.zip

2 REPLIES
ibias
Regular Advisor

Re: Java error when upgrading from iMC 7.2-->7.3

Please make some changes in Java files.

1.Navigate to the ...\Program Files\IMC\deploy folder. Locate the JavaService application

2. Right-click and rename as JavaService_32

3. Navigate to the imc V7.2 download folder. Navigate to  windows\install\components\common\deploy folder and copy the JavaService64 application file.

4. Copy the JavaService64 application file into the ...\Program Files\IMC\deploy folder and rename it to JaveService. 

5. Navigate to administrative tools > Services, right-click HP imc Server and select Start. The status of the HP imc Server should change to Running.

6.Start the imc Deployment ASgent and select the install button. Specify the path for imc V7.3 upgarde and select ok.

Now the JavaService file is correct, the upgrade to imc V7.3 should complete successfully.

 

 

Bogezu
Occasional Collector

Re: Java error when upgrading from iMC 7.2-->7.3

Hi ibias and thank you for your reply!

In your third point, do you mean the V7.2 folder from where the current one was installed or the new v7.3 folder where the upgrade will be performed from? I did not find the JavaService64 application file in the v7.2 folder and when testing the JavaService64 application file from the v7.3 folder and renaming it to JavaSerice the HP iMC Service stops right away when you try to start it.

Br,

Bogezu