MapStore2 icon indicating copy to clipboard operation
MapStore2 copied to clipboard

Output directory for PDF printing cannot be externalized

Open randomorder opened this issue 7 years ago • 0 comments

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_FOLDER JAVA_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

Other useful information (optional):

randomorder avatar Jul 26 '18 09:07 randomorder