Symptom
During upgrade / maintenance of (most likely 7.40 or below version) AS Java, system may fail to start.
dev_server log files show:
[...]
F [Thr 140673422288640] *** LOG => SfCJavaVm: exit hook is called. (rc = 2151)
F
F ********************************************************************************
F *** ERROR => Java node 'server2' terminated with exit code 2151.
F ***
F *** Please see section 'Java program exit codes'
F *** in SAP Note 1316652 for additional information and trouble shooting advice.
F ********************************************************************************
F
F [Thr 140673422288640] *** LOG => exiting (exitcode 2151, retcode 1).
M [Thr 140673422288640] CCMS: CCMS Monitoring Cleanup finished successfully.
[...]
std_server shows:
[...]
Service [com.sap.glx.core.svc] start ================= ERROR =================
CSN Component [BC-BMT-BPM-SRV], DC Name [sap.com/com.sap.glx.core.svc]
java.lang.RuntimeException: Failed to initialize the GLX Core Service. Reason: com.sap.glx.core.api.GlxCoreException: Startup failed
[...]
Caused by: com.sap.glx.core.api.GlxCoreException: Startup failed
[...]
Caused by: com.sap.glx.core.api.GlxCoreException: Runtime mode didn't leave the OFFLINE state. For a likely cause, refer to the nested exception
[...]
Caused by: java.lang.IllegalStateException: Could not initialize sender BPMEvent
[...]
Caused by: com.sap.glx.core.resource.ResourceException: Could not get message sender for topic BPMEvent
[...]
Caused by: com.sap.engine.services.connector.exceptions.BaseResourceException: ConnectionFactory "BPMEventConnectionFactory" does not exist. Possible reasons: the adapter in which ConnectionFactory "BPMEventConnectionFactory" is defined is not deployed or not started.
[...]
FATAL: Critical shutdown with exit code [2151] was requested due to [AS Java cannot be started; additional service [com.sap.glx.core.svc] failed to start]
[...]
It can be that also if J2EE system starts except only the GLX core service (most likely in case of 7.50 AS Java version). In this case you cannot see instance termination with exitcode 2151.
Read more...
Environment
SAP NetWeaver Application Server Java all versions
Product
Keywords
NW Java, J2EE, NW AS Java, deadlock. dangling locks, locks, lock , KBA , BC-BMT-BPM-CMP , Process Composer , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , BC-JAS-SF , Startup Framework , SV-PERF-EP , SAP Enterprise Portal related performance issues , 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.