My Oracle Support Banner

High Availibility FTP Outbound Throws Error "file Is Being Used By Another Process" (Doc ID 2715811.1)

Last updated on APRIL 05, 2021

Applies to:

Oracle SOA Suite - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.1.3.0 version, Technology Adapters

When attempting to send files to the FTP adapter (outbound),
the following error occurs on 10% of the created instances.

ERROR
-----------------------
<Feb 25, 2020 12:32:14,597 AM CET> <Error> <oracle.soa.adapter> <BEA-000000> <JCABinding=>  DOMAIN: cfl-to-wavesoft-materialinfo:SendMaterialInfoFtpReference [ Put_ptt::Put(body) ]  Could not invoke operation 'Put' against the 'ftp' due to:
BINDING.JCA-11429
Error sending file to FTP Server.
Error sending file to FTP Server.
Unable to send file to server.
Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max characters allowed by the OS and 3. Remote File System has enough space.
>
[...]
<Feb 25, 2020 12:32:14,605 AM CET> <Error> <oracle.soa.adapter> <BEA-000000> <JCABinding=>  DOMAIN:[x-ws/xxxxxxx]:Put  One-way operation Put() failed>
<Feb 25, 2020 12:32:14,608 AM CET> <Error> <oracle.soa.bpel.engine.ws> <BEA-000000> <got FabricInvocationException
** Cikey: xxxxxxx
** FlowId: xxxxxxx
** Current Activity Key: xxxxxxx
** Current Activity Label: InvokeSendMaterialFTP
** ComponentDN: xxxxxxx
** Properties for component ReceiveMaterialInfoBPELProcess:
  ** bpel.config.transaction: required
  ** bpel.config.oneWayDeliveryPolicy: sync
  ** bpel.preference.productionMode: true
  ** bpel.config.completionPersistPolicy: faulted
  ** bpel.config.inMemoryOptimization: true
** Transaction info: Name=[EJB com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean.syncCreateAndInvokeParticipate(oracle.soa.management.ComponentDN,java.lang.String,java.lang.String,oracle.fabric.common.NormalizedMessage,boolean)],Xid=BEA1-67BC4DBDB4F34082AACF(326269942),Status=Active,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=15,seconds left=1185,useSecure=false,activeThread=Thread[[ACTIVE] ExecuteThread: '18' for queue: 'weblogic.kernel.Default (self-tuning)',9,Pooled Threads],SCInfo[x_domain+soa_server1]=(state=active),properties=({weblogic.transaction.partitionName=DOMAIN, weblogic.transaction.name=[EJB com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean.syncCreateAndInvokeParticipate(oracle.soa.management.ComponentDN,java.lang.String,java.lang.String,oracle.fabric.common.NormalizedMessage,boolean)]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=soa_server1+soapapp01:8001+cfl_domain+t3+ CoordinatorNonSecureURL=soa_server1+soapapp01:8001+cfl_domain+t3+ coordinatorSecureURL=null, XAResources={eis/XAFileAdapterForHA, WLStore_cfl_domain_BPMJMSFileStore_auto_1, eis/tibjmsDirect/Queue, eis/Coherence/XALocal, eis/oracle/in-memory, eis/aqjms/EDNLocalTxDurableTopic, tangosol.coherenceTx, eis/fioranomq/Topic, oracle.tip.adapter.jms.JmsXAResource, eis/activemq/Queue, eis/pramati/Queue, eis/aqjms/EDNLocalTxTopic, eis/Coherence/Local, eis/tibjmsDirect/Topic, eis/wls/Topic, eis/tibjms/Topic, eis/jms/aiaB2BQueueCF, eis/wls/Queue, eis/Coherence/Remote, eis/tibjms/Queue, eis/aqjms/EDNxaDurableTopic, eis/wls/EDNxaDurableTopic, eis/aqjms/EDNxaTopic, eis/webspheremq/Queue, eis/jmsCFL/CFLJMSConnectionFactory, EDNDataSource_cfl_domain, eis/wls/EDNLocalTxDurableTopic, eis/sunmq/Queue, OraSDPMDataSource_cfl_domain, eis/Apps/Apps, eis/aqjms/Topic, soafret_cfl_domain, tangosol.coherenceTxCCI, eis/File/XAFileAdapter, WLStore_cfl_domain_UMSJMSFileStore_auto_1, eis/File/XAFileAdapter2, eis/wls/EDNLocalTxTopic, WSATGatewayRM_soa_server1_cfl_domain, eis/XAFileAdapter3, SOADataSource_cfl_domain, eis/XAFileAdapter, WLStore_cfl_domain_CFLFileStore-1, eis/AQ/aqSample, SOASATCP_cfl_domain, eis/jms/aiaErrorTopicCF, eis/wls/EDNxaTopic, WLStore_cfl_domain_SOAJMSFileStore_auto_1, eis/aqjms/Queue, eis/aq/aiaB2BInfraAQCF, WLStore_cfl_domain__WLS_soa_server1, eis/jbossmq/Queue},NonXAResources={})],CoordinatorURL=soa_server1+soapapp01:8001+cfl_domain+t3+)
oracle.fabric.common.FabricInvocationException: BINDING.JCA-12563
Exception occurred when binding was invoked.
Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error sending file to FTP Server.
Error sending file to FTP Server.
Unable to send file to server.
Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max characters allowed by the OS and 3. Remote File System has enough space.
".
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.

at oracle.integration.platform.blocks.adapter.fw.jca.cci.EndpointInteractionException.getFabricInvocationException(EndpointInteractionException.java:83)
at oracle.integration.platform.blocks.adapter.AdapterReference.getFabricInvocationException(AdapterReference.java:427)
at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:377)
at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:144)
at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:252)
at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:411)
at sun.reflect.GeneratedMethodAccessor2517.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
[...]
Caused By: BINDING.JCA-12563
Exception occurred when binding was invoked.
Exception occurred during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Error sending file to FTP Server.
Error sending file to FTP Server.
Unable to send file to server.
Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max characters allowed by the OS and 3. Remote File System has enough space.
".
The invoked JCA adapter raised a resource exception.
Please examine the above error message carefully to determine a resolution.

at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:578)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:780)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:692)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:641)
at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:325)
at oracle.integration.platform.blocks.mesh.AsynchronousMessageHandler.doPost(AsynchronousMessageHandler.java:144)
at oracle.integration.platform.blocks.mesh.MessageRouter.post(MessageRouter.java:252)
at oracle.integration.platform.blocks.mesh.MeshImpl.post(MeshImpl.java:411)
at sun.reflect.GeneratedMethodAccessor2517.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
[...]
Caused By: BINDING.JCA-11429
Error sending file to FTP Server.
Error sending file to FTP Server.
Unable to send file to server.
Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max characters allowed by the OS and 3. Remote File System has enough space.

at oracle.tip.adapter.ftp.FTPAgent.putFile(FTPAgent.java:826)
at oracle.tip.adapter.ftp.FTPAgent.putFile(FTPAgent.java:724)
at oracle.tip.adapter.file.outbound.FileSender.sendNonBatchedSerializedXlate(FileSender.java:952)
at oracle.tip.adapter.file.outbound.FileSender.send(FileSender.java:528)
at oracle.tip.adapter.file.outbound.FileInteraction.executeFileWrite(FileInteraction.java:743)
at oracle.tip.adapter.ftp.outbound.FTPInteraction.execute(FTPInteraction.java:364)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:418)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:780)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:692)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:641)
at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:325)
[...]
Caused By: BINDING.JCA-11429
Error sending file to FTP Server.
Error sending file to FTP Server.
Unable to send file to server.
Please ensure 1. Specified remote output Dir has write permission 2. Output filename has not exceeded the max characters allowed by the OS and 3. Remote File System has enough space.

at oracle.tip.adapter.ftp.FTPClient.assertValidForStore(FTPClient.java:2420)
at oracle.tip.adapter.ftp.FTPClient.storeFileAsStream(FTPClient.java:333)
at oracle.tip.adapter.ftp.FTPAgent.putFile(FTPAgent.java:820)
at oracle.tip.adapter.ftp.FTPAgent.putFile(FTPAgent.java:724)
at oracle.tip.adapter.file.outbound.FileSender.sendNonBatchedSerializedXlate(FileSender.java:952)
at oracle.tip.adapter.file.outbound.FileSender.send(FileSender.java:528)
at oracle.tip.adapter.file.outbound.FileInteraction.executeFileWrite(FileInteraction.java:743)
at oracle.tip.adapter.ftp.outbound.FTPInteraction.execute(FTPInteraction.java:364)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:418)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:780)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:692)
at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteraction.java:641)
[...]

at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1663)
at weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:644)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:415)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:355)
>



Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.