IBM Support

file system adapter fails with error java.io.IOException: Cannot create directory

Troubleshooting


Problem

file system adapter fails with error java.io.IOException: Cannot create directory

Symptom

file system adapter fails with error java.io.IOException: Cannot create directory.

This happens when the adapter has a dynamic folder name and two processes try to create the same folder name at the same time. One process will succeed and create the folder. The second process will fail.

Error Message

file system adapter fails with error java.io.IOException: Cannot create directory

Resolving The Problem

Solution

Modify the business process to include an "onfault" process to trap the error.

For example, the onfault process can sleep for 30 seconds and then repeat the FSA extract.

[{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Extensions","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"5.2;5.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Adapters","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

TRB1292

Document Information

Modified date:
16 June 2018

UID

swg21561109