[#9477] - JRS WAR/generic installer tries to delete JDBC driver jar even though flag deployJDBCDriver is set to false

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

- Debian Linux (wheezy as well as jessie)
- Tomcat (6, 7 and 8)
- postgreSQL
- WAR file/generic installer (JRS 5.5, 5.6, 6.0.1, 6.1, 6.1.1, 6.2, 6.2.1 and 6.3)

Bug description:
Even though the flag deployJDBCDriver is set to false in jasperreports-server-[…]-bin/buildomatic/default_master.properties, the installer tries to delete the existing JDBC driver jar.

Solution:
Fix jasperreports-server-[…]-bin/buildomatic/bin/app-server.xml

Step 2 (lines 1534++) has to be enclosed between

<if>
<equals arg1="${deployJDBCDriver}" arg2="true"/>
<then>

and

</then>
<else>
<echo>INFO: property deployJDBCDriver is set to false. Did not delete any jdbc driver.</echo>
</else>
</if>

like steps 1 and 3 already are.

v6.3.0
Mischa Kuehne's picture
Joined: Apr 28 2016 - 8:08am
Last seen: 2 weeks 4 days ago
Feedback
randomness