cancel
Showing results for 
Search instead for 
Did you mean: 

J2EE fail while starting

Former Member
0 Kudos

I have updated ABAP stack till SP8 and i was installing Java Stack for SP8 following steps as mentioned for SP08 installation guide

but after upgrading JSPM when i tried to apply Kernel patch it said J2EE engine is not running I tried to start the server using SAP Management Console

Everything worked fine except the disp+work.exe

Also while looking at J2EE process table i have found that SDM.exe and Dispatcher.exe are starting properly but server0 is starting and die immediately, I have captured the trace file for server0 and below is the same

As i have seen some JVM crash so i am updating to Service pack 1 for Win2k3.

Also I have updated the kernel patches manually following the steps mentioned in SP8 installation guide

SAPEXE_58-20000972.SAR

SAPEXEDB_58-10003443.SAR

But didn't help Below is the trace i got for server0

-


trc file: "F:\usr\sap\GEM\DVEBMGS00\work\dev_server0", trc level: 1, release: "700"

-


node name : ID5823150

pid : 3032

system name : GEM

system nr. : 00

started at : Fri Aug 11 20:16:20 2006

arguments :

arg[00] : F:\usr\sap\GEM\DVEBMGS00\exe\jlaunch.exe

arg[01] : pf=F:\usr\sap\GEM\SYS\profile\GEM_DVEBMGS00_daisy

arg[02] : -DSAPINFO=GEM_00_server

arg[03] : pf=F:\usr\sap\GEM\SYS\profile\GEM_DVEBMGS00_daisy

arg[04] : -DSAPSTART=1

arg[05] : -DCONNECT_PORT=1318

arg[06] : -DSAPSYSTEM=00

arg[07] : -DSAPSYSTEMNAME=GEM

arg[08] : -DSAPMYNAME=daisy_GEM_00

arg[09] : -DSAPPROFILE=F:\usr\sap\GEM\SYS\profile\GEM_DVEBMGS00_daisy

arg[10] : -DFRFC_FALLBACK=ON

arg[11] : -DFRFC_FALLBACK_HOST=localhost

[Thr 4424] Fri Aug 11 20:16:20 2006

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

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

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

JStartupReadInstanceProperties: read instance properties [F:\usr\sap\GEM\DVEBMGS00\j2ee\cluster\instance.properties]

-> ms host : daisy

-> ms port : 3901

-> OS libs : F:\usr\sap\GEM\DVEBMGS00\j2ee\os_libs

-> Admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Used property files

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

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

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

Instance properties

-> ms host : daisy

-> ms port : 3901

-> os libs : F:\usr\sap\GEM\DVEBMGS00\j2ee\os_libs

-> admin URL :

-> run mode : NORMAL

-> run action : NONE

-> enabled : yes

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

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

Bootstrap nodes

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

-> [01] bootstrap_ID5823100 : F:\usr\sap\GEM\DVEBMGS00\j2ee\cluster\instance.properties

-> [02] bootstrap_ID5823150 : F:\usr\sap\GEM\DVEBMGS00\j2ee\cluster\instance.properties

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

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

Worker nodes

-> [00] ID5823100 : F:\usr\sap\GEM\DVEBMGS00\j2ee\cluster\instance.properties

-> [01] ID5823150 : F:\usr\sap\GEM\DVEBMGS00\j2ee\cluster\instance.properties

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

[Thr 4424] JLaunchRequestQueueInit: create named pipe for ipc

[Thr 4424] JLaunchRequestQueueInit: create pipe listener thread

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

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

[Thr 4424] Fri Aug 11 20:16:21 2006

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

[Thr 4424] CPIC (version=700.2005.12.02)

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

Java Home: C:\j2sdk1.4.2_09

[Thr 4424] JStartupICheckFrameworkPackage: can't find framework package F:\usr\sap\GEM\DVEBMGS00\exe\jvmx.jar

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

JStartupIReadSection: read node properties [ID5823150]

-> node name : server0

-> node type : server

-> node execute : yes

-> jlaunch parameters :

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

-> 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 -Djco.jarm=1 -XX:MaxPermSize=256M -XX:PermSize=256M -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 -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer

-> java vm version : 1.4.2_09-b05

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

-> java vm type : server

-> java vm cpu : x86

-> heap size : 1024M

-> init heap size : 1024M

-> root path : F:\usr\sap\GEM\DVEBMGS00\j2ee\cluster\server0

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

-> OS libs path : F:\usr\sap\GEM\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 : F:\usr\sap\GEM\DVEBMGS00\exe\jstartup.jar;F:\usr\sap\GEM\DVEBMGS00\exe\jvmx.jar

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

-> parameters :

-> debuggable : no

-> debug mode : no

-> debug port : 50021

-> shutdown timeout : 120000

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

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

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

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

JHVM_LoadJavaVM: VM Arguments of node [server0]

-> 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]: -Djco.jarm=1

-> arg[ 9]: -XX:MaxPermSize=256M

-> arg[ 10]: -XX:PermSize=256M

-> arg[ 11]: -XX:NewSize=171M

-> arg[ 12]: -XX:MaxNewSize=171M

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

-> arg[ 14]: -verbose:gc

-> arg[ 15]: -Xloggc:GC.log

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

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

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

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

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

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

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

-> arg[ 23]: -Dorg.omg.PortableInterceptor.ORBInitializerClass.com.sap.engine.services.ts.jts.ots.PortableInterceptor.JTSInitializer

-> arg[ 24]: -Dsys.global.dir=F:\usr\sap\GEM\SYS\global

-> arg[ 25]: -Dapplication.home=F:\usr\sap\GEM\DVEBMGS00\exe

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

-> arg[ 27]: -Djava.library.path=C:\j2sdk1.4.2_09\jre\bin\server;C:\j2sdk1.4.2_09\jre\bin;C:\j2sdk1.4.2_09\bin;F:\usr\sap\GEM\DVEBMGS00\j2ee\os_libs;f:\sapdb\programs\bin;f:\sapdb\programs\pgm;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;F:\usr\sap\GEM\SYS\exe\uc\NTI386

-> arg[ 28]: -Dmemory.manager=1024M

-> arg[ 29]: -Xmx1024M

-> arg[ 30]: -Xms1024M

-> arg[ 31]: -DLoadBalanceRestricted=no

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

-> arg[ 33]: -Djstartup.ownProcessId=3032

-> arg[ 34]: -Djstartup.ownHardwareId=M0258820327

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

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

-> arg[ 37]: -DSAPINFO=GEM_00_server

-> arg[ 38]: -DSAPSTART=1

-> arg[ 39]: -DCONNECT_PORT=1318

-> arg[ 40]: -DSAPSYSTEM=00

-> arg[ 41]: -DSAPSYSTEMNAME=GEM

-> arg[ 42]: -DSAPMYNAME=daisy_GEM_00

-> arg[ 43]: -DSAPPROFILE=F:\usr\sap\GEM\SYS\profile\GEM_DVEBMGS00_daisy

-> arg[ 44]: -DFRFC_FALLBACK=ON

-> arg[ 45]: -DFRFC_FALLBACK_HOST=localhost

-> arg[ 46]: -DSAPSTARTUP=1

-> arg[ 47]: -DSAPSYSTEM=00

-> arg[ 48]: -DSAPSYSTEMNAME=GEM

-> arg[ 49]: -DSAPMYNAME=daisy_GEM_00

-> arg[ 50]: -DSAPDBHOST=daisy

-> arg[ 51]: -Dj2ee.dbhost=daisy

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

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

[Thr 3136] JHVM_LoadJavaVM: Java VM created OK.

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

JHVM_BuildArgumentList: main method arguments of node [server0]

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

[Thr 3700] Fri Aug 11 20:16:23 2006

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

[Thr 3700] Fri Aug 11 20:16:25 2006

[Thr 3700] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework

[Thr 3700] JLaunchISetClusterId: set cluster id 5823150

[Thr 3700] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]

[Thr 3700] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]

[Thr 2856] Fri Aug 11 20:16:56 2006

[Thr 2856] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.driver.CpicDriver

[Thr 4448] Fri Aug 11 20:17:01 2006

[Thr 4448] JLaunchRequestFunc: receive command:17, argument:0 from pid:5640

[Thr 4448] JLaunchIShutdownInvoke: set shutdown interval (stop:1155307621/end:1155307741/TO:120)

[Thr 4448] JLaunchProcessCommand: Invoke VM Shutdown

[Thr 4448] JHVM_FrameworkShutdownDirect: invoke direct shutdown

[Thr 2856] ***LOG Q0I=> NiIRead: recv (10054: WSAECONNRESET: Connection reset by peer) [nixxi.cpp 4235]

[Thr 2856] *** ERROR => NiIRead: SiRecv failed for hdl 0 / sock 6552

(SI_ECONN_BROKEN; I4; ST; 15.70.176.190:3300) <b>[nixxi.cpp 4235]

[Thr 2856] *** ERROR => GwIConnect: GwRead to daisy / sapgw00 failed, rc: NIECONN_BROKEN [gwxx.c 473]

[Thr 2856] ***LOG S90=> SAP_STINIT3, GwIConnect ( 223) [r3cpic.c 2006]

[Thr 2856]</b>

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

*

<b>[Thr 2856] * LOCATION CPIC (TCP/IP) on local host with Unicode</b>

[Thr 2856] * ERROR connection to partner '15.70.176.190:sapgw00' broken

[Thr 2856] *

  • TIME Fri Aug 11 20:17:01 2006

[Thr 2856] * RELEASE 700

[Thr 2856] * COMPONENT NI (network interface)

[Thr 2856] * VERSION 38

[Thr 2856] * RC -6

[Thr 2856] * MODULE nixxi.cpp

[Thr 2856] * LINE 4235

[Thr 2856] * DETAIL NiIRead

[Thr 2856] * SYSTEM CALL recv

[Thr 2856] * ERRNO 10054

[Thr 2856<b>] * ERRNO TEXT WSAECONNRESET: Connection</b> reset by peer

[Thr 2856] * COUNTER 1

[Thr 2856] *

[Thr 2856] *****************************************************************************

[Thr 536] Fri Aug 11 20:17:02 2006

[Thr 536] JLaunchIExitJava: exit hook is called (rc = -11113)

[Thr 536] **********************************************************************

      • ERROR => The Java VM terminated with a non-zero exit code.

      • Please see SAP Note 943602 , section 'J2EE Engine exit codes'

      • for additional information and trouble shooting.

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

[Thr 536] JLaunchCloseProgram: good bye (exitcode = -11113)<b></b>

Please help me resolve this problem

Thanks

Amit

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Anil,

I am also getting the same issue on solman 4.0 at sp-stack 11. Really appreciate if you could let know how this issue got resolved. Server0 does not move beyond starting applications.

Regards,

Rahul

Former Member
0 Kudos

Have u checked the client is correct...can't be 000:

Check if the client forthe User Managementis set correctly.This may be not thecase, if you haveperformed a client copyafter installing the J2EEengine for the SAPWeb AS. 1. In the left frame choose Server &#8594; Services &#8594;Configuration Adapter2. In the tab Display Configuration (right frame) choose Switch between view and edit mode to activate the edit mode.3. Choose cluster_data &#8594; server &#8594; cfg &#8594; services &#8594; Propertysheet com.sap.security.core.ume.service4. Choose Show the detail of the selected node5. The parameter ume.r3.connection.master.client must be set to your SAP Exchange Infrastructure client. Adapt the value if necessary.

Former Member
0 Kudos

No Luck

This is what i found in System log file

SAPEngine_System_Thread[impl:5]_81##0#0#Info#1#com.sap.engine.services.dbpool.deploy.ContainerImpl#Plain###DataSources or DataSource aliases of 'failover Service' application started successfully.#

#1.5#000E7FFD9B69001E00000005000014AC00041AC94BFB8FED#1155351772357#/System/Server##com.sap.engine.services.dbpool.deploy.ContainerImpl#######SAPEngine_System_Thread[impl:5]_81##0#0#Info#1#com.sap.engine.services.dbpool.deploy.ContainerImpl#Plain###DataSources or DataSource aliases of 'sl.ut.infoprovider Library' application started successfully.#

#1.5#000E7FFD9B69001E00000006000014AC00041AC94BFBAFEE#1155351772373#/System/Server##com.sap.engine.services.dbpool.deploy.ContainerImpl#######SAPEngine_System_Thread[impl:5]_81##0#0#Info#1#com.sap.engine.services.dbpool.deploy.ContainerImpl#Plain###DataSources or DataSource aliases of 'bimmrdb Library' application started successfully.#

#1.5#000E7FFD9B69001E00000007000014AC00041AC94BFBCA4B#1155351772373#/System/Server##com.sap.engine.services.dbpool.deploy.ContainerImpl#######SAPEngine_System_Thread[impl:5]_81##0#0#Info#1#com.sap.engine.services.dbpool.deploy.ContainerImpl#Plain###DataSources or DataSource aliases of 'tcTechSrvXML_DAS_Connector Library' application started successfully.#

#1.5#000E7FFD9B69001E00000008000014AC00041AC94BFBD13E#1155351772373#/System/Server##com.sap.engine.core.service630.container.ServiceRunner#######SAPEngine_System_Thread[impl:5]_81##0#0#Info#1#com.sap.engine.core.service630.container.ServiceRunner#Plain###Service dbpool started. (2891 ms).#

#1.5#000E7FFD9B69001F0000000B000014AC00041AC94C77CEE5#1155351780514#/System/Server##com.sap.engine.core.service630.container.ServiceRunner#######SAPEngine_System_Thread[impl:5]_57##0#0#Error#1#com.sap.engine.core.service630.container.ServiceRunner#Plain###Service com.sap.security.core.ume.service error. Nested exception is: com.sap.engine.frame.ServiceException: Connect to SAP gateway failed

Connect_PM TYPE=A ASHOST=daisy SYSNR=00 GWHOST=daisy GWSERV=sapgw00 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR connection to partner '15.70.176.190:sapgw00' broken

TIME Sat Aug 12 08:32:59 2006

RELEASE 700

COMPONENT NI (network interface)

VERSION 38

RC -6

MODULE nixxi.cpp

LINE 4235

DETAIL NiIRead

SYSTEM CALL recv

ERRNO 10054

ERRNO TEXT WSAECONNRESET: Connection reset by peer

COUNTER 4

at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:726)

at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)

at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:211)

at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)

at com.sap.engine.frame.core.thread.Task.run(Task.java:64)

at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:74)

at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:100)

Caused by: com.sap.security.core.persistence.datasource.PersistenceException: Connect to SAP gateway failed

Connect_PM TYPE=A ASHOST=daisy SYSNR=00 GWHOST=daisy GWSERV=sapgw00 PCS=1

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR connection to partner '15.70.176.190:sapgw00' broken

TIME Sat Aug 12 08:32:59 2006

RELEASE 700

COMPONENT NI (network interface)

VERSION 38

RC -6

MODULE nixxi.cpp

LINE 4235

DETAIL NiIRead

SYSTEM CALL recv

ERRNO 10054

ERRNO TEXT WSAECONNRESET: Connection reset by peer

COUNTER 4

at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:1716)

at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:1949)

at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:314)

at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:91)

at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:53)

at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:723)

... 6 more

#

#1.5#000E7FFD9B69001F0000000D000014AC00041AC94C77D700#1155351780514#/System/Server##com.sap.engine.core.service630.container.ServiceRunner#######SAPEngine_System_Thread[impl:5]_57##0#0#Error#1#/System/Server#Plain###Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.#

#1.5#000E7FFD9B69001F0000000F000014AC00041AC94C77DB09#1155351780514#/System/Server##com.sap.engine.core.Framework#######SAPEngine_System_Thread[impl:5<b>]_57##0#0#Fatal#1#com.sap.engine.core.Framework#Plain###Critical shutdown was invoked. Reason is: Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.#</b>

<b>Any idea what is going wrong with com.sap.security.core.ume.service.</b>

Thanks,

Amit

Former Member
0 Kudos

Hi,

Increase the virtual memory of the system on which the WAS is running. Then restart the J2EE Server.

Also following instructions in SAP Note 723909 regarding the Java VM Settings.

Regards

Srini