SFTP Get Is Not Releasing the Connections from The Remote Site (Doc ID 2297031.1)

Last updated on AUGUST 16, 2017

Applies to:

Oracle Java CAPS Enterprise Service Bus - Version R6.3 and later
Information in this document applies to any platform.

Symptoms

On : R6.3 version, FTP Binding Component

sFTP get is not releasing the connections from the remote site and it is doubling up on the number of connections.

Total of 4 projects with that client. 2 projects download note files and contain 4 sFTP gets. The other two projects contain a single sFTP gets.


ERROR
-----------------------
#|2017-07-24T15:43:49.246-0400|SEVERE|sun-appserver2.1.1|prjCMCsFTPNotesBCHIn.svcCMCsFTPRTNMEMNotesIn.jcdCMCsFTPBCHRTNMEMNotesIn_Runtime_Handler|_ThreadID=83;_ThreadName=p: thread-pool-1; w: 35;_RequestID=d139cfbf-51be-4bad-a59f-b0679a5155a9;|com.stc.codegen.framework.runtime.RequestException: BATCH-MSG-M0825: Invalid result: resolving from dir[] is pattern [false], file[CMC_BC_RTN_MEM_FILE_.*] is pattern[true] to dir[], file[], check configuration parameters: "Remote Directory Name" and "Remote Directory Name Is Pattern" and "Remote File Name" and "Remote File Name Is Pattern".
com.stc.codegen.framework.runtime.RequestException: BATCH-MSG-M0825: Invalid result: resolving from dir[] is pattern [false], file[CMC_BC_RTN_MEM_FILE_.*] is pattern[true] to dir[], file[], check configuration parameters: "Remote Directory Name" and "Remote Directory Name Is Pattern" and "Remote File Name" and "Remote File Name Is Pattern".
at prjCMCsFTPNotesBCHIn.svcCMCsFTPRTNMEMNotesIn.jcdCMCsFTPBCHRTNMEMNotesIn_Runtime_Handler.handleRequest(prjCMCsFTPNotesBCHIn.svcCMCsFTPRTNMEMNotesIn.jcdCMCsFTPBCHRTNMEMNotesIn_Runtime_Handler:382)
at sun.reflect.GeneratedMethodAccessor2988.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2951)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4074)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
at com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:134)
at com.sun.proxy.$Proxy249.handleRequest(Unknown Source)
at STC_MDB__schCMCsFTPBCHRTNMEMNotesIn_svcCMCsFTPRTN_u002D_336603780.sendMessage(STC_MDB__schCMCsFTPBCHRTNMEMNotesIn_svcCMCsFTPRTN_u002D_336603780:213)
at STC_MDB__schCMCsFTPBCHRTNMEMNotesIn_svcCMCsFTPRTN_u002D_336603780.onContents(STC_MDB__schCMCsFTPBCHRTNMEMNotesIn_svcCMCsFTPRTN_u002D_336603780:100)
at sun.reflect.GeneratedMethodAccessor7301.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
at com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
at com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2951)
at com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4074)
at com.sun.ejb.containers.MessageBeanContainer.deliverMessage(MessageBeanContainer.java:1111)
at com.sun.ejb.containers.MessageBeanListenerImpl.deliverMessage(MessageBeanListenerImpl.java:74)
at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:179)
at com.sun.proxy.$Proxy252.onContents(Unknown Source)
at com.stc.schedulerotd.scheduleradapter.FileReaderWork.run(FileReaderWork.java:77)
at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:77)


Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms