This is a real Tomcat webapp to show how to deploy Tomcat+PostgreSQL applications using Bitnami Stacksmith.
The JasperReports Server can be used as a stand-alone or embedded reporting and BI server that offers web-based reporting, analytic tools and visualization, and a dashboard feature for compiling multiple custom views.
For more information, please visit https://community.jaspersoft.com/.
- Go to stacksmith.bitnami.com
- Create a new application and select the Java Tomcat application with DB (PostgreSQL) stack template. Alternatively, you can also use MySQL
- Select the targets you are interested on (AWS,Kubernetes,...)
- Download the JasperReports bundle from the official site: JasperReports Server releases (i.e. TIB_js-jrs-cp_6.4.2_bin.zip) and upload it as application file
- Upload the build.sh and boot.sh scripts from the scripts/ folder
- Click the Create button
- Launch it in AWS, AZURE or download the helm chart to run it in Kubernetes
- Access your application: http://IP/jasperserver for AWS or http://IP:8080/jasperserver for Azure.
There are two scripts to build and initialize this application:
This script takes care of extracting the application. It performs the next steps:
- Install required extra system packages
- Uncompress the uploaded bundle
- Prepare the configuration file
default_master.properties - Deploy the webapp (.war file) in the tomcat directory
This script takes care of initializing the database and configuring the application: Basically, it does:
- Update the Tomcat datasource with the actual values of the database connection
- Initialize and populate the database
- (Optional) Import fictitious sample data
- Restart Tomcat to reload the new webapp