Skip to Content
0
Former Member
Jun 18, 2007 at 06:42 PM

J2ee process restarts

36 Views

Hello,

On our portal instance here, J2ee process restarts automatically and randomly. It has been working fine for sometime. But now, I am not sure for what reason, it restarts by itself. I find huge entries like this in our developer trace file of J2ee process..

[Unloading class jsp._sapportalsjsp_NavigationForms]

[Unloading class sun.reflect.GeneratedMethodAccessor250]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor232]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor179]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor299]

[Unloading class sun.reflect.GeneratedMethodAccessor313]

[Unloading class sun.reflect.GeneratedMethodAccessor306]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor107]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor6]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor393]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor14]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor255]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor104]

[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor451]

These are the JVM parameters for our server process..

-Djava.security.policy=./java.policy

-Djava.security.egd=file:/dev/urandom

-Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy

-Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy

-Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy

-Djco.jarm=1

-XX:MaxPermSize=256M

-XX:PermSize=256M

-Xms1024M

-XX:NewSize=171M

-XX:MaxNewSize=171M

-XX:+DisableExplicitGC

-verbose:gc

-Xloggc:GC.log

-XX:+PrintGCDetails

-XX:+PrintGCTimeStamps

-Djava.awt.headless=true

-Dsun.io.useCanonCaches=false

-XX:SoftRefLRUPolicyMSPerMB=1

-XX:SurvivorRatio=2

-XX:TargetSurvivorRatio=90

-XX:+UseParNewGC

-XX:+HandlePromotionFailure

-Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer

-Djava.io.tmpdir=C:\WINDOWS\Temp

-Dcm.tmpdir=C:\WINDOWS\Temp

We are currently on Windows 2003 SP2 version (32 bit version), J2ee 7.0 and MS SQL 2005 version. We have JDK 1.4.2_13 ver installed on our servers..

I tried increasing the max heap size (-Xmx) and initial heap size (-Xms) to a higher value. But I guess for 32 bit machines, it is not allowed beyond 1024 MB.

Please let me know your thoughts on this issue and how to avoid the restart from happening.

Regards

Srinidhi Rayasam