cancel
Showing results for 
Search instead for 
Did you mean: 

SUM 1.0 SP11.1: SAPJVM Update Error

Former Member
0 Kudos

Hi all

I've been updating a NetWeaver 7.3 AS Java with a MOPZ-generated stack.xml. Everything went fine, but I realised that SAPJVM was not updated properly.

I tried to update SAPJVM with a new SUM instance with "manually prepared directory". The directory only consists of SAPJVM.SAR.

However it's not being listed in step "Select components".

The error message I get is the following.

SAPJVM LINUX_X86_64
(not present in the system)
Vendor: sap.com  

SAPJVM6_69-10006989.SAR

6.01.69.0
Vendor: sap.com  
SAR Rejected due to following reason(s):
• 004 : Component sap.com/SAPJVM LINUX_X86_64 cannot be installed.

As you may guess the system already runs with SAPJVM 6.1 patch 58.

I could, of course, maually extract SAPJVM.69 to the correct folder and edit the relevant profile files. However, next time I will have the same problem.

How can I fix this?

Regards

Michael

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Solution was:

SAPJVM version 6.01.53 was in folder /usr/sap/SID/SYS/exe/jvm/linuxx86_64/sapjvm_6.1.048

So there was a version mismatch between folder name and java version.

I renamed the folder to reflect the java version.

Cleaned up SUM directory and started afresh. Works.

For related problems a solution might be note 1870169 - Instance on host uses non-standard SAP JVM location

divyanshu_srivastava3
Active Contributor
0 Kudos

That was soo simple yet difficult to find

Cheers

Answers (1)

Answers (1)

divyanshu_srivastava3
Active Contributor
0 Kudos

What was your java_home ?

divyanshu_srivastava3
Active Contributor
0 Kudos

Also, CLASSPATH, PATH or LIB_PATH ?

Former Member
0 Kudos

Thanks for your fast reply!

current SIDadm env (SLES 11.3):

JAVA_HOME=/usr/lib64/jvm/jre

PATH=/sapdb/clients/SID/bin:/sapdb/programs/bin:/home/sidadm/bin:/usr/local/bin:/bin:/usr/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/sap/SID/SYS/exe/uc/linuxx86_64:/usr/sap/SID/SYS/exe/run:/home/sidadm:.

LD_LIBRARY_PATH=/usr/sap/SID/SYS/exe/run:/usr/sap/SID/SYS/exe/uc/linuxx86_64:/sapdb/clients/SID/lib

No CLASSPATH or LIB_PATH specified.

In Instance Profile:

SETENV_01 = LD_LIBRARY_PATH=$(DIR_LIBRARY):%(LD_LIBRARY_PATH)

SETENV_02 = SHLIB_PATH=$(DIR_LIBRARY):%(SHLIB_PATH)

SETENV_03 = LIBPATH=$(DIR_LIBRARY):%(LIBPATH)

SETENV_04 = PATH=$(DIR_EXECUTABLE):%(PATH)

Command "host:sidadm:/ which java" returns /usr/bin/java

I have a reference system where the stack.xml was imported successfully, including SAPJVM. There no JAVA_HOME is specified as sidadm, also which java does not return anything. Do you think this is the root cause?

divyanshu_srivastava3
Active Contributor
0 Kudos

Yes, perhaps this looks to me as root cause.

because every where, if you care on SAPJVM, java_home will not be used, as far as I have seen, apart from OS level tools. So you don't see this problem occurring.

Try to reset JAVA_HOME and re-run SUM tool, just to verify not to update.

Former Member
0 Kudos

Uninstalled java-ibm from OS as it is not used anywhere.

No JAVA_HOME, no JAVA at all as sidadm.

Reran SUM Tool.

Same problem

divyanshu_srivastava3
Active Contributor
0 Kudos

Goto


cd /usr/sap/<SAPSID>/<instance>/SDM/program

StopServer.sh

sdm.sh jstartup "mode=standalone"

sdm.sh newjdk "javahome=/usr/sap/<SAPSID>/<instance>/exe/sapjvm_4"

sdm.sh jstartup "mode=integrated"

StartServer.sh

Also, then goto configtool and update java home for all instances.

And check jstartup/vm/home variable

Divyanshu

divyanshu_srivastava3
Active Contributor
0 Kudos

As far as patches goes, things are checked from SDM repository.

So you can try to synchronize SDM with database and give it a try.

Divyanshu 

Former Member
0 Kudos

We're on NW 7.3. No SDM available.

Also the sapjvm in question is sapjvm_6

jstartup/vm/home-variable is defined in instance profile.

JAVA_HOME in configtool was already set correctly to global sapjvm_6 folder.

divyanshu_srivastava3
Active Contributor
0 Kudos

Hi Mechael,

SDM was always there but not accessible like before.

It's hidden.

Divyanshu