cancel
Showing results for 
Search instead for 
Did you mean: 

com.sap.conn.jco.JCoException: (106) JCO_ERROR_RESOURCE: Server VSPAGUE does not exist

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member188883
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thanks for your answer Deepak Kori, but my problem was the incorrect destination name.

Answers (0)