Wednesday 7 December 2016

connection break up while connecting to remote FTP server.

ORABPEL-11445
The SSH API threw an exception.
If you get such type of error while connecting to remove FTP server then do the following..
1. Set the following two partnerlink properties in the BPEL project bpel.xml file:
<property name="useJCAConnectionPool">true</property>
<property name="cacheConnections">false</property>
After these changes redeploy the BPEL project.
2. On the BPEL server set $ORACLE_HOME/j2ee/<bpel>/application-deployments/default/FtpAdapter/oc4j-ra.xml
keepConnections config-property for the FTP adapter connector-factory being used to this:
<config-property name="keepConnections" value="false">
Restart the system and test it.
Adding connection pool=private for performance tuning.
<connection-pooling use="private">
<property name="waitTimeout" value="300" />
<property name="scheme" value="fixed_wait" />
<property name="maxConnections" value="50" />
<property name="inactivity-timeout-check" value="all" />
<property name="minConnections" value="5" />
<property name="inactivity-timeout" value="50" />
</connection-pooling>

No comments:

Post a Comment