Skip to Main Content


We are facing error to open a file while using File adapter with HA JNDI for file write.

User_OU4N1Nov 26 2020 — edited Nov 26 2020

As part of customer requirement, we had to implement security for SOA services in Gen2 cluster environment. So we have enabled OWSM standard policy (oracle/ABG_wss_username_token_service_policy and oracle/ABG_wss_username_token_client_policy) for services and references. Post enabling security policy, we started facing issue while using File adapter for file write as below.
Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'Write' failed due to: Error in opening file for writing. Error in opening file for writing. Cannot open file: /u01/app/oracle/tools/home/oracle/custom/erp/inbound/budgettrucktoap/transform/ApInvoicesInterface.csv for writing
So when we raised SR, it was suggested to use HA File JNDI while writing file. Post using HA JNDI also, we are still facing the same error. The error is happening only in one node server. On the other server node, its working without any issue.
Also, kindly note that when we enable local optimization in the policy, the service is working fine without any error. But the standard policy does not enable local optimization.
Kindly help if anyone has faced similar kind of issue.


Post Details
Added on Nov 26 2020
1 comment