Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.

  at com.sap.conn.jco.rt.DefaultDestinationManager.update(DefaultDestinationManager.java:208)

  at com.sap.conn.jco.rt.DefaultDestinationManager.searchDestination(DefaultDestinationManager.java:374)

  at com.sap.conn.jco.rt.DefaultDestinationManager.getDestinationInstance(DefaultDestinationManager.java:89)

  at com.sap.conn.jco.JCoDestinationManager.getDestination(JCoDestinationManager.java:77)

  at org.cone.sap.StepByStepClient.step1Connect(StepByStepClient.java:80)

  at org.cone.sap.Test.main(Test.java:14)

Former Member
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.

Best regards,

Stefan

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question