We are working on creating a utility to take the backup of configs from the IS/instances/default/packages. Code is written in a way that we iterate through all the packages/config folder and then copy the content inside the config folder to a separate directory. This code is working on local system where installed components are IS 10.11 and JDK 11.The same code is not working on our server (LINUX) where the installed components are IS 10.5 and JDK 8.
**Note: We have already checked the permission of the folder that we are trying to access.**
**permission for user, group and owner are same i.e. Read, write and execute.**
File[] allFilesOfSource = file_tempSource.listFiles();
here
file_tempSource: is a path to a packageName/config folder which is of File Type in java.
i am using the listFiles() method to get the content of that folder. Its returning null. The same code is working on my local system.
allFilesOfSource will store the content of the config folder i.e .cnf or any other type of config file with their proper path.
Please let us know if anything else we can do to fix this issue.
#Integration-Server-and-ESB#webMethods#configuration