Translate

Note 710146 - How to change J2EE Engine JVM Settings

Summary
Symptom
Unable to change the JVM settings during an installation
Other terms
configtool JVM parameters tuning
Reason and Prerequisites
There is no documentation for changing the JVM settings of the J2EE engine during installation
Solution
The reason for problems during a J2EE engine installation are often incorrect settings of the Java Virtual Machine (JVM). Sometimes these settings have to be changed due to problems with the JVM.

The following instructions are also applicable for changing these settings in an existing installation.

You can change the engine settings by opening the configtool which is located in the J2EE Engine directory tree under j2ee/configtool (e.g. C:\usr\sap\C11\JC00\j2ee\configtool).
Start the configtool.bat (.sh on unix), select cluster_data/instance_ID.../server_ID... and make the change in the "Java parameters" field. If you have more than one server node, you need to apply the change to every server node and also to the dispatcher node.
After changing the values, click on the disk icon to save the new values and restart the cluster.
You can double-check, whether the new values were used by looking at the instance.properties file after the engine has been started. You should see the new values in the line ID<server id>.JavaParameters.
For troubleshooting refer to note 736557.

Remark on the Heap Size settings:
One can define maximal heap size for java process in two different ways: via the dedicated Max Heap Size control in Configtool or as -Xmx<value> in the general list of java parameters.
The preferred way is to use Max Heap Size control.
This value is translated to -Xmx<value> command line parameter automatically by StartupFramework.

Note: if some setting is present twice under java command line parameters the latter wins.
Thus "java -Xmx1000m -Xmx2000m" is equivalent to "java -Xmx2000m".
Similarly if 1000m was set via Max Heap Size and -Xmx2000m added explicitly to the general parameter list then the latter value will be used.

Therefore check for presence of explicit -Xmx settings while using MaxHeapSize control.
Header Data
Release Status:Released for Customer
Released on:09.08.2007  12:29:57
Master Language:English
Priority:Recommendations/additional info
Category:Installation information
Primary Component:BC-JAS Java Application Server - Please use sub-components
Affected Releases
Software
Component
Release
From
Release
To
Release
And
subsequent
SAP-JEE
60
6.40
6.40
 
SAP-JEE
7.00
7.00
7.02
 
Related Notes

 
1693118 - Application fails to start after switch to SAP JVM 4
 
1692995 - SAP JVM 4.1 is crashing with SIGTRAP
 
1552973 - SAP JVM crashes with native OutOfMemoryError
 
1321831 - General considerations when opening a NWDI support message
 
1303953 - SAP JVM memory parameters and their names in the Config Tool
 
1234382 - IBM i: VM Settings for SAP WebAS Java (IBM J9 JVM)
 
1137949 - Engine does not start on AIX due to DB connection problems
 
1054151 - JDK garbage collector profiling on HP-UX
 
1053604 - JDK heap dump and heap profiling on HP-UX
 
1004255 - How to create a full HPROF heap dump of J2EE Engine 6.40/7.0
 
898637 - Upload to KM / ICE Package Upload does not work
 
878909 - Server/dispatcher doesn't start,ConfigurationManager hangs
 
861333 - Very slow start of the j2ee engine on AIX with 64bit IBM JDK
 
764417 - Information for troubleshooting of the SAP J2EE Engine 6.40
 
736557 - Changes made with the Config Tool are disregarded
 
723909 - Java VM settings for J2EE 6.40/7.0
 
717376 - iSeries: VM Settings for SAP WebAS Java (IBM Classic JVM)

No comments:

Labels

sap hana hana database aws s4 hana hana db s4hana conversion steps sap hana azure bw4hana hana migration s4hana migration sap cloud migration steps sap hana migration steps sap hana migration to azure s4hana sap fiori fiori performance fiori erp s4 hana fiori sap fiori app sap fiori client sap fiori launchpad sap s4 hana fiori cisco ecc AI SAP AI abap dumps hana sap S/4HANA S/4HANA Conversion best sap ui5 & fiori training configuration database fiori tutorial on webide free sap ui5 & fiori training s/4 hana sap dumps sap fiori tutorial sap ui5 sap ui5 & fiori sap ui5 & fiori tutorial sara ui5cn 2367245 - Troubleshooting performance issues with SAP BPA Amazon free tier for SAP AWS setup Experience CALL_FUNCTION_NOT_FOUND CCMS Configuration and Use Create New Data Class in SAP (Oracle) Critical top SAP Abap dumps DHCP Clients Not Receiving IP Addresses Download Stack.xml HAN-DB HAN-DB-ENG High CPU Usage Due to Excessive Process Switching How To How to Start and Stop SAP Hana Tenant Database How to change SAP Hana Sql Output results are limited to 5000 Records How to perform SAP Dual Stack Split - Netweaver Inactive Objects in SAP Intercompany transactions in SAP AP / AR : Cross Company Code Transaction Interface Flapping Due to Duplex Mismatch KBA LOAD_PROGRAM_LOST MSSQL shrinking transaction log file Migrating to SAP hana database NAT Overload Causing Internet Access Failure Note 500235 - Network Diagnosis with NIPING OSPF Adjacency Not Forming PRINCE2 Foundation Sample Questions Preparing for S/4HANA Conversion and the MUST know items Push to Download Basket S/4HANA Migration Cockpit S/4JANA SAP BI Support Data Load Errors and Solutions SAP BI/BW Landscape SAP BPA SAP Basis SAP Basis Automation SAP Business Objects SAP CPS SAP Certification SAP FI Certification SAP FI Certification Sample Questions SAP HANA Admin - Cockpit SAP HANA DB Engines SAP HANA Database SAP HANA terminate session connection disconnect cancel kill hang stuck SAP Hana DB restore SAP Hana Numeric Error Codes SAP Landscape SAP Language installation SAP MM and Purchase Order Tables SAP Maintenance Planner SAP Note 500235 SAP R/3 Glossary SAP Readiness Check SAP S/4HANA 1709 Installation Files SAP S/4HANA 2023 SAP S/4HANA 2023 Installation SAP S/4HANA 2023 running SAP S/4HANA Installation SAP Scheduling SAP Solman 7.2 CHARM: SAP Support Package Stack Strategy SAP Support package SAP Upgrade SAP support stack upgrade SP stacks STORAGE_PARAMETERS_WRONG_SET SUSE/SLES/Kernel versions Setup of S/4hana 2023 TSV_TNEW_PAGE_ALLOC_FAILED TSV_TNEW_PAGE_ALLOC_FAILED error Transaction ID Unable to download an SAP Note Unix/Linux Command That Are Helpful For SAP Basis Upgrading SAP Kernel Without Downtime Upgrading windows server 2008 to windows server 2019 What is OSS Notes? SAP SNOTE Tutorial accounting agile ale idoc ale/edi archive FI documents audit auditing auditor aws aws cloud basic type bluefield approach ccms ccmsidb charm copilot datavard dbacockpit download sap note download snote edi idoc electronic data interchange enable sap archiving objects erpprep ffid firefighter fraud functional hana admin how to apply sap security note https://www.erpprep.com/ idoc install install sap fiori installation interfaces intermediate document internal control license key linux version materials management messsage niping test order type port prince2 agile prince2 agile practitioner purchasing quick info s4 hana sap abap dumps sap abbreviations sap activate certification sap activate project manager sap authorization sap aws sap brownfield sap ccms sap ccms configuration sap erp sap error sap grc sap greenfield sap internet demo system sap license sap maintenance certificate sap material management sap meaning sap mm sap mm consultant sap monthly security note sap netweaver sap network diagnostic sap niping sap note sap oss sap patch day sap performance sap performance issue sap purchase order sap s/4hana sap sales and distribution sap sap otc sap sd sap sd certification training sap sd course sap sd jobs sap sd module sap sd online training sap sd training sap sd tutorial sap sd tutorial for beginners sap security sap security note sap snote sap snote tutorial sap solution manager sap sql segregation of duties separation of duties sles slicense smc snote snote in sap system sod conflict solution manager solution maneger stop start hana database suse linux techie trex two step upgrade required waterfall