on 09-23-2013 1:12 PM
hi,
i m facing an issue during synchronisation ie time out exception mobilink communication error code 201 and parameter 128 , can anyone please tell me why this error occurs?
i had already set in my code ie
syncProfile.setServerName(Constants.SERVER_URL);
syncProfile.setPortNumber(Constants.REPLICATION_PORT);
It is able to sync success when i was tried for 2 or 3 times .. can u please tell why it occurs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i had already set in my code ie
syncProfile.setServerName(Constants.SERVER_URL);
syncProfile.setPortNumber(Constants.REPLICATION_PORT);
It is able to sync success when i was tried for 2 or 3 times .. can u please tell why it occurs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i had already set in my code ie
syncProfile.setServerName(Constants.SERVER_URL);
syncProfile.setPortNumber(Constants.REPLICATION_PORT);
It is able to sync success when i was tried for 2 or 3 times .. can u please tell why it occurs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i had already set in my code ie
syncProfile.setServerName(Constants.SERVER_URL);
syncProfile.setPortNumber(Constants.REPLICATION_PORT);
It is able to sync success when i was tried for 2 or 3 times .. can u please tell why it occurs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Iam unable to synchronise from the application and application is registered in sybase central control.Yes i am able to make a synchronise api from device ,but we are unable to synchronise
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Iam unable to synchronise from the application and application is registered in sybase central control.Yes i am able to make a synchronise api from device ,but we are unable to synchronise
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
actually i was developing native application and it is deployed on sup server with my mbo , , when i was done initial sync i gave 30 minutes for that , that time there is no problem but when i was doing synchronisation i m facing this issue how can i solve this issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
during initial synchronisation means after registering the application in sybase scc that time it was synchnronise and enter the application with data , but when we synchronise from the application time out exception occurs and there is no issue of cache interval and sync group. I want to ask why this error occurs and when?
I don't understand "during initial synchronisation means after registering the application in sybase scc that time it was synchnronise and enter the application with data , but when we synchronise from the application time out exception occurs"
Are you able to successfully make a call to synchronize API from the device ?
Are you able to successfully register application with SUP from the device (device comes online)?
The timeout error occurs when the device connectivity is poor or the server is not reachable. Provide the code where you are getting this error.
ConnectionProfile syncProfile = APHSmCRM_Core_Phase2DB.getSynchronizationProfile();
syncProfile.setServerName(Constants.SERVER_URL);
syncProfile.setPortNumber(Constants.REPLICATION_PORT);
syncProfile.setNetworkStreamParams("trusted_certificates=;url_suffix=;timeout=600");
// use 100K = 102400 bytes for cache size 500K = 512000 bytes
syncProfile.setCacheSize(102400);
//16384KB = 16MB 32768 = 32MB 65536 = 64MB
//syncProfile.setPageSize(65536);
syncProfile.setAsyncReplay(true);
syncProfile.save();
LoginCredentials credentials = new LoginCredentials(userName, password);
ConnectionProperties connectionProperties = application.getConnectionProperties();
connectionProperties.setServerName(Constants.SERVER_URL);
connectionProperties.setPortNumber(Constants.MESSAGING_PORT);
connectionProperties.setLoginCredentials(credentials);
i am doing that code and i got error code ie 201 and stream error message 128
Kindly help me out
It seems you missed the code for subscribe and not setting the domain of the MBO packge.
Follow this code before sync:
ConnectionProfile connectionProfile = TestDB
.getSynchronizationProfile();
//connectionProfile.setNetworkStreamParams(SYNC_NETSTREAMPARAMS);
connectionProfile.setServerName(supHostAddress);
connectionProfile.setPortNumber(RBS port);
connectionProfile.setNetworkProtocol("http");
connectionProfile.setAsyncReplay(true);
connectionProfile.setDomainName("default");
connectionProfile.save();
TestDB.subscribe();
Give more information on the issue , type of the app you are developing and steps followed.
- Midhun VP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.