Issue:
Getting an error while connecting to FTP server using sftp mode via FTP adapter in BPEL service.
This is an intermittent error when the application to which SOA service is making connection gets overloaded.
Error received at BPEL service:
The JCA Binding Component was unable to establish an outbound JCA CCI connection due to the following issue:
Error in establishing a session with SSH Server.. Error in establishing a session with SSH Server..
Unable to establish a session with the server.
Resolution:
In order to resolve the above issue there are two steps to be followed.
SOA level changes.
- There is a property at FTP adapter keepConnections. Make sure this is set to false.
- Navigation:
Login to weblogic console --> Deployments--> FtpAdapter --> Configuration --> Outbound Connection Pool --> javax.resource.cci.ConnectionFactory --> Click on the jndi used for this process
Unix level changes:
- At UNIX server to which SOA service is connecting using sftp mode, there is a property called as maxStartUps .
By default it is set to 10 that means it will allow maximum 10 connections at one time to this server. And other connection will be refused and the above error will be thrown.
- We need to increase this property at Unix server and restart SSL services of that server.
No comments:
Post a Comment