cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Start J2EE Engine Error: Cannot attach to the Messenger

Former Member
0 Kudos

Hi ALL,

I can't make the java start.

follow the logs

jcontrol.log

[Thr 01] INFO: Invalid property value [Debbugable=yes]

[Thr 01] [Node: SDM] java home is set by profile parameter

#Java Home: /usr/java14_64

[Thr 01] JStartupICheckFrameworkPackage: can't find framework package /usr/sap/BWH/SYS/exe/run/jvmx.jar

JStartupIReadSection: read node properties [sdm]

-> node name : SDM

-> node type : sdm

-> node execute : yes

-> java path : /usr/java14_64

-> java parameters :

-> java vm version : J2RE 1.4.2 IBM J9 2.3 AIX ppc64-64 j9ap64142ifx-20070510a (JIT enabled)

-> java vm vendor : IBM J9 VM (IBM Corporation)

-> java vm type : server

-> java vm cpu : ppc64

-> heap size : 256M

-> root path : /usr/sap/BWH/DVEBMGS23/SDM/program

-> class path : /usr/sap/BWH/DVEBMGS23/SDM/program/bin/SDM.jar

-> OS libs path : /usr/sap/BWH/DVEBMGS23/j2ee/os_libs

-> main class : SDMInternal

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

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

-> framework path : /usr/sap/BWH/SYS/exe/run/jstartup.jar:/usr/sap/BWH/SYS/exe/run/jvmx.jar

-> shutdown class : com.sap.sdm.jstartup.shutdown.InternalShutDown

-> parameters : server sdmhome=/usr/sap/BWH/DVEBMGS23/SDM/program

-> debuggable : yes

-> debug mode : no

-> debug port : 60000

-> shutdown timeout : 120000

[Thr 01] ***LOG Q0I=> NiPConnect2: connect (79: Connection refused) [nixxi.cpp 2770]

[Thr 01] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 2 / sock 12

(SI_ECONN_REFUSE/79; I4; ST; 10.196.203.96:3953) [nixxi.cpp 2770]

[Thr 01] *** ERROR => MsIAttachEx: NiBufConnect to mz4e/3953 failed (rc=NIECONN_REFUSED) [msxxi_mt.c 652]

[Thr 01] *** WARNING => Can't attach to message server (mz4e/3953) [rc = -100]-> reconnect [jcntrms_mt.c 368]

[Thr 01] Thu Jan 17 14:48:48 2008

[Thr 01] ***LOG Q0I=> NiPConnect2: connect (79: Connection refused) [nixxi.cpp 2770]

[Thr 01] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 2 / sock 12

(SI_ECONN_REFUSE/79; I4; ST; 10.196.203.96:3953) [nixxi.cpp 2770]

[Thr 01] *** ERROR => MsIAttachEx: NiBufConnect to mz4e/3953 failed (rc=NIECONN_REFUSED) [msxxi_mt.c 652]

[Thr 01] *** WARNING => Can't attach to message server (mz4e/3953) [rc = -100]-> reconnect [jcntrms_mt.c 368]

[Thr 01] Thu Jan 17 14:48:53 2008

[Thr 01] ***LOG Q0I=> NiPConnect2: connect (79: Connection refused) [nixxi.cpp 2770]

[Thr 01] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 2 / sock 12

(SI_ECONN_REFUSE/79; I4; ST; 10.196.203.96:3953) [nixxi.cpp 2770]

[Thr 01] *** ERROR => MsIAttachEx: NiBufConnect to mz4e/3953 failed (rc=NIECONN_REFUSED) [msxxi_mt.c 652]

[Thr 01] *** WARNING => Can't attach to message server (mz4e/3953) [rc = -100]-> reconnect [jcntrms_mt.c 368]

[Thr 01] Thu Jan 17 14:48:58 2008

disp

DpIJ2eeShutdown: j2ee state = SHUTDOWN

Thu Jan 17 14:48:27 2008

J2EE server info

start = TRUE

state = STARTED

pid = 901340

argv[0] = /usr/sap/BWH/SYS/exe/run/jcontrol

argv[1] = jcontrol

argv[2] = pf=/usr/sap/BWH/SYS/profile/BWH_DVEBMGS23_calsaps011

argv[3] = -DSAPSTART=1

argv[4] = -DCONNECT_PORT=64980

argv[5] = -DSAPSYSTEM=23

argv[6] = -DSAPSYSTEMNAME=BWH

argv[7] = -DSAPMYNAME=calsaps011_BWH_23

argv[8] = -DSAPPROFILE=/usr/sap/BWH/SYS/profile/BWH_DVEBMGS23_calsaps011

argv[9] = -DFRFC_FALLBACK=ON

argv[10] = -DFRFC_FALLBACK_HOST=localhost

start_lazy = 0

start_control = SAP J2EE startup framework

DpJ2eeStart: j2ee state = STARTED

DpJ2eeLogin: j2ee state = CONNECTED

Thu Jan 17 14:49:48 2008

DpJ2eeMsgProcess: j2ee state = CONNECTED (NIECONN_BROKEN)

DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=901340)

DpIJ2eeShutdown: j2ee state = SHUTDOWN

Thu Jan 17 14:50:07 2008

DpEnvCheckJ2ee: switch off j2ee start flag

I have the DEV enviroment working but this QAS doesn't.

Could someone help me?

Regards,

Nivia

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Nivia

Check for Java schema user (Default SAPSR3DB) in dba_users table if the account is open or not? It should be open.

If yes check the JAVA users "J2EE_ADMIN", "J2EE_GUEST" and "SAPJSF" in usr02. They should be open.

Try it again and if again fail thry to send the current Java log.

Best Wishes.

Kumar

Former Member
0 Kudos

Hi Kumar,

Thank you!

I was the right way. I've lost the "J2EE_ADMIN", "J2EE_GUEST" because of SYNC of LDAP.

I recreated them and include the users in exception of program.

I restart the JAVA but it didn't work. After restart the whole instance it start sucessfully.

Once more, thank you!

Best wishes,

Nivia

Answers (0)