cancel
Showing results for 
Search instead for 
Did you mean: 

J2EE Status Unavailable

alex_borba
Explorer
0 Kudos

Experts,

I was facing a problem which my process server0 was restarting, between Framework and apps startup, I saw in std_server0.out that it was Out Of Memory Error, via ConfigTool I've changed the HeapMemory as said in one of the posts here in the forum, my instance started ok but after a few hours is crashed again with same error, I've restarted the instance and since then qhen the process Disp+Serv tries to come up it stay freezed with the status error J2EE STATUS UNAVAILABLE and there isnt any J2EE process in its list, looking at log I've found that it is a problem in BOOTSTRAP memory, but I try to fix it via configTool and nothing happens, the new value get recorded in Config Tool but watching the log it takes the old configuration, and every time I restart the instance it restarts too fast, almost instantly to this error, what is weird since usually it takes some time to get to that point, I've rebooted my server several times trying to get any cache cleaned but nothing happens.

Any Idea about what can I do?

<b>

This is the LOG from std_bootstrap.out</b>

-


stdout/stderr redirect

-


node name : bootstrap

pid : 3956

system name : DPI

system nr. : 20

started at : Mon May 28 19:55:15 2007

Reserved 1610612736 (0x60000000) bytes before loading DLLs.

Error occurred during initialization of VM

Could not reserve enough space for object heap

<b>Here the dev_bootstrap</b>

-


trc file: "C:\usr\sap\DPI\DVEBMGS20\work\dev_bootstrap", trc level: 1, release: "700"

-


node name : bootstrap

pid : 2648

system name : DPI

system nr. : 20

started at : Mon May 28 19:55:15 2007

arguments :

arg[00] : C:\usr\sap\DPI\DVEBMGS20\exe\jlaunch.exe

arg[01] : pf=C:\usr\sap\DPI\SYS\profile\DPI_DVEBMGS20_HSAAPL18

arg[02] : -DSAPINFO=DPI_20_bootstrap

arg[03] : pf=C:\usr\sap\DPI\SYS\profile\DPI_DVEBMGS20_HSAAPL18

arg[04] : -DSAPSTART=1

arg[05] : -DCONNECT_PORT=3564

arg[06] : -DSAPSYSTEM=20

arg[07] : -DSAPSYSTEMNAME=DPI

arg[08] : -DSAPMYNAME=HSAAPL18_DPI_20

arg[09] : -DSAPPROFILE=C:\usr\sap\DPI\SYS\profile\DPI_DVEBMGS20_HSAAPL18

arg[10] : -DFRFC_FALLBACK=ON

arg[11] : -DFRFC_FALLBACK_HOST=localhost

[Thr 3652] Mon May 28 19:55:15 2007

[Thr 3652] *** WARNING => INFO: Unknown property [instance.box.number=DPIDVEBMGS20hsaapl18] [jstartxx.c 841]

[Thr 3652] *** WARNING => INFO: Unknown property [instance.en.host=HSAAPL18] [jstartxx.c 841]

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

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

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

JStartupReadInstanceProperties: read instance properties [C:\usr\sap\DPI\DVEBMGS20\j2ee\cluster\instance.properties]

-> ms host : HSAAPL18

-> ms port : 3921

-> OS libs : C:\usr\sap\DPI\DVEBMGS20\j2ee\os_libs

-> Admin URL :

-> run mode : normal

-> run action : NONE

-> enabled : yes

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

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

Used property files

-> files [00] : C:\usr\sap\DPI\DVEBMGS20\j2ee\cluster\instance.properties

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

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

Instance properties

-> ms host : HSAAPL18

-> ms port : 3921

-> os libs : C:\usr\sap\DPI\DVEBMGS20\j2ee\os_libs

-> admin URL :

-> run mode : normal

-> run action : NONE

-> enabled : yes

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

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

Bootstrap nodes

-> [00] bootstrap : C:\usr\sap\DPI\DVEBMGS20\j2ee\cluster\instance.properties

-> [01] bootstrap_ID20779910 : C:\usr\sap\DPI\DVEBMGS20\j2ee\cluster\instance.properties

-> [02] bootstrap_ID20779915 : C:\usr\sap\DPI\DVEBMGS20\j2ee\cluster\instance.properties

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

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

Worker nodes

-> [00] ID207799100 : C:\usr\sap\DPI\DVEBMGS20\j2ee\cluster\instance.properties

-> [01] ID207799150 : C:\usr\sap\DPI\DVEBMGS20\j2ee\cluster\instance.properties

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

[Thr 3652] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 3652] JLaunchRequestQueueInit: create pipe listener thread

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

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

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

[Thr 3652] CPIC (version=700.2006.09.13)

[Thr 3652] [Node: bootstrap] java home is set by profile parameter

Java Home: C:\j2sdk1.4.2_13

[Thr 3652] JStartupICheckFrameworkPackage: can't find framework package C:\usr\sap\DPI\DVEBMGS20\exe\jvmx.jar

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

JStartupIReadSection: read node properties [bootstrap]

-> node name : bootstrap

-> node type : bootstrap

-> node execute : yes

-> java path : C:\j2sdk1.4.2_13

-> java parameters : -Djco.jarm=1

-> java vm version : 1.4.2_13-b06

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

-> java vm type : server

-> java vm cpu : x86

-> heap size : 2048M

-> root path : C:\usr\sap\DPI\DVEBMGS20\j2ee\cluster

-> class path : .\bootstrap\launcher.jar

-> OS libs path : C:\usr\sap\DPI\DVEBMGS20\j2ee\os_libs

-> main class : com.sap.engine.offline.OfflineToolStart

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

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

-> framework path : C:\usr\sap\DPI\DVEBMGS20\exe\jstartup.jar;C:\usr\sap\DPI\DVEBMGS20\exe\jvmx.jar

-> parameters : com.sap.engine.bootstrap.Bootstrap ./bootstrap ID2077991

-> debuggable : yes

-> debug mode : no

-> debug port : 60000

-> shutdown timeout : 120000

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

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

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

JHVM_LoadJavaVM: VM Arguments of node [bootstrap]

-> stack : 262144 Bytes

-> arg[ 0]: exit

-> arg[ 1]: abort

-> arg[ 2]: vfprintf

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

-> arg[ 4]: -Dsys.global.dir=C:\usr\sap\DPI\SYS\global

-> arg[ 5]: -Dapplication.home=C:\usr\sap\DPI\DVEBMGS20\exe

-> arg[ 6]: -Djava.class.path=C:\usr\sap\DPI\DVEBMGS20\exe\jstartup.jar;C:\usr\sap\DPI\DVEBMGS20\exe\jvmx.jar;.\bootstrap\launcher.jar

-> arg[ 7]: -Djava.library.path=C:\j2sdk1.4.2_13\jre\bin\server;C:\j2sdk1.4.2_13\jre\bin;C:\j2sdk1.4.2_13\bin;C:\usr\sap\DPI\DVEBMGS20\j2ee\os_libs;C:\oracle\DPI\102\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\oracle\DPI\102\OPatch;C:\usr\sap\DPI\SYS\exe\uc\NTI386;C:\usr\sap\DPI\SYS\exe\uc\NTI386

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

-> arg[ 9]: -Xmx2048M

-> arg[ 10]: -DLoadBalanceRestricted=no

-> arg[ 11]: -Djstartup.mode=BOOTSTRAP

-> arg[ 12]: -Djstartup.ownProcessId=2648

-> arg[ 13]: -Djstartup.ownHardwareId=A0093520635

-> arg[ 14]: -Djstartup.whoami=bootstrap

-> arg[ 15]: -Djstartup.debuggable=yes

-> arg[ 16]: -DSAPINFO=DPI_20_bootstrap

-> arg[ 17]: -DSAPSTART=1

-> arg[ 18]: -DCONNECT_PORT=3564

-> arg[ 19]: -DSAPSYSTEM=20

-> arg[ 20]: -DSAPSYSTEMNAME=DPI

-> arg[ 21]: -DSAPMYNAME=HSAAPL18_DPI_20

-> arg[ 22]: -DSAPPROFILE=C:\usr\sap\DPI\SYS\profile\DPI_DVEBMGS20_HSAAPL18

-> arg[ 23]: -DFRFC_FALLBACK=ON

-> arg[ 24]: -DFRFC_FALLBACK_HOST=localhost

-> arg[ 25]: -DSAPSTARTUP=1

-> arg[ 26]: -DSAPSYSTEM=20

-> arg[ 27]: -DSAPSYSTEMNAME=DPI

-> arg[ 28]: -DSAPMYNAME=HSAAPL18_DPI_20

-> arg[ 29]: -DSAPDBHOST=HSAAPL18

-> arg[ 30]: -Dj2ee.dbhost=HSAAPL18

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

Error occurred during initialization of VM

Could not reserve enough space for object heap

[Thr 2272] JLaunchIAbortJava: abort hook is called

[Thr 2272] **********************************************************************

      • ERROR => The Java VM aborted unexpectedly.

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

      • for additional information and trouble shooting.

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

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

Accepted Solutions (0)

Answers (1)

Answers (1)

alex_borba
Explorer
0 Kudos

I've reduced the MAX HEAP SIZE regarding Note 736462 and Note 723909 and it worked just fine.