Well, this is an effort to cut down time on troubleshooting the JCO connections in Netweaver Enterprise Portal 2004s
Following are the common errors observed and solution to them are provided.
Path: Drive/system32/drivers/etc/
Login to the backend system.
Login to the SLD via http://FQDN:portnumber/sld
Choose the Technical system and choose the message server and add the logon group there.
Come back to the JCO that you want to test and select the same logon group here as well.
Test the JCO.
Add the correct client number while testing/configuring the JCO.
Check the User Name and Password defined .
Used Method might have to be chosen as Logon ticket
Change to user id/password, it will get resolved.
If you are using the used method as X.509 certificate.
Change the used method to either Logon ticket or user/password
Following are the common errors observed and solution to them are provided.
1)
Error:
com.sap.mw.jco.JCO$Exception:
(102) RFC_ERROR_COMMUNICATION: Connect to message server host failed
Connect_PM TYPE=B MSHOST=ptgsap10 GROUP=SPACE R3NAME=EC6 MSSERV=sapmsEC6
PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR partner '192.x.x.x:sapmsEC6'
not reached TIME Fri Sep 19 14:21:52 2008 RELEASE 700 COMPONENT NI (network
interface) VERSION 38 RC -10 MODULE nixxi.cpp LINE 2770 DETAIL NiPConnect2
SYSTEM CALL connect ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection
refused COUNTER 1
|
Solution :
Check if the ECC system exists and also check whether Technical system is configured properly.
Check if the ECC system exists and also check whether Technical system is configured properly.
Error:
com.sap.mw.jco.JCO$Exception:
(102) RFC_ERROR_COMMUNICATION: Connect to message server host failed
Connect_PM TYPE=B MSHOST=sapde600 GROUP=PUBLIC R3NAME=DE6 MSSERV=sapmsDE6
PCS=1 ERROR service 'sapmsDE6' unknown TIME Fri Sep 19 08:44:13
2008 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -3 MODULE
nixxhsl.cpp LINE 776 DETAIL NiHsLGetServNo: service name cached as unknown
COUNTER 1
|
or
com.sap.mw.jco.JCO$Exception:
(102) RFC_ERROR_COMMUNICATION: Connect to message server host failed
Connection parameters: TYPE=B DEST=<Java Rfc client> MSHOST=recc-puc2
R3NAME=REP GROUP=PUBLIC PCS=1 ERROR partner '172.x.x.x:sapmsREP' not reached
TIME Fri Aug 16 10:49:55 2013 RELEASE 720 COMPONENT NI (network interface)
VERSION 40 RC -10 MODULE nixxi.cpp LINE 3284 DETAIL NiPConnect2:
172.16.36.181:3690 SYSTEM CALL connect ERRNO 239 ERRNO TEXT Connection
refused COUNTER 1
Solution :
On the portal server in services
file, add the following entry.
sapmsDE6 3600/tcp # SAP System Messaging Service Port.
Note: DE6 = SID of the Portal.
For Windows:
Path: Drive/system32/drivers/etc/
For Unix.
path : root/etc/services
Error:
com.sap.mw.jco.JCO$Exception:
(102) RFC_ERROR_COMMUNICATION: Connect to message server host failed
Connect_PM TYPE=B MSHOST=qashost GROUP=ABC R3NAME=QAS MSSERV=sapmsQAS PCS=1
ERROR Group ABC not found TIME Fri Sep 19 14:30:18 2008 RELEASE
700 COMPONENT LG VERSION 5 RC -6 MODULE lgxx.c LINE 4298 DETAIL LgIGroupX
COUNTER 1
|
Solution :
Check the LOGON Group .
Procedure:
Login to the backend system.
Go to the transaction SMLG and check the Logon
Group.
Login to the SLD via http://FQDN:portnumber/sld
Choose the Technical system and choose the message server and add the logon group there.
Come back to the JCO that you want to test and select the same logon group here as well.
Test the JCO.
4)
Error:
com.sap.mw.jco.JCO$Exception:
(103) RFC_ERROR_LOGON_FAILURE: User XXX USER has no RFC authorization for
function group SYST
|
Solution :
Add the correct client number while testing/configuring the JCO.
Check the
authorizations for XXX USER.
5)
Error:
com.sap.mw.jco.JCO$Exception:
(103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect
(repeat logon)
|
Solution :
Check the User Name and Password defined .
Error:
com.sap.mw.jco.JCO$Exception:
(103) RFC_ERROR_LOGON_FAILURE: User J2EE_ADMIN has no RFC authorization for
function group SYST.
|
Solution :
Used Method might have to be chosen as Logon ticket
Change to user id/password, it will get resolved.
7)
Error:
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException:
Failed to enrich connection properties
|
Solution :
If you are using the used method as X.509 certificate.
Change the used method to either Logon ticket or user/password
8)
Error:
com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException:
type com.sap.tut.wd.flightbooking.model.types.S_Reserv could not be loaded:
com.sap.dictionary.runtime.DdException: Type
com.sap.tut.wd.flightbooking.model.types.S_Reserv does not exist
|
Solution :
Re-start your J2EE server or
Re-import the model.