Note 718901 - How To Change The JDK of The J2EE Engine
Note 718901 - How To Change The JDK of The J2EE Engine
Summary
Symptom
Due to JDK problems it might be necessary to upgrade the JDK.
More Terms
JDK Upgrade ConfigTool
Option 1:
Edit the instance profile in /usr/sap/<SID>/SYS/profile/<SID>_JC<num>_<host> and add the following line jstartup/vm/home = <location of the new jdk> Notes: o Because this setting has precedence over individual JDK settings in the J2EE Engine configuration database and the sdm_jstartup.properties file, the new JVM will be picked up by all processes which are started through the startup framework including the SDM. Manually changing the sdm_jstartup.properties file is not necessary. The Visual Admin, ConfigTool, and SDM GUI have their JDK configured in the startup batch files. Please change these scripts for the new JDK.
Please delete the following files after changing these values (they will be recreated on the next restart of the engine): /usr/sap/<SID>/<INSTANCE>/j2ee/cluster/instance.properties.vmprop /usr/sap/<SID>/<INSTANCE>/SDM/program/config/sdm_jstartup.properties.vmprop
Option 2:
Open the J2EE Config Tool, open the cluster-data subtree, then open the instance_ID<num> subtree. Please make sure you change the JDK path (Java Home) in all of the following locations: o o o On the General tab of the instance_ID <num> page On the General tab of the dispatcher_ID<num> page On the Bootstrap tab of the dispatcher_ID<num> page
On the General tab of the server_ID<num> On the Bootstrap tab of the server_ID<num>
Change the JDK for the SDM as described in SAP Note 743583. Delete the following files after changing these values (they will be recreated on the next restart of the engine): /usr/sap/<SID>/<INSTANCE>/j2ee/cluster/instance.properties.vmprop /usr/sap/<SID>/<INSTANCE>/SDM/program/config/sdm_jstartup.properties.vmprop
Notes:
The SDM server does not get the JVM location from the database but from the property file "sdm_jstartup.properties" located in the /usr/sap/<SID>/JC<num>/SDM/program/config directory. The location of the JDK for the Visual Admin, ConfigTool, and SDM GUI still have to be changed. If you have installed the Full Strength Jurisdiction Policies in the old JDK (you could check this using Note 739043), then you must also install the Full Strength Jurisdiction Policies corresponding to the new JDK. If you use Wily Introscope refer to note 856909: Autoprobe Connector has to be recreated for each new JVM version
Header Data
Release Status: Released on: Master Language: Priority: Category: Released for Customer 18.12.2006 14:59:44 English Recommendations/additional info Upgrade information
Primary Component: BC-JAS Java Application Server - Please use sub-components Additional Components: BC-JAS-SF Startup Framework
Valid Releases
Software Component SAP-JEE SAP-JEE Release 60 7.00 From Release 6.40 7.00 To Release 6.40 7.00 and Subsequent
01.11.2009
Page 2 of
Short Text DB2-z/OS:Recommended Settings for IBM 142 J9 JVM on zLinux IBM JDK 1.4.2 x86_64 option unrecognised: -Xjvm:j9vm23 java.lang.OutOfMemoryError in BEx Web Applications How to create a full HPROF heap dump of J2EE Engine 6.40/7.0 Add. info. on upgrading to SAP SRM LAC 6.0 Add. info. on upgrading to SAP NW 7.0 SR2 Java Add. info. on upgrading to SAP NW 7.0 SR1 Java Support Package Stack Guide - SAP NetWeaver 7.0 Recommended Settings for the Linux on AMD64/EM64T JVM Error after JDK upgrade on system with Wily Introscope Problems caused by MD5 related bug in the 1.4 JDK on AIX Recommended Settings for the Linux on POWER JVM DB2-z/OS:Recommended Settings for 142 JVM on zLinux - IBM How to change the JDK of SDM Java VM settings for J2EE 6.40/7.0 Access to Sun J2SE and recommended J2SE options
01.11.2009
Page 3 of