You are getting the following error when trying to execute FTP connection using FtpAdapter on 11g:
Exception occured when binding was invoked. Exception occured during invocation of JCA binding: “JCA Binding execute of Reference operation ‘Put’ failed due to…….A stale Connection Factory or Connection Handle may be used”
The cause of the problem:
You performed a redeployment to the FtpAdapter in the WebLogic server.
During the redeployment there are already existing connection in the connection pool, that are being managed by the JCA ConnectionManager.
The WebLogic server doesn’t inform the connection pool about the new change (can be seen in weblogic-ra.xml). So now, Because there are already existing connections within the pool, they become stale
During the redeployment there are already existing connection in the connection pool, that are being managed by the JCA ConnectionManager.
The WebLogic server doesn’t inform the connection pool about the new change (can be seen in weblogic-ra.xml). So now, Because there are already existing connections within the pool, they become stale
To solve this error:
Perform Update and not Redeploy to the FtpAdapter (Updates the weblogic-ra.xml):
- Go to Weblogic console
- Click on Deployments
- Click on FtpAdapter
- Modify and Save your new setting
- Click on Deployments
- Mark the FtpAdapter checkbox
- Click the Update button
- Choose “Update this application in place with new deployment plan changes. (A deployment plan must be specified for this option)”
- Click Finish
No comments:
Post a Comment