Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Real time data replication by using HANA EIM (Smart Data Integration)

$
0
0

Hi Richard,

 

Thanks you for the response and the suggestions you provided.

Let me share the results with you.

After switching the “Database Data Capture Mode” property on the “Remote Source” to “Native Mode” and re-executing the flowgraph, I received the following error:

Could not execute 'CALL "MYJOB_UK"."Asad_XSProject::DataRep_SP"()' in 509 ms 885 µs .

SAP DBTech JDBC: [256]: sql processing error: "MYJOB_UK"."Asad_XSProject::DataRep_SP": line 6 col 1 (at pos 191): [256] (range 3) sql processing error exception: sql processing error: QUEUE: Asad_XSProject::DataRep_RS: Failed to add subscription for remote subscription Asad_XSProject::DataRep_RS.Error: exception 151050: CDC add subscription failed: No original/mirror paths mapping found for database <VITA> in file <C:\usr\sap\dataprovagent\LogReader\config\mssql_log_path_mapping.props>.

Upon examining the mssql_log_path_mapping.props file, I think this is only required when the Agent is installed on a server other than the source database. My source (remote db) and the agent are installed on the same server. This led me back to the configuration of the remote source. I then switched the “Use Remote Database” to “false”.

Upon making this change and re-executing the flowgraph, I now receive the following error:

Could not execute 'CALL "MYJOB_UK"."Asad_XSProject::DataRep_SP"()' in 868 ms 335 µs .

SAP DBTech JDBC: [256]: sql processing error: " MYJOB _UK"."Asad_XSProject::DataRep_SP": line 6 col 1 (at pos 191): [256] (range 3) sql processing error exception: sql processing error: QUEUE: Asad_XSProject::DataRep_RS: Failed to add subscription for remote subscription Asad_XSProject::DataRep_RS.Error: exception 151050: CDC add subscription failed: NullPointerException while processing request "CDC Request for MssqlLogReaderAdapter for request type CDC_ADD_SUBSCRIPTION"

: line 1 col 1 (at pos 0)

 

Please note that the CDC property has already been switched as per your suggestion. For clarity, here’s a screenshot of my remote source:

remote source config.png

I have also been checking the log files you have mentioned and they only contain repeated entries of the following:

[Fri Aug 14 10:30:45 2015 ]Receive Ping reply message from DP Agent.

[Fri Aug 14 10:30:55 2015 ]Sent a Ping message to DP Agent.

 

I had already executed the mssql_server_init.sql script. I did this using the DAC via SQLCMD and it reported success. However, I don’t see any of the SP’s listed in the System Procs of the individual databases. This surprised me as I was expecting to see Procs such as “sys.sp_SybSetLogforReplTable” in all of the databases. Should that be the case?

 

Thanks again.

Asad


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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