Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10671

Re: time out exception during synchronisation

$
0
0

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


Viewing all articles
Browse latest Browse all 10671

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>