Skip to Content
0
Former Member
Feb 06, 2014 at 11:33 AM

MobiLink communication error Android SUP

164 Views

Can anyone help me in solving the error

com.sybase.persistence.SynchronizeException: com.ianywhere.ultralitejni12.implementation.JniException: UltraLiteJ Error[-1305]: MobiLink communication error -- code: 63, parameter: , system code: 110Details:

02-06 10:54:16.434: W/System.err(758): StreamErrorCode = 63

We have been trying to pull data from the Unwired Server Platform to our android app, but so far it does not work.The application registration is being done successfully but we have a problem while synchronizing.

We have followed the sample codes that SUP provided. But when we run the sample application, we got the above error.

The process we are following is like this:

1.Establishing Connection/Registration


Application app = Application.getInstance();

XXXDB.registerCallbackHandler(new CustomerDBCallback());

XXXDB.setApplication(app);

XXXDB.getSynchronizationProfile().setServerName(HOST);

ConnectionProperties connProps = app.getConnectionProperties();

LoginCredentials loginCredentials = new LoginCredentials(USERNAME, PASSWORD);

connProps.setLoginCredentials(loginCredentials);

connProps.setServerName(HOST);

connProps.setPortNumber(PORT); //5001

if (app.getRegistrationStatus() != RegistrationStatus.REGISTERED) {

app.registerApplication(600);

} else {

app.startConnection(600);

}

THIS Step 1 is always successful.

2. Synchronization:

ConnectionProfile cp = XXXDB.getSynchronizationProfile();

cp.setUserName(USERNAME);

cp.setPassword(PASSWORD);

cp.setServerName(HOST);

cp.setPortNumber(2480);

cp.setNetworkProtocol("http");

cp.setAsyncReplay(true);

cp.setDomainName("default");

cp.save();

Now, it tries for a while to Syncronize from the server and it fails with Mobilink Communication Error Code 63.


Am attaching the error log.Any help and info regarding this error is greatly appreciated.

Thanks

priti

Attachments

log_sup.txt.zip (648 B)