MapStore2
MapStore2 copied to clipboard
Output directory for PDF printing cannot be externalized
Description
Tried to use "MAPFISH_PDF_FOLDER" variable in the JAVA_OPTS but is ignored and PDFs are generated under <CATALINA_BASE>/work/Catalina/localhost/mapstore/
In case of Bug (otherwise remove this paragraph)
Steps to reproduce
- Set
MAPFISH_PDF_FOLDERJAVA_OPT - Restart MapStore2
- Load Map
- Use MS2 print tool to produce a PDF
- Look on the server file system for PDFs. In my case are placed under
<CATALINA_BASE>/work/Catalina/localhost/mapstore/
Expected Result
Output PDF placed under the directory specified by MAPFISH_PDF_FOLDER
Current Result
Output PDF placed in Tomcat's work directory