on 07-03-2014 1:47 PM
Hi, I'm starting development with SAP JCo 3 and following the documentation and examples.
When I execute the line:
lo_server | = | JCoServerFactory.getServer(is_server_name); |
I got the error:
com.sap.conn.jco.JCoException: (106) JCO_ERROR_RESOURCE: Server VSPAGUE does not exist
I'm generating the properties file (just for test purpose) like this:
lo_server_properties.setProperty(ServerDataProvider.JCO_GWHOST, "/H/155.56.49.28/H/cpe1601");
lo_server_properties.setProperty(ServerDataProvider.JCO_GWSERV, "sapgw00");
lo_server_properties.setProperty(ServerDataProvider.JCO_PROGID, "VSPAGUE");
I don't know too much about SAP, but I need to use JCo because of our internal structure.
I need some help to find out what's the problem here.
Hi Rodrigo,
Can you try with JCO 2.3 (32/64 bit ) based on version of your system.
Secondly please maintain host file entry on the system where you develop application and you establish connection to SAP
Host file entry should look like
<ip address of VSPAGUE> VSPAGUE
Also check whether JCO.GWHOST entries are correctly maintained "H/155.56.49.28/H/cpe1601"
You can either use only IP or hostname instead of full string.
Hope this helps.
Regards,
Deepak Kori
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 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.