skip to main content

SAP NetWeaver Newbie

SUM Error: Could not detect AS Java release

This post discusses various known issues and solutions to deal with the following error when running Software Upgrade Manager (SUM):

Could not detect AS Java release.
Return code condition success evaluated to false
for process /usr/sap/<SID>/<INST>/j2ee/cluster/bootstrap/scripts/version.sh
for action ACTION_VERSION.

Using DEFAULT configuration fro web methods protection

  1. Edit DEFAULT.PLF file from /usr/sap/(SID)/SYS/profile and set configuration: service/protectedwebmethods = DEFAULT
  2. Restart all the SAP instances (including sapstartsrv) and retry the failed step.

Replace the scripts

  1. Download the latest SERVERCORE.SCA patch file from service market place.
  2. Extract sap.com~bootstrap.sda.sda from SERVERCORE.SCA/DEPLOYARCHIVES with an archiver.
  3. Extract the following files from sap.com~bootstrap.sda.sda/script
    launcher.bat
    launcher.csh
    launcher.sh
    version.bat
    version.csh
    version.sh
    version.jstart
  4. Go to /usr/sap/[SID]/[INSTANCE]/j2ee/j2ee/cluster/bootstrap/scripts directory and backup all the launcher.* and version.* files.
  5. Copy the files from step 3 to this location.
  6. Ensure that the files have execute permissions against <sid>adm user (run the command chmod +x *.sh *.csh if the execute permissions are missing)

Apply latest patch of SAP JVM

The version.sh runs the launcher.sh script, which in turn launches the tool jstart. If there is any issue with the JVM, the tool won't start and the determination of engine release fails. One known solution is to apply the latest SAP JVM,

To troubleshoot any further, you have to tun version.sh manually, check dev_server<X> files or the latest traces in work folder.

No comments:

Post a Comment

Email Subscription

Get every new post into your inbox by subscribing us.

Want a reason to subscribe?
1. This sitemap might convince you to subscribe.
2. We do not misuse email IDs. We respect privacy.

© 2008 - 2017 sapnwnewbie. All rights reserved.