cancel
Showing results for 
Search instead for 
Did you mean: 

How to solve -- "Cannot Change directory -- java.io.IOException"

0 Kudos

I am getting Cannot Change directory -- java.io.IOException error when I am using Splitter right after Routing Step and send the output to SFTP. But if I am not using a splitter, I am not facing any errors. Can anyone explain what is the error about ? SFTP Directory and Credentials are the right one.



Accepted Solutions (0)

Answers (3)

Answers (3)

vitor_lemberck
Employee
Employee
0 Kudos

Hello Pontnuru,

Please, reproduce the issue again, access your CPI Tenant > Monitor > Access Logs > System Logs file

Check the latest LJS File, search for the Iflow Name (or timestamp) and post to us the complete Caused By of the esxception.

Regards,

Vitor Lemberck

gagandeepbatras
Employee
Employee
0 Kudos

and Also check the processing. means are you overwrite the file or creating the new file for each record.

and also check the permisson to overwrite

0 Kudos

Hi Gagandeep,

New file is created for each record. No overwrite.

If I remove Splitter and Mapping step, SFTP works fine.

Sriprasadsbhat
Active Contributor
0 Kudos

Hello Sravan,

Could you please provide below information

1) How many messages are getting passed after splitter ( what is the no of records you are trying to test ).

2) Please share the screenshot of the receiver channel.

Issue could be due to higher no of messages sent out of splitter within very less period of time and you might need to tune in Reconnect Delay, Automatically Disconnect and Change Directories Stepwise options.

Regards,

Sriprasad Shivaram Bhat

0 Kudos

Hi Shivaram,

Regarding your questions:

1) As I am currently testing the IFlow, I am sending only 2 records.

2) Do you need the details of the SFTP channel settings ? Following is the screenshot from Trace. Splitter and Mapping are working fine and also getting the required output.

If I remove Splitter and Mapping step, SFTP works fine.

Just curios to know what is the problem due to.

Sriprasadsbhat
Active Contributor

Hello Sravan,

Please set below in your SFTP receiver channel then it should work.

Automatically Disconnect = True[ Tick the check box ] and Change Directories Stepwise = False [ Uncheck the checkbox].

Regards,

Sriprasad Shivaram Bhat