cancel
Showing results for 
Search instead for 
Did you mean: 

J2EE Engine in Status: some processes are running

Former Member
0 Kudos

Hi!

I installed a SAP ERP EhP4 system via system copy and have problems with J2EE Engine.

The ABAP stack starts without any problems.

The J2EE stacks seems to have some problems/errors, because the J2EE state is either "J2EE: status info unavailable" or "J2EE: some processes running".

Enclosed the content of log file "std_server0.out":

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor146]

: 356543K->356603K(1747968K), 2.2696409 secs] 357696K->356603K(2009856K), [Perm : 196607K->196607K(196608K)], 2.2697286 secs]

FATAL: Caught OutOfMemoryError! Node will exit with exit code 666

================================================================================

getThreadDump : Fri Apr 24 09:33:53 2009

FATAL: Caught OutOfMemoryError! Node will exit with exit code 666

================================================================================

665.923: [Full GC 665.924: [Tenured: 356603K->356937K(1747968K), 2.2371474 secs] 358887K->356937K(2009856K), [Perm : 196607K->196607K(196608K)], 2.2372604 secs]

Full thread dump Java HotSpot(TM) 64-Bit Server VM (1.4.2_17-b06 mixed mode):

"Thread-82" prio=5 tid=0x0000000023b72400 nid=0x766c in Object.wait() [0x0000000034e3f000..0x0000000034e3fb80]

+ at java.lang.Object.wait(Native Method)+

+ - waiting on <0x00000000a6e57cf8> (a java.util.TaskQueue)+

+ at java.util.TimerThread.mainLoop(Timer.java:429)+

+ - locked <0x00000000a6e57cf8> (a java.util.TaskQueue)+

+ at java.util.TimerThread.run(Timer.java:382)+

Any helpful information will be very appreciated!

Accepted Solutions (0)

Answers (4)

Answers (4)

debasissahoo
Active Contributor
0 Kudos

Hi Jgen,

If you still get the same error even after following the recommendation as per note, you can do a reboot of the server and try to start it again. In some case, a normal reboot of windows clears out memory and problems get fixed.

Regards,

Debasis.

Former Member
0 Kudos

Hi,

Can you try by below values

Heap Size: -Xms2048m

MaxPermSize=512m -XX:PermSize=512m

Also have a look at SAP Note 759669 - java.lang.OutOfMemory - the system is out of resources.

Hope this helps.

Thanks,

Sushil

Former Member
0 Kudos

Hi,

Please check below parameters in config tool & set is using SAP Note 723909 - Java VM settings for J2EE 6.40/7.0

-XX:MaxNewSize

-XX:MaxPermSize

-XX:PermSize

-Xms

-Xmx

Also have a look at this thread. It may help you.

Thanks,

Sushil

Edited by: Sushil Suryawanshi on Apr 27, 2009 5:58 PM

Former Member
0 Kudos

Hello Its a memory issue as the logs suggest

"

: 356543K->356603K(1747968K), 2.2696409 secs] 357696K->356603K(2009856K), Perm : 196607K->196607K(196608K)], 2.2697286 secs

FATAL: Caught OutOfMemoryError! Node will exit with exit code 666

================================================================================

getThreadDump : Fri Apr 24 09:33:53 2009

FATAL: Caught OutOfMemoryError! Node will exit with exit code 666

"

Change the value for the following parameters

-XX:PermSize

-XX:MaxPermSize

to 256. and let me know of it helps

Rohit

Former Member
0 Kudos

Also refer to

Refer to Note 723909 ,this will help you set the parameters for memory,after this you should be able to solve this

Rohit

Former Member
0 Kudos

Hi!

Many thanks for your reply. I checked the Java settings within Configtool recommendation in sap note 723909 and they are:

I am on Windows 64:

1) Heap Size

Actual value for Heap Size: -Xms1024m

recommendation for Heap Size: -Xms1024m

2) Permanent Space

Actual value: -XX:MaxPermSize=512m -XX:PermSize=512m

changed to: -XX:MaxPermSize=256m -XX:PermSize=256m

recommendation for For 7.0 on 64 bit: -XX:MaxPermSize=512m -XX:PermSize=512m

Unfortunately this does not help

Thank you!

regards

Former Member
0 Kudos

Note 1289240 - How to deal with out of memory errors