cancel
Showing results for 
Search instead for 
Did you mean: 

J2EE Server -2 Stopped Code

Former Member
0 Kudos

Hi,

In NW2004s Oracle 10g, OS windows 2003, BI-Server having problem in JAVA stack...

I have 12GB physical memory, I am not sure what I have to setup in configtool for heapsize paramater (is there any formula)?

server0 Trace file log here:

-


[Thr 10544] *** WARNING => Maximum Java heap size specified twice (through maxHeapSize and in javaParameters) - using -Xmx2048M [jstartxx.c 2604]

-


trc file: "D:\usr\sap\QAS\DVEBMGS00\work\dev_server0", trc level: 1, release: "700"

-


system name : QAS

system nr. : 00

started at : Tue Jan 19 15:53:09 2010

arguments :

arg[00] : D:\usr\sap\QAS\DVEBMGS00\exe\jlaunch.exe

arg[01] : pf=D:\usr\sap\QAS\SYS\profile\QAS_DVEBMGS00_qas-system

arg[02] : -DSAPINFO=QAS_00_server

arg[03] : pf=D:\usr\sap\QAS\SYS\profile\QAS_DVEBMGS00_qas-system

arg[04] : -DSAPSTART=1

arg[05] : -DCONNECT_PORT=1541

arg[06] : -DSAPSYSTEM=00

arg[07] : -DSAPSYSTEMNAME=QAS

arg[08] : -DSAPMYNAME=qas-system_QAS_00

arg[09] : -DSAPPROFILE=D:\usr\sap\QAS\SYS\profile\QAS_DVEBMGS00_qas-system

arg[10] : -DFRFC_FALLBACK=ON

arg[11] : -DFRFC_FALLBACK_HOST=localhost

[Thr 10544] Tue Jan 19 15:53:09 2010

[Thr 10544] *** WARNING => INFO: Unknown property [instance.box.number=QASDVEBMGS00qas-system] [jstartxx.c 841]

[Thr 10544] *** WARNING => INFO: Unknown property [instance.en.host=qas-system] [jstartxx.c 841]

[Thr 10544] *** WARNING => INFO: Unknown property [instance.en.port=3201] [jstartxx.c 841]

[Thr 10544] *** WARNING => INFO: Unknown property [instance.system.id=0] [jstartxx.c 841]

**********************************************************************

JStartupReadInstanceProperties: read instance properties [D:\usr\sap\QAS\DVEBMGS00\j2ee\cluster\instance.properties]

-> ms host : qas-system

-> ms port : 3391

-> OS libs : D:\usr\sap\QAS\DVEBMGS00\j2ee\os_libs

-> Admin URL :

-> run mode : normal

-> run action : NONE

-> enabled : yes

**********************************************************************

**********************************************************************

Used property files

-> files [00] : D:\usr\sap\QAS\DVEBMGS00\j2ee\cluster\instance.properties

**********************************************************************

**********************************************************************

Instance properties

-> ms host : qas-system

-> ms port : 3391

-> os libs : D:\usr\sap\QAS\DVEBMGS00\j2ee\os_libs

-> admin URL :

-> run mode : normal

-> run action : NONE

-> enabled : yes

**********************************************************************

**********************************************************************

Bootstrap nodes

-> [00] bootstrap : D:\usr\sap\QAS\DVEBMGS00\j2ee\cluster\instance.properties

-> [01] bootstrap_ 0 : D:\usr\sap\QAS\DVEBMGS00\j2ee\cluster\instance.properties

-> [02] bootstrap_ 575050 : D:\usr\sap\QAS\DVEBMGS00\j2ee\cluster\instance.properties

**********************************************************************

**********************************************************************

Worker nodes

-> [00] 0 : D:\usr\sap\QAS\DVEBMGS00\j2ee\cluster\instance.properties

-> [01] 575050 : D:\usr\sap\QAS\DVEBMGS00\j2ee\cluster\instance.properties

**********************************************************************

[Thr 10544] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 10544] JLaunchRequestQueueInit: create pipe listener thread

[Thr 10372] JLaunchRequestFunc: Thread 10372 started as listener thread for np messages.

[Thr 8716] WaitSyncSemThread: Thread 8716 started as semaphore monitor thread.

[Thr 10544] NiInit3: NI already initialized; param 'maxHandles' ignored (1;402)

[Thr 10544] CPIC (version=700.2006.09.13)

[Thr 10544] *** WARNING => Maximum Java heap size specified twice (through maxHeapSize and in javaParameters) - using -Xmx2048M [jstartxx.c 2604]

[Thr 10544] [Node: server0] java home is set by profile parameter

Java Home: C:\j2sdk1.4.2_16-x64

[Thr 10544] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\QAS\DVEBMGS00\exe\jvmx.jar

**********************************************************************

JStartupIReadSection: read node properties [ 575050]

-> node name : server0

-> node type : server

-> node execute : yes

-> jlaunch parameters :

-> java path : C:\j2sdk1.4.2_16-x64

-> java parameters : -Djco.jarm=1 -XX:MaxPermSize=1024M -XX:PermSize=512M -XX:NewSize=320M -XX:MaxNewSize=320M -XX:DisableExplicitGC -verbose:gc -XX:PrintGCDetails -XX:+PrintGCTimeStamps -Djava.awt.headless=true -Dsun.io.useCanonCaches=false -XX:SoftRefLRUPolicyMSPerMB=1 -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -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

-> java vm version : 1.4.2_16-b05

-> java vm vendor : Java HotSpot(TM) 64-Bit Server VM (Sun Microsystems Inc.)

-> java vm type : server

-> java vm cpu : amd64

-> heap size : 2048M

-> init heap size : 2048M

-> root path : D:\usr\sap\QAS\DVEBMGS00\j2ee\cluster\server0

-> class path : .\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.

-> OS libs path : D:\usr\sap\QAS\DVEBMGS00\j2ee\os_libs

-> main class : com.sap.engine.boot.Start

-> framework class : com.sap.bc.proj.jstartup.JStartupFramework

-> registr. class : com.sap.bc.proj.jstartup.JStartupNatives

-> framework path : D:\usr\sap\QAS\DVEBMGS00\exe\jstartup.jar;D:\usr\sap\QAS\DVEBMGS00\exe\jvmx.jar

-> shutdown class : com.sap.engine.boot.Start

-> parameters :

-> debuggable : no

-> shutdown timeout : 120000

**********************************************************************

[Thr 10544] JLaunchISetDebugMode: set debug mode [no]

[Thr 10540] JLaunchIStartFunc: Thread 10540 started as Java VM thread.

[Thr 10540] [JHVM_PrepareVMOptions] use java parameters set by profile parameter

Java Parameters: -Xss2m

**********************************************************************

JHVM_LoadJavaVM: VM Arguments of node [server0]

-> stack : 1048576 Bytes

-> arg[ 0]: exit

-> arg[ 1]: abort

-> arg[ 2]: vfprintf

-> arg[ 3]: -Djco.jarm=1

-> arg[ 4]: -XX:MaxPermSize=1024M

-> arg[ 5]: -XX:PermSize=512M

-> arg[ 6]: -XX:NewSize=320M

-> arg[ 7]: -XX:MaxNewSize=320M

-> arg[ 8]: -XX:+DisableExplicitGC

-> arg[ 9]: -verbose:gc

-> arg[ 10]: -XX:+PrintGCDetails

-> arg[ 11]: -XX:+PrintGCTimeStamps

-> arg[ 12]: -Djava.awt.headless=true

-> arg[ 13]: -Dsun.io.useCanonCaches=false

-> arg[ 14]: -XX:SoftRefLRUPolicyMSPerMB=1

-> arg[ 15]: -XX:SurvivorRatio=2

-> arg[ 16]: -XX:TargetSurvivorRatio=90

-> arg[ 17]: -Djava.security.policy=./java.policy

-> arg[ 18]: -Djava.security.egd=file:/dev/urandom

-> arg[ 19]: -Dorg.omg.CORBA.ORBClass=com.sap.engine.system.ORBProxy

-> arg[ 20]: -Dorg.omg.CORBA.ORBSingletonClass=com.sap.engine.system.ORBSingletonProxy

-> arg[ 21]: -Djavax.rmi.CORBA.PortableRemoteObjectClass=com.sap.engine.system.PortableRemoteObjectProxy

-> arg[ 22]: -Dsys.global.dir=D:\usr\sap\QAS\SYS\global

-> arg[ 23]: -Dapplication.home=D:\usr\sap\QAS\DVEBMGS00\exe

-> arg[ 24]: -Djava.class.path=D:\usr\sap\QAS\DVEBMGS00\exe\jstartup.jar;D:\usr\sap\QAS\DVEBMGS00\exe\jvmx.jar;.\bin\boot\boot.jar;.\bin\boot\jaas.jar;.\bin\system\bytecode.jar;.

-> arg[ 25]: -Djava.library.path=C:\j2sdk1.4.2_16-x64\jre\bin\server;C:\j2sdk1.4.2_16-x64\jre\bin;C:\j2sdk1.4.2_16-x64\bin;D:\usr\sap\QAS\DVEBMGS00\j2ee\os_libs;D:\oracle\QAS\102\bin;C:\Program Files\HP\NCU;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\usr\sap\QAS\SYS\exe\uc\NTAMD64

-> arg[ 26]: -Dmemory.manager=2048M

-> arg[ 27]: -Xmx2048M

-> arg[ 28]: -Xms2048M

-> arg[ 29]: -DLoadBalanceRestricted=no

-> arg[ 30]: -Djstartup.mode=JCONTROL

-> arg[ 31]: -Djstartup.ownProcessId=9716

-> arg[ 32]: -Djstartup.ownHardwareId=A1596482758

-> arg[ 33]: -Djstartup.whoami=server

-> arg[ 34]: -Djstartup.debuggable=no

-> arg[ 35]: -Xss2m

-> arg[ 36]: -DSAPINFO=QAS_00_server

-> arg[ 37]: -DSAPSTART=1

-> arg[ 38]: -DCONNECT_PORT=1541

-> arg[ 39]: -DSAPSYSTEM=00

-> arg[ 40]: -DSAPSYSTEMNAME=QAS

-> arg[ 41]: -DSAPMYNAME=qas-system_QAS_00

-> arg[ 42]: -DSAPPROFILE=D:\usr\sap\QAS\SYS\profile\QAS_DVEBMGS00_qas-system

-> arg[ 43]: -DFRFC_FALLBACK=ON

-> arg[ 44]: -DFRFC_FALLBACK_HOST=localhost

-> arg[ 45]: -DSAPSTARTUP=1

-> arg[ 46]: -DSAPSYSTEM=00

-> arg[ 47]: -DSAPSYSTEMNAME=QAS

-> arg[ 48]: -DSAPMYNAME=qas-system_QAS_00

-> arg[ 49]: -DSAPDBHOST=qas-system

-> arg[ 50]: -Dj2ee.dbhost=qas-system

**********************************************************************

CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources

CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain

CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub

CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS

CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices

CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile

CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup

CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue

CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode

CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode

CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects

CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement

CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence

CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations

CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto

[Thr 10540] Tue Jan 19 15:53:10 2010

[Thr 10540] JHVM_LoadJavaVM: Java VM created OK.

**********************************************************************

JHVM_BuildArgumentList: main method arguments of node [server0]

**********************************************************************

[Thr 2128] Tue Jan 19 15:53:12 2010

[Thr 2128] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes

Exception in thread "CompilerThread1" java.lang.OutOfMemoryError: requested 613856 bytes for Chunk::new. Out of swap space?

[Thr 7064] JLaunchIAbortJava: abort hook is called

[Thr 7064] **********************************************************************

      • ERROR => The Java VM aborted unexpectedly.

      • Please see SAP Note 943602 , section 'Java VM crashes'

      • for additional information and trouble shooting.

**********************************************************************

[Thr 7064] JLaunchCloseProgram: good bye (exitcode = -2)

Accepted Solutions (1)

Accepted Solutions (1)

former_member227283
Active Contributor
0 Kudos

Hi,

All the parameter set seems fine execept 1 parameter.

java parameters    : -Djco.jarm=1 -XX:MaxPermSize=1024M -XX:PermSize=512M -XX:NewSize=320M -XX:MaxNewSize=320M -XX:+DisableExplicitGC -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -Djava.awt.headless=true -Dsun.io.useCanonCaches=false -XX:SoftRefLRUPolicyMSPerMB=1 -XX:SurvivorRatio=2 -XX:TargetSurvivorRatio=90 -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

current value of parameter -XX:MaxPermSize is 1024M , change it to 512

it mean -XX:MaxPermSize=1024M

after setting the value to 512 , resetart the applicationa .

let us know if error still exits.

Thanks

Anil

Former Member
0 Kudos

Hi Anil,

Thank you soooooo much, I really appriciated, you are genius.. I just changed value 1024 to 512MB in configtool, and problem has been resolved...

sooooo nice...

Thank again!

Can I get your E Mail Address ? If you don't mind

Edited by: AngelinePurnama on Jan 20, 2010 9:02 PM

Answers (1)

Answers (1)

former_member227283
Active Contributor
0 Kudos

Hi,

Good to lisen your problem resolved.

My E Mail Address is maitained in my business card.

Thanks

Anil