- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 62 Insurance
- 536.1K On-Premises Infrastructure
- 138.2K Analytics Software
- 38.6K Application Development Software
- 5.7K Cloud Platform
- 109.4K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71.1K Infrastructure Software
- 105.2K Integration
- 41.6K Security Software
We are facing error to open a file while using File adapter with HA JNDI for file write.
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.