on 11-24-2014 10:01 PM
Hi All,
I have performed SAP JVM switch in all portal servers. One of the server is giving issue. I is not launching sapinst GUI screen. There was 2 JDK versions installed j2sdk1.4.2_13 and j2sdk1.4.2_29. I keep tried changing j2sdk1.4.2_29 in some properties file besides java home is pointing to j2sdk1.4.2_29. I also changed SAPINST_JRE_HOME property in environment variables with j2sdk1.4.2_29 to be in sync. Now below log is showing j2sdk1.4.2_29 but it is still not launching sapinst gui. Please help. System: Portal 7.0.
Program starter log:
Program is starting... Please wait!
SAPinst build information:
--------------------------
Version: 2014.09.0
Build: 1521363
Compile time: Okt 05 2014 - 16:33:50
Make type: optU
Codeline: 720-2_REL
Platform: NTAMD64
Kernel build: 721, patch 319, changelist 1516453
Exe directory: C:\WINDOWS\TEMP\1\sapinst_exe.6052.1416864069
guiengine: 2014-11-24 16:21:19 Waiting for client connection (1)
SDT start mode [Java: C:\j2sdk1.4.2_29-x64\bin||Home: C:\Documents and Settings\epdadm||Cd: E:\Workarea\SAP_JVM] => /default/
Starting GUIServer using:
SAPinst port : pipe:480:456
GUIServer port : 21212
GUI autostart : on
GUI mode : normal
Curdir : E:\Workarea\SAP_JVM
command : C:\j2sdk1.4.2_29-x64\bin\java.exe -cp "C:\WINDOWS\TEMP\1\sapinst_exe.6052.1416864069\jar\instgui.jar" -Xmx256M -Dsun.java2d.noddraw=true -Dsap.env.var.javahome=SAPINST_JRE_HOME SDTServer "rootdir=C:\Documents and Settings\epdadm\.sdtgui" config=jar:sdtserver.xml guiport=21212 -nolock -srvarg=/SAPinstService/host=127.0.0.1 -srvarg=/SAPinstService/port=pipe:480:456
CurrentDirectory: E:\Workarea\SAP_JVM.
Thanks,
Kavitha Rajan.
Also remove the SAPINST_JRE_HOME environment variable, as well as JAVA_HOME. It looks like you are trying to use obsolete documentation with current tools, and this is getting you into trouble. The current SAPINST tools (SWPM, SUM, etc) all have their own self-contained JRE.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Srinivasan and Matt,
I removed SAPINST_JRE_HOME yesterday and it worked. JAVA_HOME automatically changed during the switch to SAP JVM.
These are old configurations done by previous Basis at my company. Only this server has this entry.
Thanks again both of you. Unfortunately I can put only one correct answer. 🙂
Kavitha Rajan.
Srinivas/Matt,
Arjun has advised in below thread to edit SYSTEM environment variables to SAP JVM like SIDADM Env variables which is changing automatically by the tool. I was following that. Should I completely remove Java_Home from SYSTEM Env variables?
The solution provided in that thread is not really correct. If you have a J2EE stack then the parameter jstartup/vm/home in the profile is taken into account. You can also check the config tool whether the Java Home is pointing to the SAP JVM location after the switch.
I have systems with <SID>adm users still pointing to IBM Java and the J2EE stacks running with SAP JVM. After switch to the SAP JVM you can check the "Java environment properties" in the dev_server0 trace file to see which JVM is used by the J2EE stack.
very true Reagan.
Kavitha, you just need to make sure that the instance profile has the right details.
SAPJVM_VERSION. Enter the new version of the SAP JVM e.g.:
SAPJVM_VERSION = 4.1.028
and
jstartup/vm/home = <location of the new jdk>
for example:
jstartup/vm/home = /usr/sap/<SID>/SYS/exe/jvm/hpia64/
sapjvm_6.1.028
After the change, delete following files (they will be recreated after the j2ee restart):
/usr/sap/<SID>/<INSTANCE>/j2ee/cluster/instance.properties.vmprop
/usr/sap/<SID>/<INSTANCE>/SDM/program/config/sdm_jstartup.properties.vmprop
Now do a complete cluster restart.
Regards,
Hemanth
Reagan/Hemanth,
SAP Instance profile is showing the switch.
jstartup/vm/home = $(DIR_SAPJVM)
DIR_SAPJVM = $(DIR_EXECUTABLE)$(DIR_SEP)sapjvm_4
SAPJVM_VERSION = 4.1.047
JAVA_HOME is pointing E:\usr\sap\EPD\SYS\exe\jvm\NTAMD64\sapjvm_4.1.047\sapjvm_4
for SIDADM and SYSTEM (I changed for SYSTEM).
I verified by launching the portal and check the version as per the last step of http://scn.sap.com/docs/DOC-33488
Am I all set? Do I have to delete those files?
Thanks,
Kavitha Rajan.
Hi Kavitha,
Why you setting JAVA_HOME?
Is it SAP JVM Switch tool asks?
Do not need to set or install jdk in windows server.
SAP JVM Switch Tool itself having Java it will takes itself.
Remove JAVA_HOME from environment variables and try sapinst.
Regards,
V Srinivasan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.