sap jco error
Hi I am new to SAP and trying to connect Java program to SAP ECC system. I am not getting the reason of this error.
com.sap.conn.jco.JCoException: (106) JCO_ERROR_RESOURCE: Destination ABAP_AS_WITHOUT_POOL could not be created: java.lang.RuntimeException: File D:\WorkSpace\SAPAuto\sap\.\ABAP_AS_WITHOUT_POOL.jcoDestination does not exist.
Stefan Gass replied
jco.client.type=0 is an invalid value for this property - just like the error message is saying.
As this is optional anyway, please omit it completely. JCo will use the correct type value automatically.
If you are using jco.destination.repository_destination=BCE you would then also need an appropriate file named BCE.jcoDestination. For just getting a working example, I would omit this property as well.
And one more thing: the destination name ABAP_AS_WITHOUT_POOL indicates that it would be a direct logon to an ABAP application server. But you have chosen to configure a logon load balanced configuration with mshost and group. That is OK and will work, the destination name is just an arbitrary name, but it might be confusing for others.