on 12-06-2013 7:34 AM
Hi,
I am trying to connect my android application with SUP Server but I m getting following error :
12-06 13:03:20.606: E/AndroidRuntime(660): Caused by: com.sybase.persistence.SynchronizeException: com.ianywhere.ultralitejni12.implementation.JniException: UltraLiteJ Error[-1305]: MobiLink communication error -- code: 63, parameter: , system code: 110Details:
12-06 13:03:20.606: E/AndroidRuntime(660): StreamErrorCode = 63
12-06 13:03:20.606: E/AndroidRuntime(660): StreamErrorMessage = null
Can you please explain what can be the reason for this exception??
On reason can be wrong input passing to DB from device or wrong device coding. Explain what you are trying to do and what are the steps performed to help you further. More information about this you can find in SCC>servers>logs.
- Midhun VP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mithun,
This is the code which I am using for connection and synchronization :
Application application = ((MyApplication) getApplication()).getApp();
ConnectionProperties connectionProperties = application.getConnectionProperties();
connectionProperties.setServerName("192.168.2.9");
connectionProperties.setPortNumber(5001);
LoginCredentials credentials = new LoginCredentials("supAdmin", "supadmin05");
connectionProperties.setLoginCredentials(credentials);
ConnectionProfile syncProfile = XXXXXXDB.getSynchronizationProfile();
syncProfile.setServerName("192.168.2.9");
syncProfile.setPortNumber(2489);
syncProfile.setNetworkProtocol("http");
syncProfile.setCacheSize(102400);
syncProfile.setAsyncReplay(true);
syncProfile.save();
if (application.getRegistrationStatus() != RegistrationStatus.REGISTERED)
{
application.registerApplication(600);
XXXXXXDB.onlineLogin("supAdmin", "supadmin05");
XXXXXXDB.synchronize();
}
else
{
if (! XXXXXXDB.offlineLogin("supAdmin", "supadmin05"))
{
XXXXXXDB.onlineLogin("supAdmin", "supadmin05");
Log.d("MainActivity", "***done with online login.");
}
}
The device on SCC is shown Online and I m not using any relay server.
Hi Anu,
Is user showing online in SCC?
are you using relay server for your app development?
can you share how exactly (could be your sync code) you are syncing data with sup from device?
Rgrds,
Jitendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.