cancel
Showing results for 
Search instead for 
Did you mean: 

JCO3 ashost connection error: service '?' unknown (or service '?' unknown)

Former Member
0 Kudos

Hi All,

I have migrated our JCO2 client app in order to use JCO3 from now on. So far, it worked OK, but last week, we got two hot line calls because the JCO3 connection could not be established due to the following error message (ashost, no message server):

service '?' unknown (or service '?' unknown)

I use the following code to connect to the SAP system:

MyDestinationDataProvider myProvider = new MyDestinationDataProvider(

          logonProperties);

...

com.sap.conn.jco.ext.Environment

            .registerDestinationDataProvider(myProvider);

...

m_Destination = JCoDestinationManager.getDestination(m_System);

logonProperties contains the following attributes:

jco.client.client=800

jco.client.ashost=sapsrv

jco.client.user=user

jco.client.passwd=pass

jco.client.lang=DE

jco.client.sysnr=20

jco.client.trace=0

jco.client.abap_debug=0

jco.client.use_sapgui=0

The old JCO2 client app works with the exact same settings!

What could be the problem causing this error message?

Thanks

Konrad

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member191911
Contributor
0 Kudos

Could there be any glitch of the message server on the destination host at that particular time? Did you checked the dev_ms file for errors?

Kr. Mark

Former Member
0 Kudos

Thanks for your answer!

As said, no message server involved and it is a hundred percent reproduceable. So no glitch!

Where can I find the file dev_ms? I only have dev_jco_rfc showing the same error...

Konrad