MFT SFTP target is failing with exception “The value specified for the output (Physical/Logical)Directory interaction parameter or jca binding property has an invalid value”

Issue–> Issue is MFT is not able to find the location in the SFTP server, and throwing the below error .

Error –> 

while delivering message [Source-Identifier [null], Payload-Type [C:\OracleSOA12.2.1\user_projects\domains\fmw12c_domain /mft/ftp_root/payloads/ref/134/96/Tempfile01.txt] to endpoint [SFTPEndPoint: Host:[localhost], Port:[22], User:[testuser], Folder:[// mytargetfolder]]., cause=oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: file://wsdl/Put_ptt.wsdl [ Put_ptt::Put(part,part) ] – WSIF JCA Execute of operation ‘Put’ failed due to: 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 “// mytargetfolder “. ; nested exception is: 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 “//mytargetfolder “. 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. ]

Solution–> To fix this we have to give the complete path of the folder.

For example , if i login with user testuser in sftp server , it will take you to the home directory of the user testuser.

login in your target sftp server.

login as: testuser

Using keyboard-interactive authentication.

Password:

#######################################

testuser @localhost:~$ pwd

/export/home/testuser

so we have to give the target directory as “/export/home/testuser/mytargetfolder”

After specifying the above value in my MFT target issue got resolved.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s