cancel
Showing results for 
Search instead for 
Did you mean: 

File sender adapter is not working

Former Member
0 Kudos

Hello All,

We are facing a problems with file sender adapter. Communication channel is not picking the files from the directory, but the status in RWB for that channel is 'Functioning'. We are not sure whether the channel is locked or any other problewm with adapter. (In Alternate option, we have created copy of that channel and when it is activated, it picked the file )

Can anyone help us how to identify whether channel is locked and any other solutions in this case.

Regards,

Sreenvias.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Did u try deactivating & then activating them several times?

If communication channel monitoring is fine & channels are in green state there,then it must be locking of channels.

regards

Nidhi

Former Member
0 Kudos

Hi,

Where do we find that adpater is locked..i.e log information

Regards,

Sreenivas.

Former Member
0 Kudos

Hi Srinivas,

The file adapter ( 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 file adapters as well. I would recommend to do a check in al sender file communication channels)

You can see/delete the locks in Visual admin.

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

The entries for file adapter ( with name $XIAFFileAdapter) 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 file based interfaces. Hence i would suggest to use Timeout parameter avialable in file sender adapter which termiates FTP session as you defined, This should solve your issue permanently.

The FTP server do have thier own time out settings but if you don't defne any particulat time out in PI, the FTP server forcefully disconnects the FTP sessions which created locks in PI.

Hope this solves your issue.

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

rajasekhar_reddy14
Active Contributor
0 Kudos

yes channel got locked,that is the only reason.

Regards,

Raj