Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Errors during service pack deployement

Highlighted
Harika Appa
Super Collector

Errors during service pack deployement

Hello,

I have successfully completed upgrading from 7.5 sp3 version to 8.00 version.

Now am trying to apply service pack but it is throwing errors as below:

[ppm_owner@nlvdhq47 bin]$ sh kDeploy.sh -i SP3
JAVA_HOME = /usr
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) Server VM (build 20.0-b11, mixed mode)

ERROR: Could not execute /usr/bin/jar properly.


Could any one please advice me how to procced.

Best Regards,
Harika.
7 REPLIES
Jason Nichols K
Honored Contributor

Re: Errors during service pack deployement

Harika,

It looks like your JAVA_HOME may not be set correctly. Java is not typically installed in /usr. What would typically happen on a *nix system would be that java has a link created in /usr/bin that points to the location of the actual java binary. The other java binaries (javac, jar, etc) may not have such links created which is why JAVA_HOME needs to be set to the actual path where Java is installed, e.g. /usr/java/jdk-1.6.0_25. I hope this helps get you on the right path.

Jason
Harika Appa
Super Collector

Re: Errors during service pack deployement

Hello,

We have previously installed JRE instead of JDK.

Now we have removed the JRE and succesfully installed the latest JDK version.

We have tried to apply servicepack but it was showing error as " /home/ppm_owner/ppm/mitg-800-SP3.jar does not exist".

So We have renamed it to mitg-803-sp3.jar and then copied the original service pack also.But still it is showing the below error.

[ppm_owner@nlvdhq47 bin]$ sh kDeploy.sh -i SP3
JAVA_HOME = /usr
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) Server VM (build 20.0-b11, mixed mode)

Please enter the DB password for ppm:


ERROR: /home/ppm_owner/ppm/mitg-800-SP3.jar does not exist.
Patch cannot be applied.



Please advice me.

Best Regards,
Harika.
Jim Esler
Honored Contributor

Re: Errors during service pack deployement

File names on UNIX systems are case sensitive. Be sure the file name is exactly what the script is looking for.

I do not think it is causing this particular problem but one thing you should be aware of is that the only certified version of Java is 1.6.0-07. We have encountered errors during upgrades when we tried to use more recent versions. The errors disappeared when we backed up to the version specified in the release documentation.
Varun_PPM
Super Collector

Re: Errors during service pack deployement

Hi Harika,

 

Are you able to find solution for the same i am getting the same error.

 

Regards,

Varun.

Varun_PPM
Super Collector

Re: Errors during service pack deployement

The correct command to deploy a patch

 

sh ./kDeploy.sh –i SP5

 

Using "./" is mandatory..

 

Thanks.

shijubch
Regular Collector

Re: Errors during service pack deployement

hi,

 

The SP3 file you have downloaded should contain a jar, it would probably be ppm-803-SP3.jar,

if you find then you can proceed with what  Varun has discussed.

 

Thanks

shijubch
Regular Collector

Re: Errors during service pack deployement

Also you would require to copy the jar file in the PPM_HOME
//Add this to "OnDomLoad" event