cancel
Showing results for 
Search instead for 
Did you mean: 

Auto restart of JAVA stack

Former Member
0 Kudos

Hi Experts,

The JAVA stack is automatically restarted while working on JAVA stack and we are working in this system from last two years; but now this problem is coming.

Server0 of J2EE Process table is always yellow with status "Starting apps".

Please help to solve the problem.

Regards,

Amit

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Amit,

One out-of-box clarification,

Is your system configured to use Junction Points?

Otherwise, as suggested above please perform 'Thread Dump Analysis" and also verify std_serv*.out files and default trace files for your clarification.

Check how frequently fully GC running and check if this GC run helpping to gain any memory space or not?

Regards

Sekhar

Former Member
0 Kudos

Hi Amit,

Please paste the contents of Std_Server<x>.out which can be found in the work directory.

Cheers...,

Raghu

marksmyth
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Amit

An OutOfMemoryError can cause the java engine to automatically restart. Check the std_server<n>.out file in the work directory. Also check the defaultTrace.trc. Do you see any "OutOfMemoryError" errors?

Also ensure that the Java parameters recommended in note #937159 XI Adapter Engine is stuck, have been applied on the system. These will help prevent performance issues on the java engine.

Regards

Mark

Former Member
0 Kudos

Hi Experts,

Please help to solve the problem.

Regards,

Amit

ravi_raman2
Active Contributor
0 Kudos

Amit,

This is what i suggest, Bump the heap of the server up significantly, then it does not run out of heap. That will help it complete starting.

I think the real issue is with an app that has become corrupted so compile fails.

Once the server is up you can stop it, get the logs, open a customer message so SAP can look at it.

You then can try to lower the heap to original levels and restart.

Hope that helps

Regards

Ravi Raman