I'm having issues transferring my web app from deployment through Eclipse to a Tomcat server on Linux using a WAR file. I'm using Tomcat 7.0.53. When deploying locally, I am able to create specified folder paths that are put into a folder share, and place files in those locations. When trying to do these processes through a deployed WAR on my Tomcat server, the directories in this folder share aren't created, and the files aren't placed. Through logging, I know these folder destinations and files are created though. Any possible reasons behind this? I'm not sure what code to post at this point, so if needed feel free to tell me.
edit: A coworker suggested the way I am referencing the folder destinations is the windows way as opposed to the linux way. I am referencing the directory as:
\\servername\directory\BP
He has suggested that the linux way would be:
/mtn/servername/directory/BP
Not sure if this matters?
edit: I used /mnt/servername/directory/BP/DEV/num/raw/num2 to try and create this directory in the linux environment, but no luck. I'll have to do research to find out how I can create this directories in the folder share using a linux environment.
File.separator
when creating a path. Likepath = "server" + File.separator + "directory" + File.separator + "BP"
– Jorge Campos