You are on page 1of 2

SAP Knowledge Base Article

1953845 - AS Java server node hangs at starting phase - What To Do for 7.10+
Version 3 Validity: 06.04.2015 - active Language English

Symptom
When you start/restart AS Java you may find the server node is still in starting phase after unusual long time.
You hope to find the root cause for such issue.
This note is not proposing a solution, but to explain what logs/information to collect and check.

Exampleof'unusuallongtime':Usuallythesystemwouldstartupafter20minutesbutthistimeyoufounditstill"starting"after40minutes.

Environment
l SAP NetWeaver Composition Environment 7.1
l SAP enhancement package 1 for SAP NetWeaver Composition Environment 7.1
l SAP NetWeaver Composition Environment 7.2
l SAP NetWeaver 7.3
l SAP enhancement package 1 for SAP NetWeaver 7.3
l SAP NetWeaver 7.4

Reproducing the Issue


1. Start/Restart AS Java.
2. You may find that after unusual long time the server node is still in starting phase.

In MMC, you may find:

Or via sapcontrol command, you may find:

Cause
N/A

Resolution
Follow below steps to collect logs/traces while the issue is occuring.Youmaycreateincidents(CSSMessage)andattachallthecollectedlogs.

1. Create SAP MMC Snapshot as per Note# 1847251,for5times,withintervalof60~120seconds


2. *Right after creating each SAP MMC Snapshot, collect thread dump as per Note# 1095473;
3. Collect whole work folder of problematic instance:
- /usr/sap/<SID>/<instance>/work
4. Collect latest server defaultTrace file:
- /usr/sap/<SID>/<instance>/j2ee/cluster/server<N>/log/defaultTrace_XX.X.trc

* As an alternative method for 2, it is recommended to collect SAP JVM Profiler trace, which is documented in Note# 1783031.

See Also
Note# 1955835 - AS Java server node hangs at starting phase - What To Do for 7.0X

Keywords
AS Java; slow; long time; perfomance; start; startup; hung; server node; server0; jstart; "starting the process"; "starting framework"; "starting apps";
sapcontrol; SAP MMC; SAP MMC Snapshot; thread dump; work folder; defaultTrace;

Header Data
Released On 06.04.2015 11:42:43
Release Status Released to Customer
Component BC-JAS-COR Enterprise Runtime, Core J2EE Framework
Priority Normal
Category Problem

Product
Product Product Version
SAP Composition Environment SAP NetWeaver Composition Environment 7.1
SAP NetWeaver Composition Environment 7.2
SAP enhancement package 1 for SAP NetWeaver Composition Environm
SAP NetWeaver SAP NetWeaver 7.3
SAP NetWeaver 7.4
SAP enhancement package 1 for SAP NetWeaver 7.3

References
This document refers to:
SAP Knowledge Base Articles
1847251 How to create an MMC snapshot about an SAP system
1095473 How to get a full thread dump in AS Java
CSS SAP Notes
1783031 Analyzing AS Java performance with SAP JVM Profiler

You might also like