cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronization Exception while synchronizing DB on SUP Server

Former Member
0 Kudos

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??

Accepted Solutions (1)

Accepted Solutions (1)

midhun_vp
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.

midhun_vp
Active Contributor
0 Kudos

The default sync port is 2480 but you are using 2489. Have you changed default to this port, if not use 2480 for sync?

- Midhun VP

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

 syncProfile.setPortNumber(2489);

could you plz cross check once again about sync port.. by default, it is 2480

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Please check once

Former Member
0 Kudos

Sorry guys it was my mistake. I put wrong replication port.

Answers (1)

Answers (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

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