SAP Knowledge Base Article - Preview

2055755 - AS Java does not start after SAP JVM switch

Symptom

You were using a partner JDK and performed a SAP JVM switch. The AS Java does not start and show this error on the std_server<x>.out log:

[Thr 10440] MtxInit: 10001 0 2
(CompilerOracle read from file D:\usr\sap\PIP\D03\exe\sapjvm_4\jre\.hotspot_compiler)
Invalid layout of java.lang.ClassLoader at uniqueId

...

# Internal Error (d:/depot/bas/sapjvm/41_REL/src/6/hotspot/src/share/vm/classfile/javaClasses.cpp:90), pid=9976, tid=11928
# fatal error: Invalid layout of preloaded class

On the std_server<x>.out you might also see this:

(CompilerOracle read from file \usr\sap\SID\Instance\exe\sapjvm_4\jre\.hotspot_compiler)
Invalid layout of java.lang.ClassLoader at sapDependencies
#
# A fatal error has been detected by the SAP Java Virtual Machine:
#
#  Internal Error (/depot/bas/sapjvm/41_REL/src/6/hotspot/src/share/vm/classfile/javaClasses.cpp:142), pid=9820, tid=9852
#  fatal error: Invalid layout of preloaded class
#
# JRE version:  (1.4.2_34) (build )
# Java VM: SAP Java Server VM (4.1.061 25.51-b12 Apr 19 2016 13:05:11 - 41_REL - optU - windows amd64 - 6 - bas2:267813 (mixed mode) compressed oops)
# No minidump will be written (Minidumps are not enabled)
#
# An error report file with more information is saved as:
# E:\usr\sap\SID\Instance\j2ee\cluster\server0\hs_err_xxx.log
#
# If you would like to submit a bug report, please visit:
#   https://support.sap.com/incident
# Please save the hs_err file(s) and the written dmp file for further error analysis
# See SAP note 1500116 for further information on collecting core dumps after SAPJVM crashes

On the dev_server<x>.out this could be found:

[Thr 9852] *** ERROR => The Java VM aborted unexpectedly.
[Thr 9852] *** Please see SAP Note 943602 , section 'Java VM crashes'
[Thr 9852] *** for additional information and trouble shooting.
[Thr 9852] JLaunchCloseProgram: good bye (exitcode = -2)

And on the hs_err_<xxx>.log file you will see this:

-Xbootclasspath/p:C:/SID/usr/sap/Instancename/SMDXXX/SMDAgent/applications.config/com.sap.smd.agent.application.wily/BytecodeAgent/ISAGENT.8.2.3.5-2011-09-13/wily/connectors/AutoProbeConnector.jar;C:/SID/usr/sap/Instancename/SMDXXX/SMDAgent/applications.config/com.sap.smd.agent.application.wily/BytecodeAgent/ISAGENT.8.2.3.5-2011-09-13/wily/Agent.jar -Dcom.wily.introscope.agent.agentName=SMP_DVEBMGS00_server0 -Dcom.wily.introscope.agentProfile=C:/SID/usr/sap/Instancename/SMDXXX/SMDAgent/applications.config/com.sap.smd.agent.application.wily/BytecodeAgent/ISAGENT.8.2.3.5-2011-09-13/wily/IntroscopeAgent.profile


Read more...

Environment

SAP NetWeaver Application Server Java

Product

SAP NetWeaver 2004 ; SAP NetWeaver 7.0 ; SAP enhancement package 1 for SAP NetWeaver 7.0 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0

Keywords

Invalid layout of preloaded class, ClassLoader at uniqueId, fatal error, Invalid layout of java.lang.ClassLoader at sapDependencies , KBA , BC-JAS-SF , Startup Framework , XX-PART-WILY , Introscope by CA Technologies , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.