Symptom
Software Update Manager (SUM) fails with the below error in the phase DETERMINE-ENGINE-RELEASE (Logfile: <Path to SUM>/SUM/sdt/log/SUM/DETERMINE-ENGINE-RELEASE_xx.LOG)
Aug 12, 2015 7:46:40 AM [Info ]: Checking AS Java release using version command.
Aug 12, 2015 7:46:40 AM [Info ]: The tool have been found in location /usr/sap/<SID>/JXX/j2ee/cluster/bootstrap/scripts/version.sh.
Aug 12, 2015 7:46:40 AM [Info ]: Process ID 47, name /usr/sap/<SID>/JXX/j2ee/cluster/bootstrap/scripts/version.sh has been started.
Aug 12, 2015 7:46:40 AM [Info ]: Command line: /usr/sap/<SID>/JXX/j2ee/cluster/bootstrap/scripts/version.sh
Aug 12, 2015 7:46:40 AM [Info ]: Standard out: <Path to SUM>/SUM/sdt/log/SUM/VERSION_ACTION_VERSION_NULL_01.OUT
Aug 12, 2015 7:46:40 AM [Info ]: Process ID 47 has been started.
Aug 12, 2015 7:46:40 AM [Info ]: Waiting for process ID 47, name /usr/sap/<SID>/JXX/j2ee/cluster/bootstrap/scripts/version.sh to finish.
Aug 12, 2015 7:46:41 AM [Info ]: Process ID 47, name /usr/sap/<SID>/JXX/j2ee/cluster/bootstrap/scripts/version.sh has been finished, exit code 2.
Aug 12, 2015 7:46:41 AM [Error ]: The following problem has occurred during step execution: com.sap.sdt.j2ee.tools.releasedetection.EngineReleaseDetectionException: Could not detect AS Java release.
Return code condition success evaluated to false for process /usr/sap/<SID>/JXX/j2ee/cluster/bootstrap/scripts/version.sh for action ACTION_VERSION.
In the logfile <Path to SUM>/SUM/sdt/log/SUM/VERSION_ACTION_VERSION_NULL_xx.OUT the below error can be seen:
SAP Java EE Application Server: Engine version 7.31
Patchlevel 3301.349564
Build 20130627115115
\nNOTE: This output is taken from log file [/usr/sap/<SID>/JXX/j2ee/cluster/bootstrap/scripts/../../../../work/jvm_version.out]
\nERROR: JStart exit code [2], see details in log file [/usr/sap/<SID>/JXX/j2ee/cluster/bootstrap/scripts/dev_version]
In the logfile /usr/sap/<SID>/JXX/j2ee/cluster/bootstrap/scripts/dev_version the below error can be seen:
arguments :
arg[ 0] : /usr/sap/P37/J40/j2ee/cluster/bootstrap/scripts/../../../../exe/jstart
arg[ 1] : -launch
arg[ 2] : -nodename=version
arg[ 3] : -file=/usr/sap/P37/J40/j2ee/cluster/bootstrap/scripts/version.jstart
arg[ 4] : pf=
F
F [Thr 140403669899104] Wed Aug 12 20:08:57 2015
F [Thr 140403669899104] *** ERROR => SfEStartupError: Java VM detection failed. [sfxxcfg.hpp 664]
F [Thr 140403669899104] *** ERROR => Initialization failed: SfEStartupError: Java VM detection failed.
[sfxxmain_mt. 1011]
F
F ********************************************************************************
F *** ERROR => Cannot find Java binaries directory '/usr/sap/SYS/exe/run/sapjvm_5/bin'.
F ***
F *** Please see section 'Java VM detection issues'
F *** in SAP Note 1316652 for additional information and trouble shooting advice.
F ********************************************************************************
F
F [Thr 140403669899104] *** LOG => exiting (exitcode -21000, retcode 2).
Read more...
Environment
Update / Upgrade of NetWeaver AS JAVA 7.3x and above with SUM
Keywords
DETERMINE-ENGINE-RELEASE, VERSION_ACTION_VERSION_NULL, com.sap.sdt.j2ee.tools.releasedetection.EngineReleaseDetectionException, "Could not detect
AS Java release", dev_version, "SfEStartupError: Java VM detection failed", "ERROR => Cannot find Java binaries directory '/usr/sap/SYS/exe/run/sapjvm_5/bin'", SUM, sapstartsrv , KBA , BC-UPG-TLS-TLJ , Upgrade tools for Java , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , BC-CST-STS , Startup Service , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.