on 04-23-2007 7:44 AM
Hi experts,
We freshly installed EP 7.0 NW2004s SP09.
We have configured SLD.
Also we have added entry in portal services file for SAP message server. We have restarted portal server too.
I creatd a JCO connection for application data (with SAP logon ticket authentication) from Web Dynporo Content administrator for using it in ESS business package.
When I tested the connection, it is throwing the below given exception.
com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed Connect_PM TYPE=A ASHOST=sapsbox SYSNR=10 GWHOST=sapsbox GWSERV=sapgw10 PCS=1 LOCATION CPIC (TCP/IP) on local host with Unicode ERROR hostname 'sapsbox' unknown TIME Mon Apr 23 10:38:38 2007 RELEASE 700 COMPONENT NI (network interface) VERSION 38 RC -2 MODULE ninti.c LINE 361 DETAIL NiPGetHostByName2: hostname 'sapsbox' not found SYSTEM CALL gethostbyname_r ERRNO 11004 ERRNO TEXT WSANO_DATA: Valid name, no data record of requested type COUNTER 1
can any one help me out of this??
Thanks alot in advance
Shobin
Hi,
U need to do the following thigns in your poral.
1) make entries in the <b>services file </b> in your server Dir. path -> c:\WINDOWS\system32\drivers\etc\services
sapmsDE1 3600/tcp # R/3 System message service port
Check your message port number with your R/3 Basis Admin.Default is
36[instance number]
2)And also in host file
R/3 IP Addr R/3 Server Host Name # SAP R/3 System
for ex:
192.168.40.71 PRODNET # PRODNET System Network IP
3) add the portal IP and host name in
\WINDOWS\system32\drivers\etc\hosts
192.29.10.0 Poratal host.
it might helps you.
thanks,
Lohi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi all,
Thanks alot for all your reply.
The problem got solved.
There was an entry in the host file. But it was FQDN of the sap server. And the JCO connection was trying with only host name (sapsbox). I guess that was the issue.
Thank you so much for your wonderful help. I have assigned points to all of you
Shobin
Hi,
you have to add the entry "sapsbox 36xx/tcp" (replacing xx with the system no of the system ) to your services file at /etc/services (windows: %WINDIR%/system32/drivers/etc).
after that restart the server (otherwise you'll receive another error, regarding caching problems)
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
yeah sapsbox is your r3 server, you need to make its entry in services file.
what is that other entry?
the other entry you are talking about might of your j2ee server, now what you need is r3 systems entry,
so what you add now is , for r3,
sapsbox 36xx/tcp (replace XX with r3 system no of r3 server)
and hey never be worried about being stupid, even we have gone through that and now also sometimes we act stupid...(i hope i am not preaching to u)
let me kno if you are still confused , also you can refer this thread,
regards
Message was edited by:
Abhijeet
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.