on 05-31-2006 8:53 AM
Hi,
I am trying to set up two JCO connections, but I get the following error message:
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=por052ilp GROUP=D11 R3NAME=D11 MSSERV=sapmsD11 PCS=1 ERROR hostname 'por052ilp' unknown TIME Wed May 31 09:39:26 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -2 MODULE ninti.c LINE 336 DETAIL NiPGetHostByName2: hostname 'por052ilp' not found SYSTEM CALL gethostbyname_r ERRNO 11004 ERRNO TEXT WSANO_DATA: Valid name, no data record of requested type COUNTER 1
When I ping the connection I get:
Failed to ping JCo destination 'WD_FLIGHTLIST_MODELDATA_DEST'
I think maybe I have to do some configurations in J2EE Visual Admin. Until now I have just configured the SLD Data Supplier, do I have to do something in JCo RFC Provider service?
Kind regards
Øyvind Isaksen
Hi,
In Content Administrator -> Technical System Browser I can see that the Dispatcher port for por052ilp is set to 3297.
In the file 'services' I add:
sapmsD11 3603/tcp
How can I know if this port is the right one to use? (It is not used by any other hosts before.)
When I tried again, the same error message was shown, I even tried to change the pwd to uppercase.
Kind regards
Øyvind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it's working now, thank you for your helpful answers!
Best Regards
Øyvind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
GOOD
GO THROUGH THIS LINKS WHICH WILL GIVE YOU DETAIL ABOUT THE JCO CONNECTION.
http://www.huihoo.org/openweb/jco_api/com/sap/mw/jco/JCO.Connection.html
https://media.sdn.sap.com/javadocs/NW04/SPS15/jc/com/sap/mw/jco/class-use/JCO.Connection.html
THANKS
MRUTYUN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Thomas!
I tried to do that, but then I got a new error:
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM TYPE=B MSHOST=por052ilp GROUP=D11 R3NAME=D11 MSSERV=sapmsD11 PCS=1 ERROR partner not reached (host por052ilp, service sapmsD11) TIME Wed May 31 10:59:07 2006 RELEASE 640 COMPONENT NI (network interface) VERSION 37 RC -10 MODULE nixxi_r.cpp LINE 8663 DETAIL NiPConnect2 SYSTEM CALL SiPeekPendConn ERRNO 10061 ERRNO TEXT WSAECONNREFUSED: Connection refused COUNTER 2
And still I can't ping the connection.. Any ideas?
Kind regards
Øyvind
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Jorn!
No, the JCo RFC Provider service is only meant for doing RFC calls from ABAP to Java.
Try to insert the host 'por052ilp' with IP- into file 'WINDOWS\system32\drivers\etc\hosts'.
Regards,
Thomas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.