cancel
Showing results for 
Search instead for 
Did you mean: 

JDBC sender adapter is polling but not picking up any data

Former Member
0 Kudos

Hi,

We are using PI 7.1 and for some reson our JDBC Sender Adapter has stopped picking up data. It was working previously.

In the Communication Channel Monitoring I can see that at the regular poll intervals it says "Processing Started" but nothing else happens.

I ran the same SQL Select and Update Queries in TOAD and they work perfectly.

I also tried creating a new JDBC sender comm channel but it behaves the same way.

Can anyone help me out on this?

Thanks,

Krishneel

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Rajesh you were right. The communication channel was locked. I had to go into NWA and unock it. I also ticked the checkbox in the Comm Channels options to 'Disconnect From Database After processing of Each messages.'

However the comm channel keeps locking. I double checked the SQL select and Update commands that I am using and they work fine in TOAD.

I turned up the level of logging on NWA and I checked the logs (SAP LOGS, Default Trace) but I dont see any errors.

Shabarish_Nair
Active Contributor
0 Kudos

try restarting the JDBC adapter service in NWA ?

Former Member
0 Kudos

restarting JDBC servive in NWA and VA will not solve this issue unless you delete the locks in VA

Former Member
0 Kudos

Hi,

The JDBCadapter ( The respective channel) is definitely locked in PI . Ideally for each polling interval a lock is being created and once the processing is over , the lock should be released/deleted automatically to allow further polling interval. If the lock is not released by the system automatically,further polling will not happen as expected. ( This may affect all sender JDBC adapters as well. I would recommend to do a check in all sender JDBC communication channels)

You can see/delete the locks in Visual admin.

Go to Server>Services->Locking adapter and click refresh

The entries for JDBC adapter ( with name $XIDBAD.JDBC2XI) should be deleted by selecting those particilar entries and click delete selected locks.

If you have more than one node, then same should be done in all server nodes.

The temprory solution would be creating/copy the existing channel in ID with same properties and assign it into particular sender agreement.

But, the lock may be created again which potentailly stops all your database interfaces. Hence i would suggest to use Disconnect From Database After processing of Each messages in Advanced tab in the sender JDBC adapter.

Hope this solves your issue.

PS: The same bahaviour would expected for all file adapter as well

former_member185881
Active Participant
0 Kudos

Hi

Go to Runtime workbench and then select your Sender CC and find out what error you are getting there and post it here. Also check whether you have activated your channel or not.

Regards

Dheeraj Kumar

Former Member
0 Kudos

Hi,

We had an identical problem this week. Making a copy of the communication channel and using this one instead of the original one was our workaround. We did not succeed in getting the original CC up and running again (restarting JDBC adapter - JDBC adapter server - adapter framework - J2EE did not work).

Kind regards

Joris

Former Member
0 Kudos

Hi,

Pls post Logs

Regards

Laxmi Bhushan