Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

MobiLink communication error when calling synchronize() in Android Virtual Device (using Ultralite)

311 views
Skip to first unread message

syc

unread,
Jul 5, 2011, 12:25:35 PM7/5/11
to
Hi,

I need some help, hopefully someone can help me get over this error as
I have tried searching the Sybase documentation but still can't find a
solution to it.

I have already setup my mobiLink server to listen using HTTP protocol
at Port 80 and the mobiLink server is already up and running. When it
hits conn.synchronize() method, I was thrown with an error when I run
it on the Android simulator (AVD).

SyncParms syncParms =
conn.createSyncParms(SyncParms.HTTP_STREAM, "OPS_ML_USER",
"OPS_SYNC_SCRIPT_VERSION" );
StreamHTTPParms streamParms = syncParms.getStreamParms();
streamParms.setHost("10.0.2.2");
streamParms.setPort(80);
conn.synchronize(syncParms); << ---- Error got thrown in my
Android Logcat when it hits this line.
conn.release();

Error display at the Logcat:

07-05 16:07:45.532: VERBOSE/com.test.ops.dbase.PersonDB(339): -
Exception com.ianywhere.ultralitejni12.implementation.JniException:
UltraLiteJ Error[-1305]: MobiLink communication error -- code: 58,
parameter: , system code: %3

Please help me. Thanks.

rj.cho...@gmail.com

unread,
Jul 11, 2014, 7:57:37 AM7/11/14
to
Did you got it working? If yes, what was the solution, please share I have exact same issue right now.

Regards
Rahul
0 new messages