cancel
Showing results for 
Search instead for 
Did you mean: 

Diagnostics Self-check error

Former Member
0 Kudos

Dear Experts,

I´m getting the following error when perform the Solution Manager Diagnostics Self-check on java systems:

An unexpected error occured

Check Group Name: Connectivity to managed systems

Check Name: Agent connectivity

details::

java.lang.IllegalStateException: Cannot get SMD Remote Service ws, message has been logged in SMD Agent logs: failed to retrieve service com.sap.smd.agent.application.checks.ws

at com.sap.smd.agent.plugin.webservice.check.WSClientCheckService.getConnectorService(WSClientCheckService.java:75)

at com.sap.smd.agent.plugin.webservice.check.WSClientCheckService.checkWSConnector(WSClientCheckService.java:64)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:324)

at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:161)

at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:330)

at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:201)

at com.sap.engine.services.rmi_p4.DispatchImpl.run(DispatchImpl.java:721)

at java.lang.Thread.run(Thread.java:534)

in the SMD agent log I see the following:

Aug 31, 2011 4:00:33 PM [Thread[Reconnect,5,main]] Error com.sap.smd.wily.hostagent.destination.JCODestination - init(): SM2|SAPSOMA2_SM2_98

com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed

Connect_PM TYPE=A ASHOST=SAPSOMA2.lma.local SYSNR=98 GWHOST=SAPSOMA2.lma.local GWSERV=sapgw98 PCS=1

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

ERROR partner 'SAPSOMA2.lma.local:sapgw98' not reached

TIME Wed Aug 31 16:00:33 2011

RELEASE 701

COMPONENT NI (network interface)

VERSION 38

RC -10

MODULE nixxi.cpp

LINE 2835

DETAIL NiPConnect2

SYSTEM CALL connect

ERRNO 10061

ERRNO TEXT WSAECONNREFUSED: Connection refused

COUNTER 3

at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:518)

at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1086)

at com.sap.mw.jco.JCO$Client.connect(JCO.java:3256)

at com.sap.mw.jco.JCO$Pool.initPool(JCO.java:4726)

at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:6181)

at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:6136)

at com.sap.mw.jco.JCO.getClient(JCO.java:8804)

at com.sap.mw.jco.JCO$Repository.getRepositoryClient(JCO.java:20518)

at com.sap.mw.jco.JCO$Repository.queryFunctionInterface(JCO.java:20598)

at com.sap.mw.jco.JCO$Repository.getFunctionInterface(JCO.java:20706)

at com.sap.mw.jco.JCO$BasicRepository.getFunctionTemplate(JCO.java:19744)

at com.sap.smd.wily.hostagent.destination.JCODestination.init(JCODestination.java:55)

at com.sap.smd.wily.hostagent.destination.JCODestination.open(JCODestination.java:45)

at com.sap.smd.wily.hostagent.action.ReconnectAction.doRun(ReconnectAction.java:35)

at com.sap.smd.wily.hostagent.action.AbstractAction.run(AbstractAction.java:53)

at com.wily.EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:728)

at java.lang.Thread.run(Thread.java:534)

Any ideas??

Thanks!

Diego.

Edited by: Diego Ignacio Yaryura on Aug 31, 2011 9:06 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check,

- if the SMD agent is up and running.

- error shows ''SAPSOMA2.lma.local:sapgw98". Verify the hostname is correct. 'sapgw98' should be defined in the services file.

Regards,

Srikishan

Former Member
0 Kudos

Srikishan,

First of all, thanks for tour help.

In the SAP MMC, the SMD is in green status, but if i check the developer trace i get this:

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

[Thr 6872] Wed Aug 31 13:28:07 2011

[Thr 6872] JLaunchISetState: change state from [Initial (0)] to [Initial (0)]

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

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

[Thr 6872] Wed Aug 31 13:28:09 2011

[Thr 6872] JLaunchISetState: change state from [Starting (2)] to [Running (3)]

[Thr 5216] Wed Aug 31 13:28:14 2011

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

[Thr 5216] Wed Aug 31 13:28:26 2011

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

[Thr 5216] JHVM_RegisterNatives: registering methods in com.sap.i18n.cp.ConverterJNI

[Thr 5216] ***LOG S98=> STISearchConv, no conv (11744576) [r3cpic.c 6123]

[Thr 5216]

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

*

[Thr 5216] * LOCATION CPIC (TCP/IP) on local host with Unicode

[Thr 5216] * ERROR no conversation found with id 11744576

[Thr 5216] *

  • TIME Wed Aug 31 13:28:26 2011

[Thr 5216] * RELEASE 701

[Thr 5216] * COMPONENT CPIC (TCP/IP) with Unicode

[Thr 5216] * VERSION 3

[Thr 5216] * RC 473

[Thr 5216] * MODULE r3cpic.c

[Thr 5216] * LINE 6124

[Thr 5216] * COUNTER 1

[Thr 5216] *

[Thr 5216] *****************************************************************************

[Thr 5216]

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

*

[Thr 5216] * LOCATION CPIC (TCP/IP) on local host with Unicode

[Thr 5216] * ERROR illegal parameter value ( function=SAP_CMTIMEOUT2 /

  • parameter=conversation_ID / value=11744576 )

[Thr 5216] *

  • TIME Wed Aug 31 13:28:26 2011

[Thr 5216] * RELEASE 701

[Thr 5216] * COMPONENT CPIC (TCP/IP) with Unicode

[Thr 5216] * VERSION 3

[Thr 5216] * RC 769

[Thr 5216] * MODULE r3cpic.c

[Thr 5216] * LINE 7340

[Thr 5216] * COUNTER 2

[Thr 5216] *

[Thr 5216] *****************************************************************************

[Thr 5216] Wed Aug 31 13:28:28 2011

[Thr 5216] ***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 2835]

[Thr 5216] *** ERROR => NiPConnect2: SiPeekPendConn failed for hdl 0 / sock 2608

(SI_ECONN_REFUSE/10061; I4; ST; 10.101.1.32:3398) [nixxi.cpp 2835]

[Thr 5216] *** ERROR => GwIConnect: GwConnect to SAPSOMA2.lma.local / sapgw98 failed (rc=NIECONN_REFUSED) [gwxx.c 296]

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

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

[Thr 5216] ***LOG S0S=> GwIConnect, GwConnect (sapgw98) [gwxx.c 301]

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

[Thr 5216]

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

*

[Thr 5216] * LOCATION CPIC (TCP/IP) on local host with Unicode

[Thr 5216] * ERROR partner 'SAPSOMA2.lma.local:sapgw98' not reached

[Thr 5216] *

  • TIME Wed Aug 31 13:28:28 2011

[Thr 5216] * RELEASE 701

[Thr 5216] * COMPONENT NI (network interface)

[Thr 5216] * VERSION 38

[Thr 5216] * RC -10

[Thr 5216] * MODULE nixxi.cpp

[Thr 5216] * LINE 2835

[Thr 5216] * DETAIL NiPConnect2

[Thr 5216] * SYSTEM CALL connect

[Thr 5216] * ERRNO 10061

[Thr 5216] * ERRNO TEXT WSAECONNREFUSED: Connection refused

[Thr 5216] * COUNTER 3

[Thr 5216] *

[Thr 5216] *****************************************************************************

So, it seems that the same error is there, at SMD starting time.

The ports 3300 and 3389 are open, but the port 3398 seems to be closed. how can I check or configure the gateway parameters??

Thanks,

Diego.

Former Member
0 Kudos

Dear Experts,

I have updated my Solution Manager EHP1 to SPS27 and the problem no longer occurs.

Thread closed.

Thanks,

Diego.

Answers (0)