Skip to Content
0

directory path exists error

Oct 27, 2016 at 07:58 AM

63

avatar image

Hello Experts,

I am getting the below error

Transmitting the message to endpoint <local> using connection...

MessagingException: javax.resource.ResourceException: java.lang.Exception

<directory path>exists

Is it because of connectivity or path not found? But the error says that the directory path exists. Can you please guide me on the root cause of this error?

Thanks in advance,

Vikas

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Raghuraman S Oct 27, 2016 at 08:11 AM
0

Hello BRM Fresher,

Can you please post the complete error message and the scenario details

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Oct 27, 2016 at 08:21 AM
0

Hi Vikas,

I think you are trying to create the file in target directory using receiver file adapter and the file already exist in the directory and you getting above error. You need to select Overwrite Existing File check box if you want to overwrite the file in target directory.

Regards,

Praveen.


overwrite.png (7.8 kB)
Share
10 |10000 characters needed characters left characters exceeded
BRM Fresher Oct 27, 2016 at 09:17 AM
0

Thanks Praveen and Raghu.

Its a Proxy to SFTP scenario.

Praveen- Your explanation seems to be correct as the Overwrite button is not ticked in the receiver SFTP adapter. So it can be said that the root cause of this error is due to attempting to create the file with the same name, right? or can you verbalise if its partially correct.

Thanks in advance

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Vikas,

It is right did you enable overwrite option in SFTP and try to resend the message? or did you check the file already exist in the target directory?

Regards,

Praveen.

0
Former Member

Can you close the question so that it will be helpful for whoever come across this in future, they can quickly find the answer without reading all the answers and guess which one could be the correct answer.

0