on 08-05-2014 2:44 PM
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.0Vendor: 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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What was your java_home ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
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
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.