Have you test changing the parameters of ashost? often it can cause similar problems, check if router String something like
"/H/...", followed of the name of host you have it in the parameter of ashost.
For example check it in this string of example:
mConnection JCO.createClient("100","userid","pw","DE", "/H/SAPROUTER2.HCC.UNI- MAGDEBURG.DE/S/3299/H/A22Z","A22");
I hope that it serves to you!
Albert