Instead of mounting external shares as separate lettered drives, we mounted them on the same drive where sterling is installed, using this command.
mklink /d "c:\data\shareddata" "\\server\shareddata\"
We use c:\data\shareddata in the FSA adapter and read/write from the shared drive.
------------------------------
Kishore Reddy
------------------------------
Original Message:
Sent: Wed June 02, 2021 04:26 PM
From: Barrett Lyles
Subject: B2Bi 6.1.0.2 - java.io.IOException:- Cannot create directory
We're running B2Bi 6.1.0.2 in a clustered architecture on Windows Server 2016. We have two app nodes, pointed to several file shares. When the fileshares are mounted as lettered drives (F:\, S:\) on the Windows system, the B2Bi application is unable to write to the directories, throwing a error "java.io.IOException:- Cannot create directory". When the same file shares are referenced using UNC paths (\\servername\directory), the application can write to the directory without issue. What is also strange is that, when navigating the OS with the same service account that runs the B2Bi Windows services, we are able to write to the NFS shares in both the UNC reference and as the mounted drive.
All Windows services are set to use the service account. We've changed the directory references to us two slashes (\\). Nothing we've done seems to alleviate the specific error that the B2Bi app cannot write to the mounted drive.
Has anyone run into this issue before?
------------------------------
Barrett Lyles
------------------------------
#SupplyChain
#B2BIntegration