Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Ftp error: directory not found

232663Nov 2 2010 — edited Nov 14 2011
Am getting the following error from the Filezilla server:
+...+
+(000066)11/1/2010 23:39:54 PM - (not logged in) (127.0.0.1)> Connected, sending welcome message...+
+(000066)11/1/2010 23:39:54 PM - (not logged in) (127.0.0.1)> 220-FileZilla Server version 0.9.37 beta+
+(000066)11/1/2010 23:39:54 PM - (not logged in) (127.0.0.1)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)+
+(000066)11/1/2010 23:39:54 PM - (not logged in) (127.0.0.1)> 220 Please visit http://sourceforge.net/projects/filezilla/+
+(000066)11/1/2010 23:39:54 PM - (not logged in) (127.0.0.1)> USER ftpuser+
+(000066)11/1/2010 23:39:54 PM - (not logged in) (127.0.0.1)> 331 Password required for ftpuser+
+(000066)11/1/2010 23:39:54 PM - (not logged in) (127.0.0.1)> PASS ******+
+(000066)11/1/2010 23:39:54 PM - ftpuser (127.0.0.1)> 230 Logged on+
+(000066)11/1/2010 23:39:54 PM - ftpuser (127.0.0.1)> PWD+
+(000066)11/1/2010 23:39:54 PM - ftpuser (127.0.0.1)> 257 "/" is current directory.+
+(000066)11/1/2010 23:39:54 PM - ftpuser (127.0.0.1)> PWD+
+(000066)11/1/2010 23:39:54 PM - ftpuser (127.0.0.1)> 257 "/" is current directory.+
+(000066)11/1/2010 23:39:54 PM - ftpuser (127.0.0.1)> CWD /D:\tmp+
+(000066)11/1/2010 23:39:54 PM - ftpuser (127.0.0.1)> 550 CWD failed. "/D:/tmp": directory not found.+
+...+

Created a File Read adapter (opaque schema) to a mediator to a FTP file ASCII/PUT adapter (opaque schema) used a Physical directory name.
The folder D:\tmp exists yet the error message says it does not exist.

Using SOA 11g and JDev 11.1.1.1.0. The FTP server is Filezilla. I also installed the Filezilla client to test the server and all is well.


The following errors are received in the WLS server:
Invalid Output Directory.
The value specified for the output (Physical/Logical)Directory interaction parameter or jca binding property has an invalid value "D:\tmp".
+".+
+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:427)+

+at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeJcaReference(JCAInteractionInvoker.java:530)+
+at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.invokeAsyncJcaReference(JCAInteractionInvoker.java:49+
+4)+
+at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAEndpointInteraction.performAsynchronousInteraction(JCAEndpointInteractio+
+n.java:463)+
+at oracle.integration.platform.blocks.adapter.AdapterReference.post(AdapterReference.java:244)+
+... 50 more+
+Caused by: BINDING.JCA-11014+
+Invalid Output Directory.+
+Invalid Output Directory.+
+The value specified for the output (Physical/Logical)Directory interaction parameter or jca binding property has an invalid value "D:\tmp".+
+Ensure that the following conditions are satisfied for the output directory :+
+1) It exists and is a directory (not a file). and+
+2) It is writable (file write permissions). and+
+3) If using a logical name, then ensure that the mapping from logical name<->physical directory is correctly specified in the deployment descriptor.+

+at oracle.tip.adapter.ftp.FTPAgent.validateOutputDir(FTPAgent.java:1178)+
+at oracle.tip.adapter.file.outbound.FileInteraction.validateDirectory(FileInteraction.java:2726)+
+at oracle.tip.adapter.file.outbound.FileInteraction.executeFileWrite(FileInteraction.java:548)+
+at oracle.tip.adapter.ftp.outbound.FTPInteraction.execute(FTPInteraction.java:238)+
+at oracle.integration.platform.blocks.adapter.fw.jca.cci.JCAInteractionInvoker.executeJcaInteraction(JCAInteractionInvoker.java:297)+

+... 54 more+
+Caused by: BINDING.JCA-11431+
+Error changing directory in the host.+
+Error changing directory in the host.+
+Change working directory to /D:\tmp in the server failed.+
+Please make sure that the directory exists.+

+at oracle.tip.adapter.ftp.FTPClient.changeWorkingDirectory(FTPClient.java:1722)+
+at oracle.tip.adapter.ftp.FTPAgent.validateOutputDir(FTPAgent.java:1173)+
+... 58 more+
+Nov 2, 2010 12:00:41 AM oracle.integration.platform.blocks.adapter.fw.log.LogManagerImpl log+
+SEVERE: JCABinding=> FileR FileRAdapter Service FileR was unable to perform delivery of inbound message to the composite default/Project1!1+
+.0*84c0aec5-77de-4c6a-b977-6bb1ba63dee9 due to: BINDING.JCA-12563+
+Exception occured when binding was invoked.+
+Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'Put' failed due to: Invalid Output Director+
y.
Invalid Output Directory.
The value specified for the output (Physical/Logical)Directory interaction parameter or jca binding property has an invalid value "D:\tmp".
+".+
+The invoked JCA adapter raised a resource exception.+
+Please examine the above error message carefully to determine a resolution.+

*Thanks Casey*

Edited by: casey on Nov 1, 2010 10:08 PM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 12 2011
Added on Nov 2 2010
5 comments
4,093 views