on 11-07-2006 10:29 AM
Hi alll,
please help us in resolving the Error with Jco ........
Even though we have given correct username and Password we are getting Error.
Error is as Below:
RFC_ERROR_COMMUNICATION: Connect to SAP gateway failed,
Connect_PM GWHOST=http://ciber:8000/sap/bc/gui/sap/its/webgui, GWSERV=sapgw00, ASHOST=http://ciber:8000/sap/bc/gui/sap/its/webgui, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR hostname 'http://ciber:8000/sap/bc/gui/sap/its/webgui' unknown
Code related to the above Error is ................
JCO.Pool Pool = JCO.getClientPoolManager().getPool(pool_Name);
JCO.Client mconnection;
if(Pool == null)
{
System.out.println("1");
JCO.addClientPool(pool_Name,10,"100","USER","password","EN","http://ciber:8000/sap/bc/gui/sap/its/webgui","00");
System.out.println("2");
mconnection = JCO.getClient(pool_Name);
System.out.println("3");
System.out.println(mconnection.getAttributes());
}
Waiting for the reply
Thanks and Regards,
Preethi
hi preethi,
from the logs, it says that the SAP gateway is failing.
it seems that you are specifying a wrong host name.
"http://ciber:8000/sap/bc/gui/sap/its/webgui"
>JCO.addClientPool(pool_Name,10,"100","USER","password","EN",
>"<b>http://ciber:8000/sap/bc/gui/sap/its/webgui</b>","00");
try changing this to your ASHostName.
regards
jo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.