Quantcast
Channel: SCN : All Content - SAP NetWeaver Application Server
Viewing all articles
Browse latest Browse all 2997

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 2997

Trending Articles