cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to start J2EE Engine after system copy

Former Member
0 Kudos

Hi experts,

J2EE Engine is not up after system copy

Dispatcher --stopped

Server0 -- Stopped

SDM -- running

I am facing given below errror

#1.#00306E036AC800230000001D0000715C000465D5D04B61BF#1237868903882#com.sap.engine.core.service630.container.ServiceRunner##com.sap.engine.core.service630.container.ServiceRunner#######SAPEngine_System_Thread[impl:5]_102##0#0#Error#1#/System/Server#Plain###Service com.sap.security.core.ume.service error. Nested exception is: com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details: Connect to message server host failed

Connect_PM TYPE=B MSHOST=hostname.xxxxxx.com GROUP=PUBLIC R3NAME=SID MSSERV=sapmsSID PCS=1

ERROR Group PUBLIC not found

TIME Mon Mar 23 21:28:23 2009

RELEASE 700

COMPONENT LG

VERSION 5

RC -6

MODULE lgxx_mt.c

LINE 4299

DETAIL LgIGroupX

COUNTER 1

could you please know me what changes need to be done

Thanks & Regards,

Arun

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

And also the log i have seen in dev_server0 is

[Thr 214] * ERROR partner 'localhost:sapgw20' not reached

[Thr 214] *

  • TIME Thu Mar 26 02:03:00 2009

[Thr 214] * RELEASE 700

[Thr 214] * COMPONENT NI (network interface)

[Thr 214] * VERSION 38

[Thr 214] * RC -10

[Thr 214] * MODULE nixxi.cpp

[Thr 214] * LINE 2513

[Thr 214] * DETAIL NiPConnect

[Thr 214] * SYSTEM CALL connect

[Thr 214] * ERRNO 239

[Thr 214] * ERRNO TEXT Connection refused

[Thr 214] * COUNTER 16

[Thr 214] *

[Thr 214] *****************************************************************************

Thu Mar 26 02:03:03 2009

832.403: [GC 832.404: [ParNew: 121939K->36305K(130560K), 0.2678584 secs] 467023K->381390K(1005056K), 0.2688704 secs]

Thu Mar 26 02:03:06 2009

      1. Excluding compile: com.sap.engine.services.webservices.jaxrpc.encoding.InstanceBuilder::readSequence

Thu Mar 26 02:03:14 2009

843.564: [GC 843.565: [ParNew: 123345K->37082K(130560K), 0.2700513 secs] 468430K->382166K(1005056K), 0.2706830 secs]

[Thr 214] Thu Mar 26 02:03:16 2009

[Thr 214] ***LOG Q0I=> NiPConnect: connect (239: Connection refused) [nixxi.cpp 2513]

[Thr 214] *** ERROR => NiPConnect: SiConnect failed for hdl 2 / sock 68

(SI_ECONN_REFUSE/239; I4; ST; 127.0.0.1:3320) [nixxi.cpp 2513]

[Thr 214] *** ERROR => GwIConnect: GwConnect to localhost / sapgw20 failed (rc=NIECONN_REFUSED) [gwxx_mt.c 295]

[Thr 214] ***LOG S0T=> GwIConnect, GwConnect (-0010) [gwxx_mt.c 297]

[Thr 214] ***LOG S0R=> GwIConnect, GwConnect () [gwxx_mt.c 299]

[Thr 214] ***LOG S0S=> GwIConnect, GwConnect (sapgw20) [gwxx_mt.c 301]

[Thr 214] ***LOG S90=> SAP_CMREGTP3, GwIConnect ( 236) [r3cpic_mt.c 9624]

[Thr 214]

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

*

Please let me know what needs to be done

Thanks

Arun

Former Member
0 Kudos

Thanks for all your help

Now the sytem status is

Dispatcher --Running

Server0 -- Starting application

SDM -- Running

1)Here the server0 is running for a long time it is not comming in Running status.

what could be the reason?

2) I checkd the log in dev_jrfc.trc

SYSTEM CALL connect

ERRNO 239

ERRNO TEXT Connection refused

COUNTER 24

Return code: RFC_FAILURE(1)

error group: 102

key: RFC_ERROR_COMMUNICATION

Error> occured >Thu Mar 26 01:43:55,821<

RfcException:

message: Connect to SAP gateway failed

Connect parameters: TPNAME=SLD_NUC GWHOST=localhost GWSERV=sapgw20

ERROR partner 'localhost:sapgw20' not reached

TIME Thu Mar 26 01:43:55 2009

RELEASE 700

COMPONENT NI (network interface)

VERSION 38

RC -10

MODULE nixxi.cpp

LINE 2513

DETAIL NiPConnect

SYSTEM CALL connect

ERRNO 239

ERRNO TEXT Connection refused

COUNTER 26

I found in the above error that my system id is 03 but in the log it is showing the sapgw20.

could you please tell me where can i change this

Thanks

Arun

Former Member
0 Kudos

Seems to be the post system copy activity is not done on the server. Still the service is looking for the old hostname.

Please do the post system copy activity. Follow up the SAP Note 831812.

Regards,

JP.

Former Member
0 Kudos

Hi every one

The below are the errors i am facing after system copy ( ours is a HPUX systems with oracle)

std_dispatcher.out :-

-


stdout/stderr redirect

-


node name : dispatcher

pid : 26346

system name : TBI

system nr. : 03

started at : Tue Mar 24 00:30:40 2009

[Thr 1] MtxInit: -2 0 0

Error occurred during initialization of VM

Incompatible initial and maximum heap sizes specified

-


dev_jcontrol:-

[Thr 1] Tue Mar 24 00:30:48 2009

[Thr 1] JStartupICreateProcess: fork process (pid 27389)

[Thr 1] JControlICheckProcessList: process dispatcher started (PID:27389)

[Thr 1] Tue Mar 24 00:30:53 2009

[Thr 1] JControlICheckProcessList: process dispatcher (pid:27389) died (RUN-FLAG)

[Thr 1] JControlIResetProcess: reset process dispatcher

[Thr 1] JControlIResetProcess: [dispatcher] not running -> increase error count (2)

[Thr 1] JControlICheckProcessList: running flight recorder:

/opt/java1.4/bin/java -classpath ../j2ee/cluster/bootstrap/sap.comtcbloffline_launcherimpl.jar

com.sap.engine.offline.OfflineToolStart com.sap.engine.flightrecorder.core.Collector

../j2ee/cluster/bootstrap -node ID36593000 1237879848 -bz /usr/sap/TBI/SYS/global

dev_dispatcher:-

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

Error occurred during initialization of VM

Incompatible initial and maximum heap sizes specified

[Thr 4] JLaunchIAbortJava: abort hook is called

[Thr 4] **********************************************************************

      • ERROR => The Java VM aborted unexpectedly.

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

      • for additional information and trouble shooting.

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

[Thr 4] SigISetIgnoreAction : SIG_IGN for signal 18

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

dev_server0:-

Tue Mar 24 01:38:01 2009

: 420845K->420560K(874496K), 14.1231189 secs] 420877K->420560K(1005056K), [Perm :

196607K->196607K(196608K)], 14.1239930 secs]

Permanent generation is full...

increase MaxPermSize (current capacity is set to: 201326592 bytes)

3988.238: [Full GC 3988.239: [Tenured

Tue Mar 24 01:38:17 2009

: 420560K->376758K(874496K), 16.6324401 secs] 420912K->376758K(1005056K), [Perm :

196607K->187872K(196608K)], 16.6332242 secs]

[Thr 209] ***LOG Q0I=> NiPConnect: connect (239: Connection refused) [nixxi.cpp 2513]

[Thr 209] *** ERROR => NiPConnect: SiConnect failed for hdl 0 / sock 67

(SI_ECONN_REFUSE/239; I4; ST; 127.0.0.1:3320) [nixxi.cpp 2513]

[Thr 209] *** ERROR => GwIConnect: GwConnect to localhost / sapgw20 failed (rc=NIECONN_REFUSED) [gwxx_mt.c

295]

[Thr 209] ***LOG S0T=> GwIConnect, GwConnect (-0010) [gwxx_mt.c 297]

[Thr 209] ***LOG S0R=> GwIConnect, GwConnect () [gwxx_mt.c 299]

[Thr 209] ***LOG S0S=> GwIConnect, GwConnect (sapgw20) [gwxx_mt.c 301]

[Thr 209] ***LOG S90=> SAP_CMREGTP3, GwIConnect ( 236) [r3cpic_mt.c 9624]

[Thr 209]

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

*

[Thr 209] * ERROR partner 'localhost:sapgw20' not reached

[Thr 209] *

  • TIME Tue Mar 24 01:38:17 2009

[Thr 209] * RELEASE 700

[Thr 209] * COMPONENT NI (network interface)

[Thr 209] * VERSION 38

[Thr 209] * RC -10

[Thr 209] * MODULE nixxi.cpp

[Thr 209] * LINE 2513

[Thr 209] * DETAIL NiPConnect

[Thr 209] * SYSTEM CALL connect

[Thr 209] * ERRNO 239

[Thr 209] * ERRNO TEXT Connection refused

[Thr 209] * COUNTER 34

[Thr 209] *

[Thr 209] *****************************************************************************

[Thr 209] ***LOG Q0I=> NiPConnect: connect (239: Connection refused) [nixxi.cpp 2513]

[Thr 209] *** ERROR => NiPConnect: SiConnect failed for hdl 0 / sock 67

(SI_ECONN_REFUSE/239; I4; ST; 127.0.0.1:3320) [nixxi.cpp 2513]

[Thr 209] *** ERROR => GwIConnect: GwConnect to localhost / sapgw20 failed (rc=NIECONN_REFUSED) [gwxx_mt.c

295]

[Thr 209] ***LOG S0T=> GwIConnect, GwConnect (-0010) [gwxx_mt.c 297]

[Thr 209] ***LOG S0R=> GwIConnect, GwConnect () [gwxx_mt.c 299]

[Thr 209] ***LOG S0S=> GwIConnect, GwConnect (sapgw20) [gwxx_mt.c 301]

[Thr 209] ***LOG S90=> SAP_CMREGTP3, GwIConnect ( 236) [r3cpic_mt.c 9624]

[Thr 209]

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

*

[Thr 209] * ERROR partner 'localhost:sapgw20' not reached

[Thr 209] *

  • TIME Tue Mar 24 01:38:17 2009

[Thr 209] * RELEASE 700

[Thr 209] * COMPONENT NI (network interface)

[Thr 209] * VERSION 38

[Thr 209] * RC -10

[Thr 209] * MODULE nixxi.cpp

[Thr 209] * LINE 2513

[Thr 209] * DETAIL NiPConnect

[Thr 209] * SYSTEM CALL connect

[Thr 209] * ERRNO 239

[Thr 209] * ERRNO TEXT Connection refused

[Thr 209] * COUNTER 36

[Thr 209] *

[Thr 209] *****************************************************************************

Tue Mar 24 01:38:29 2009

4016.551: [GC 4016.552: [ParNew: 87040K->4746K(130560K), 0.0959621 secs] 463798K->381504K(1005056K),

0.0966403 secs]

Tue Mar 24 01:38:42 2009

4029.860: [GC 4029.861: [ParNew: 91786K->6230K(130560K), 0.0985674 secs] 468544K->382988K(1005056K),

0.0993517 secs]

Tue Mar 24 01:38:56 2009

4043.551: [GC 4043.552: [ParNew: 93270K->8384K(130560K), 0.0948313 secs] 470028K->385142K(1005056K),

0.0955102 secs]

[Thr 85] Tue Mar 24 01:39:04 2009

[Thr 85] JLaunchISetState: change state from [Starting applications (10)] to [Running (3)]

Tue Mar 24 01:39:15 2009

4062.512: [GC 4062.513: [ParNew: 95423K->9376K(130560K), 0.0944516 secs] 472182K->386135K(1005056K),

0.0951065 secs]

could you please tell me what are changes and where i need to do the changes

Thanks & regards,

Arun

Former Member
0 Kudos

First of all you need to read rules on this forum ....

https://www.sdn.sap.com/irj/scn/wiki?path=/display/home/rulesofEngagement

Next step you need to change the JVM parameters after system copy ...

Are you read the SYSTEM COPY GUIDE ?

Check this note

Note 831812 - Config Tool shows incorrect parameters after System Copy

and set the JVM

per Note 723909 - Java VM settings for J2EE 6.40/7.0

Regadrs. Read rules first ...

Former Member
0 Kudos

Hi Thanks for your reply

Now the status is

Dispathcer -- stopped with 4 errors

Server0 --starting application

SDM -- Running

Earlier i have see the errro in defaultTrace.trc

Bu now i am facing the same error in dev_jrfc.trc in the given below path

/usr/sap/SID /DVEBMGS03/j2ee/cluster/server0

        • Error file opened at 20090323 223233 Pacific Daylight Time Rel 6.45.15 (200

Error> occured >Mon Mar 23 22:32:33,859<

RfcException:

message: Connect to message server host failed

Connect_PM TYPE=B MSHOST=hostname.xxxxxxxx.com GROUP=PUBLIC R3NAME=SID MSSER

ERROR Group PUBLIC not found

TIME Mon Mar 23 22:32:33 2009

RELEASE 700

COMPONENT LG

VERSION 5

RC -6

MODULE lgxx_mt.c

LINE 4299

DETAIL LgIGroupX

COUNTER 1

Return code: RFC_FAILURE(1)

error group: 102

key: RFC_ERROR_COMMUNICATION

could you please tell me what needs to be done

Thanks & regards,

Arun

Former Member
0 Kudos

Arun,

How much RAM and virtual memory is available on server? Please make sure you have 3 to 4 times virtual memory (paging file) of your RAM.

Please find the link below for J2EE startup problem. You can use notes inside this link to set VM parameters just in case.

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e09e4a5e-8280-2a10-ca98-a59dd47d396d]

Manoj

Former Member
0 Kudos

Arun,

go to your Java-Stack an create a new logon group in your java stack which is called PUBLIC (via Netweaver Administrator -> System Management -> Configuration -> Logon Groups). Make sure you also defined this logon group in the ABAP stack. Then try to restart the entire system.

HTH.

André

Former Member
0 Kudos

When go to ABAP side, in SMLG, and create same groups as in yuor source system (in your case need the

PUBLIC group).

Regards.

Former Member
0 Kudos

Error log i found in dev_jcontrol

[Thr 1] Mon Mar 23 22:31:03 2009

[Thr 1] JStartupICreateProcess: fork process (pid 19984)

[Thr 1] JControlICheckProcessList: process server0 started (PID:19984)

[Thr 1] Mon Mar 23 22:32:39 2009

[Thr 1] JControlICheckProcessList: process server0 (pid:19984) died (RUN-FLAG)

[Thr 1] JControlIResetProcess: reset process server0

[Thr 1] JControlIResetProcess: [server0] not running -> increase error count (4 )

[Thr 1] JControlICheckProcessList: running flight recorder:

/opt/java1.4/bin/java -classpath ../j2ee/cluster/bootstrap/sap.comtcbl offline_launcherimpl.jar com.sap.engine.offline.OfflineToolStart com.sap.engin e.flightrecorder.core.Collector ../j2ee/cluster/bootstrap -node ID36593050 12378 72663 -bz /usr/sap/TBI/SYS/global

Thanks

Arun