Hi Noah,
Thanks for the clarification
Would love to report it's fixed, but...
Let me start by confirming that I've created the dpserver.ini property and set the values as you have suggested. I then used the DAC to run the mssql_server_init.sql via SQLCMD. Both of these operations appeared to complete successfully.
When I now run the realtime job, I get the following error:
Could not execute 'CALL "ITELLI_UK"."Asad_XSProject::DataRep_SP"()' in 352 ms 591 µs .
SAP DBTech JDBC: [256]: sql processing error: "MY_USER"."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"
I've done some further digging:
- The EIM manual suggests that the init script is not required when the remote source is using CDC. My remote source is configured with CDC. I ahve also switched this to "native". It returns the same error
- The framework.trc contains the following:
2015-08-09 12:29:31,466 [INFO ] com.sap.hana.dp.mssqllogreaderadapter.MssqlLogReaderAdapter.addSubscription[267] - [LONSDIS01.ITELLIGENCE.ORG]Subscribe a table ["dbo"."Person"] with specification [SubscriptionSpecification [header=remoteTableId=55, remoteTriggerId=2273668, sql=SELECT "T1"."ProductID", "T1"."Name", "T1"."ProductNumber", "T1"."MakeFlag", "T1"."FinishedGoodsFlag", "T1"."Color", "T1"."SafetyStockLevel", "T1"."ReorderPoint", "T1"."StandardCost", "T1"."ListPrice", "T1"."Size", "T1"."SizeUnitMeasureCode", "T1"."WeightUnitMeasureCode", "T1"."Weight", "T1"."DaysToManufacture", "T1"."ProductLine", "T1"."Class", "T1"."Style", "T1"."ProductSubcategoryID", "T1"."ProductModelID", "T1"."SellStartDate", "T1"."SellEndDate", "T1"."DiscontinuedDate", "T1"."rowguid", "T1"."ModifiedDate" FROM """dbo"".""Person""" "T1" , subscription=, customId=, seqID=SequenceId [value=[0, 0, 0, 0]]Last Subscription=true : withSchemaChanges=false]List of Columns: INTEGER NULL
NVARCHAR NULL
NVARCHAR NULL
TINYINT NULL
TINYINT NULL
NVARCHAR NULL
SMALLINT NULL
SMALLINT NULL
DECIMAL (19,4) NULL
DECIMAL (19,4) NULL
NVARCHAR NULL
NVARCHAR NULL
NVARCHAR NULL
DECIMAL (8,2) NULL
INTEGER NULL
NVARCHAR NULL
NVARCHAR NULL ...
2015-08-09 12:29:31,466 [ERROR] com.sap.hana.dp.adapter.framework.core.WorkerThread.processRequest[241] - NullPointerException while processing request "CDC Request for MssqlLogReaderAdapter for request type CDC_ADD_SUBSCRIPTION" Context: java.lang.NullPointerException
at com.sap.hana.dp.mssqllogreaderadapter.MssqlLogReaderAdapter.addSubscription(MssqlLogReaderAdapter.java:269)
at com.sap.hana.dp.adapter.framework.core.WorkerThread.processAddSubscription(WorkerThread.java:545)
at com.sap.hana.dp.adapter.framework.core.WorkerThread.processRequest(WorkerThread.java:179)
at com.sap.hana.dp.adapter.framework.core.WorkerThread.run(WorkerThread.java:1008)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
com.sap.hana.dp.adapter.sdk.AdapterException: java.lang.NullPointerException
at com.sap.hana.dp.adapter.framework.core.WorkerThread.processRequest(WorkerThread.java:240)
at com.sap.hana.dp.adapter.framework.core.WorkerThread.run(WorkerThread.java:1008)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.sap.hana.dp.mssqllogreaderadapter.MssqlLogReaderAdapter.addSubscription(MssqlLogReaderAdapter.java:269)
at com.sap.hana.dp.adapter.framework.core.WorkerThread.processAddSubscription(WorkerThread.java:545)
at com.sap.hana.dp.adapter.framework.core.WorkerThread.processRequest(WorkerThread.java:179)
... 4 more
I've un-installed and re-installed Java SDK on the server but this hasn't helped. A weekend in and still no realtime job
Thanks for any help anyone can offer.