[#5606] - deploy.base.url has no effect

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

I have setup a JasperReports server behind a proxy (using Apache http-server V2.4 using mod_proxy). The proxy is using a prefix to the uri-path (/app1/jasperserver) while the tomcat is not using the prefix (the tomcat is serving the jasperreports under /jasperserver). To configure this, I used the description from the JasperReports Server Administrator Guide Release 5.6.1 chapter 9.2 on page 176. My config looks as follows:

js.config.properties
deploy.base.url=http://localhost/app1/jasperserver

httpd.conf
ProxyPass /app1/jasperserver http://localhost:8081/jasperserver
ProxyPassReverse /app1/jasperserver http://localhost:8081/jasperserver

The setup is as follows:

request (/app1/jasperserver) ==> Apache 2.4 (port 80) ==> request (/jasperserver) ==> Tomcat (port 8081)

As far as I analysed that so far, the problem here is that the config entry "deploy.base.url" in "js.config.properties" is not used as described.

v5.6.1
matthias_2's picture
Joined: Sep 30 2014 - 4:35am
Last seen: 7 years 8 months ago
Feedback