on 07-30-2012 11:17 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.