Hello experts,
I have a java mapping that writes a file onto the file system of the JEE server.
The path in the mapping I specified like this:
File file= new File("../temp/myfile.txt");
I expect it being in
/usr/sap/<SAPSID>/<Instance>/j2ee/cluster/temp
But the file is always saved under "../cluster/server0/myfile.txt" or "../cluster/server1/myfile.txt"
How can I solve this?
I also tried
File file= new File("../server0/myfile.txt");
expecting it to always be saved under "server0" but it is either saved in "server0" or "server1".
Thank you for your help,
Peter