How to Resolve the Network Connection Issue Between DR and DA?

Document ID : KB000010299
Last Modified Date : 14/02/2018
Show Technical Document Details

Some time we my see errors like below in CAPC DMService.log file, and corresponding symptom is the synchronization failed. This is an error that indicated an connection issue between DA and DR.

ERROR | pool-4-thread-3 | 2017-03-02 00:04:31,958 | 

| Received WebServiceException from version check for data source Data Aggregator@dc03sle0016. CAUSE=org.apache.cxf.transport.http.HTTPException: HTTP response '404: Not Found' when communicating with http://dc03sle0016:8581/DataSourceWS. MESSAGE=Could not send Message.. Returning DS_COMM_FAILURE result. 

ERROR | pool-4-thread-3 | 2017-03-02 00:04:31,959 | 

| Unable to contact data source Data Aggregator@dc03sle0016



Here is the procedure to resolve the connection issue between DA and Dr or the synchronization issue

1. Stop activemq and the dadaemon on DA.

  /etc/inid.d/activemq stop

  /etc/init.d/dadaemon stop 

2. Remove or move the data directory the data directory. 

  To remove: 

  rm -Rf /opt/IMDataAggregator/apache-karaf-2.3.0/data 

  To move: 

 mv /opt/IMDataAggregator/apache-karaf-2.3.0/data /opt/IMDataAggregator/apache-karaf-2.3.0/data .old 

3. Remove the local-jms-broker.xml file 

  rm /opt/IMDataAggregator/apache-karaf-2.3.0/deploy/local-jms-broker.xml 

4. Start the DA (note the dadaemon start will start the activemq process also)

  /etc/init.d/dadaemon start