cancel
Showing results for 
Search instead for 
Did you mean: 

Error while starting J2EE engine.

Former Member
0 Kudos

Dear Friends,

We are facing problem while starting of J2EE engine due to which we are unable to login in to EP.We have installed ECC6.0 + Usage types EP and PI on the same box.We are getting VM related error and we have refered SAP note:723909

Please find below the error messages in developer trace file of J2EE.

-


-


trc file: "D:\usr\sap\DN1\DVEBMGS01\work\dev_dispatcher", trc level: 1, release: "700"

-


node name : ID11240300

pid : 5300

system name : DN1

system nr. : 01

started at : Thu Sep 07 17:06:47 2006

arguments :

arg[00] : D:\usr\sap\DN1\DVEBMGS01\exe\jlaunch.exe

arg[01] : pf=D:\usr\sap\DN1\SYS\profile\DN1_DVEBMGS01_rbgtsa26

arg[02] : -DSAPINFO=DN1_01_dispatcher

arg[03] : pf=D:\usr\sap\DN1\SYS\profile\DN1_DVEBMGS01_rbgtsa26

arg[04] : -DSAPSTART=1

arg[05] : -DCONNECT_PORT=2483

arg[06] : -DSAPSYSTEM=01

arg[07] : -DSAPSYSTEMNAME=DN1

arg[08] : -DSAPMYNAME=rbgtsa26_DN1_01

arg[09] : -DSAPPROFILE=D:\usr\sap\DN1\SYS\profile\DN1_DVEBMGS01_rbgtsa26

arg[10] : -DFRFC_FALLBACK=ON

arg[11] : -DFRFC_FALLBACK_HOST=localhost

[Thr 5304] Thu Sep 07 17:06:47 2006

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

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

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

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

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

JStartupReadInstanceProperties: read instance properties [D:\usr\sap\DN1\DVEBMGS01\j2ee\cluster\instance.properties]

-> ms host : rbgtsa26

-> ms port : 3900

-> OS libs : D:\usr\sap\DN1\DVEBMGS01\j2ee\os_libs

-> Admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Used property files

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

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

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

Instance properties

-> ms host : rbgtsa26

-> ms port : 3900

-> os libs : D:\usr\sap\DN1\DVEBMGS01\j2ee\os_libs

-> admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Bootstrap nodes

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

-> [01] bootstrap_ID11240300 : D:\usr\sap\DN1\DVEBMGS01\j2ee\cluster\instance.properties

-> [02] bootstrap_ID11240350 : D:\usr\sap\DN1\DVEBMGS01\j2ee\cluster\instance.properties

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

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

Worker nodes

-> [00] ID11240300 : D:\usr\sap\DN1\DVEBMGS01\j2ee\cluster\instance.properties

-> [01] ID11240350 : D:\usr\sap\DN1\DVEBMGS01\j2ee\cluster\instance.properties

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

[Thr 5304] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 5304] JLaunchRequestQueueInit: create pipe listener thread

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

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

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

[Thr 5304] CPIC (version=700.2005.12.02)

[Thr 5304] [Node: dispatcher] java home is set by profile parameter

Java Home: C:\j2sdk1.4.2_12

[Thr 5304] JStartupICheckFrameworkPackage: can't find framework package D:\usr\sap\DN1\DVEBMGS01\exe\jvmx.jar

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

JStartupIReadSection: read node properties [ID11240300]

-> node name : dispatcher

-> node type : dispatcher

-> node execute : yes

-> jlaunch parameters :

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

-> java parameters : -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 -XX:NewSize=182m -XX:MaxNewSize=182m -XX:NewRatio=3 -XX:DisableExplicitGC -verbose:gc -XX:UseConcMarkSweepGC

-> java vm version : 1.4.2_12-b03

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

-> java vm type : server

-> java vm cpu : x86

-> heap size : 256M

-> init heap size : 545M

-> root path : D:\usr\sap\DN1\DVEBMGS01\j2ee\cluster\dispatcher

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

-> OS libs path : D:\usr\sap\DN1\DVEBMGS01\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\DN1\DVEBMGS01\exe\jstartup.jar;D:\usr\sap\DN1\DVEBMGS01\exe\jvmx.jar

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

-> parameters :

-> debuggable : no

-> debug mode : no

-> debug port : 50000

-> shutdown timeout : 120000

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

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

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

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

JHVM_LoadJavaVM: VM Arguments of node [dispatcher]

-> stack : 262144 Bytes

-> arg[ 0]: exit

-> arg[ 1]: abort

-> arg[ 2]: vfprintf

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

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

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

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

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

-> arg[ 8]: -XX:NewSize=182m

-> arg[ 9]: -XX:MaxNewSize=182m

-> arg[ 10]: -XX:NewRatio=3

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

-> arg[ 12]: -verbose:gc

-> arg[ 13]: -XX:+UseConcMarkSweepGC

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

-> arg[ 15]: -Dapplication.home=D:\usr\sap\DN1\DVEBMGS01\exe

-> arg[ 16]: -Djava.class.path=D:\usr\sap\DN1\DVEBMGS01\exe\jstartup.jar;D:\usr\sap\DN1\DVEBMGS01\exe\jvmx.jar;.\bin\boot\boot.jar;.\bin\system\bytecode.jar;.

-> arg[ 17]: -Djava.library.path=C:\j2sdk1.4.2_12\jre\bin\server;C:\j2sdk1.4.2_12\jre\bin;C:\j2sdk1.4.2_12\bin;D:\usr\sap\DN1\DVEBMGS01\j2ee\os_libs;D:\oracle\DN1\102\bin;C:\Program Files\Support Tools\;C:\Program Files\Windows Resource Kits\Tools\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;D:\usr\sap\DN1\SYS\exe\uc\NTI386

-> arg[ 18]: -Dmemory.manager=256M

-> arg[ 19]: -Xmx256M

-> arg[ 20]: -Xms545M

-> arg[ 21]: -DLoadBalanceRestricted=no

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

-> arg[ 23]: -Djstartup.ownProcessId=5300

-> arg[ 24]: -Djstartup.ownHardwareId=S1962625527

-> arg[ 25]: -Djstartup.whoami=dispatcher

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

-> arg[ 27]: -DSAPINFO=DN1_01_dispatcher

-> arg[ 28]: -DSAPSTART=1

-> arg[ 29]: -DCONNECT_PORT=2483

-> arg[ 30]: -DSAPSYSTEM=01

-> arg[ 31]: -DSAPSYSTEMNAME=DN1

-> arg[ 32]: -DSAPMYNAME=rbgtsa26_DN1_01

-> arg[ 33]: -DSAPPROFILE=D:\usr\sap\DN1\SYS\profile\DN1_DVEBMGS01_rbgtsa26

-> arg[ 34]: -DFRFC_FALLBACK=ON

-> arg[ 35]: -DFRFC_FALLBACK_HOST=localhost

-> arg[ 36]: -DSAPSTARTUP=1

-> arg[ 37]: -DSAPSYSTEM=01

-> arg[ 38]: -DSAPSYSTEMNAME=DN1

-> arg[ 39]: -DSAPMYNAME=rbgtsa26_DN1_01

-> arg[ 40]: -DSAPDBHOST=rbgtsa26

-> arg[ 41]: -Dj2ee.dbhost=rbgtsa26

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

Error occurred during initialization of VM

Incompatible initial and maximum heap sizes specified

[Thr 5324] JLaunchIAbortJava: abort hook is called

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

-


Our configuration is as follows:

1> Windows 2003 server with dual processor

2> 3.7GB RAM

3> VM around 12GB.

Please suggest

Kind Regards

Neenad Kivalkar

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Go to configtool.bat(located under /usr/sap...directory). double click on this and say yes to the dialogue box. Goto the cluster and your instanceId and then Server, right side you will see maxHeapsize, change it to 512 and Xms change it to 512.

And restart your server.

..Balu

Message was edited by: Balu Javangula

Former Member
0 Kudos

Hello all,

Now the JAVA engine is started and we can see ( we changed the New size and Max heap size parameters)

1> SDM

2> dispatcher node

3> server 0 node

in green and status as running.

But when we login using http://<FQDN HOST NAME>:<port>/irj/portal

We can see only Welcome screen but nothing really is displayed. The links like search, Advanced search and personalize, logoff are not working.

Kind Regards

Neenad

Former Member
0 Kudos

Dear All,

We have resolved the problem by changing the VM parameters of the server 0 node.

Kind Regards

Neenad

Former Member
0 Kudos

Neenad,

Could you elaborate a little on

"Now the JAVA engine is started and we can see ( we changed the New size and Max heap size parameters)"

Since the J2EE Engine isn't running, we can't use the Config Tool, so I am assuming you altered "instance.properties"? What exactley did you change.

and also..

What VM Parameters did you change for Server0?

Thanks,

-Tim

Former Member
0 Kudos

Hi Tim,

I am a newie.

Did you resolved this problem? please can you give me some tips? i am in the same problem!

Regards,

Erick

Former Member
0 Kudos

Neenad,

This problem is fue to the mismatch of JVM parameters you have put in config tool . Pls see this link and correct it

http://help.sap.com/saphelp_nw2004s/helpdata/en/77/c959416576031de10000000a155106/frameset.htm

Aneez

"Pls encourage the fellow SDNers by awarding suitable Points "