cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot start java - "Connect to message server host failed

Former Member
0 Kudos

Dear SAP gurus,

I performed a system copy of a SAP ERP 6.0 system but I cannot start java on my new system. I found out that the system is trying to access to the old MSHOST, R3NAME and MSSERV. I guess these parameters are changed on the configtool but I couldnt find them anywhere. Can you guys suggest me how to find them?

std_server0.out log:

Mar 15, 2012 5:21:31 PM         com.sap.security.core.persistence [SAPEngine_System_Thread[impl:5]_57] Fatal: Initialization of ABAP data source (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed: "Connect to message

server host failed

Connect_PM  TYPE=B MSHOST=<OLD host server> GROUP=PUBLIC R3NAME=<OLD SID> MSSERV=<sapms<OLD SID>> PCS=1

ERROR       service <sapms<OLD SID>> unknown

TIME        Thu Mar 15 17:21:31 201

RELEASE     700

COMPONENT   NI (network interface)

VERSION     38

RC          -3

MODULE      niuxi.c

LINE        1732

DETAIL      NiPGetServByName2: service<sapms<OLD SID>>' not found

SYSTEM CALL getservbyname_r

COUNTER     1

". This message is critical if it appears during the startup of the AS Java.

Mar 15, 2012 5:21:31 PM  ...re.server.ume.service.UMEServiceFrame [SAPEngine_System_Thread[impl:5]_57] Fatal:

  service com.sap.security.core.ume.service ================= ERROR =================

Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.

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

Thanks in advance, Marc

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check this wiki for known java startup issues

http://wiki.sdn.sap.com/wiki/display/EP/Troubleshooting+SAP+Java+Connector+%28JCo%29

please let us know if ABAP is fine. also provide the logs for dev_rd.out

Regards,

Venkata S Pagolu

Former Member
0 Kudos

Hi Venkata,

ABAP works fine.

I checked those issues and no one is the one we are currently having.

more dev_rd

---------------------------------------------------

trc file: "dev_rd", trc level: 1, release: "700"

---------------------------------------------------

Fri Mar 16 09:32:23 2012

***LOG S00=> GwInitReader, gateway started ( 18436) [gwxxrd.c     1757]

systemid   390 (AMD/Intel x86_64 with Linux)

relno      7000

patchlevel 0

patchno    183

intno      20050900

make:      single threaded, Unicode, 64 bit, optimized

pid        18436

gateway runs with dp version 241000(ext=110000) (@(#) DPLIB-INT-VERSION-241000-UC)

gateway (version=700.2008.06.23)

gw/local_addr : 0.0.0.0

CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.

CCMS: Initalizing shared memory of size 60000000 for monitoring segment.

CCMS: Checking Downtime Configuration of Monitoring Segment.

Bind service sapgw00 (socket) to port 3300

GwPrintMyHostAddr: my host addresses are :

  1 : [172.16.8.177] eccsbx02.sceur.ch (HOSTNAME)

  2 : [127.0.0.1] localhost (LOCALHOST)

  3 : [127.0.0.2] 127.0.0.2 (NILIST)

Full qualified hostname = eccsbx02.sceur.ch

DpSysAdmExtCreate: ABAP is active

DpSysAdmExtCreate: VMC (JAVA VM in WP) is not active

DpShMCreate: sizeof(wp_adm)             29784   (1752)

DpShMCreate: sizeof(tm_adm)             6009216 (29896)

DpShMCreate: sizeof(wp_ca_adm)          28800   (96)

DpShMCreate: sizeof(appc_ca_adm)        9600    (96)

DpCommTableSize: max/headSize/ftSize/tableSize=500/8/548056/548064

DpShMCreate: sizeof(comm_adm)           548064  (1088)

DpSlockTableSize: max/headSize/ftSize/fiSize/tableSize=0/0/0/0/0

DpShMCreate: sizeof(slock_adm)          0       (104)

DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0

DpShMCreate: sizeof(file_adm)           0       (72)

DpShMCreate: sizeof(vmc_adm)            0       (2008)

DpShMCreate: sizeof(wall_adm)           (40056/36728/80/192)

DpShMCreate: sizeof(gw_adm)     48

DpShMCreate: SHM_DP_ADM_KEY             (addr: 0x2b18a9ca5000, size: 6711440)

DpShMCreate: allocated sys_adm at 0x2b18a9ca5000

DpShMCreate: allocated wp_adm at 0x2b18a9ca7280

DpShMCreate: allocated tm_adm_list at 0x2b18a9cae6d8

DpShMCreate: allocated tm_adm at 0x2b18a9cae738

DpShMCreate: allocated appc_ca_adm at 0x2b18aa270938

DpShMCreate: allocated comm_adm at 0x2b18aa272eb8

DpShMCreate: system runs without slock table

DpShMCreate: system runs without file table

DpShMCreate: allocated vmc_adm_list at 0x2b18aa2f8b98

DpShMCreate: allocated gw_adm at 0x2b18aa2f8c18

DpShMCreate: system runs without vmc_adm

DpShMCreate: allocated ca_info at 0x2b18aa2f8c48

MtxInit: -2 0 0

Fri Mar 16 09:32:36 2012

GwDpInit: attached to gw_adm at 0x2b18aa2f8c18

here the hostname is correct.

Still dont know where it comes from this error:

Connect_PM  TYPE=B MSHOST=<server host name> GROUP=PUBLIC R3NAME=SHP MSSERV=sapmsSHP PCS=1

ERROR       service 'sapmsSHP' unknown

TIME        Fri Mar 16 09:33:53 201

RELEASE     700

COMPONENT   NI (network interface)

VERSION     38

RC          -3

MODULE      niuxi.c

LINE        1732

DETAIL      NiPGetServByName2: service 'sapmsSHP' not found

SYSTEM CALL getservbyname_r

COUNTER     1

Regards, Marc

Former Member
0 Kudos

Hi,

Did you checked in configtool if it contains the correct hostname and ports as it is refreshed from source, there is a chance of existing source details.

Regards,

Venkata S Pagolu

Former Member
0 Kudos

Hi Venkata,

Yes, I checked "com.sap.security.core.ume.service" properties but all entries related are with the right SID and host name.

Regards, Marc

Former Member
0 Kudos

Hi,

I asked to check for message server port and hostname details.

login to config tool

1. Select Message Server & Bootstrap.  

  1. In the Message Server settings pane you can view and edit:
  2. Message server host
  3. Message server port
  4. Enter the new value and choose File ® Apply.

Regards,

Venkata S Pagolu

Former Member
0 Kudos

Hi Marc,

Just to add up .. You can click on the Instance ID **** where on the right side you can find Message server and Bootstrap settings as mentioned by Venkat.

Thanks,

Jagadish.

Former Member
0 Kudos

Thanks guys I managed to correct the issue by changes those parameters on configtool. After that, I had to upgrade the kernel so the java stack is now up and running.

Best Regards, Marc

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Marc,

Can you go UME key store administration in Config tool -> Services and check the entries starting with R3master..

There you can find all the values.

Thanks,

Jagadish.

Former Member
0 Kudos

Hih Jagadish,

Can you be more specific?

I checked the properties on com.sap.security.core.ume.service in cofigtool but everything looks fine.

Any other idea?

thanks, Marc