Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tibco_jasper_reporting [2020/01/27 09:56] – [Installation] andonovj | tibco_jasper_reporting [2021/04/23 09:20] (current) – andonovj | ||
---|---|---|---|
Line 5: | Line 5: | ||
* Jasper BI | * Jasper BI | ||
* Jasper ETL | * Jasper ETL | ||
- | |||
- | In this article we will install Reporting server in conjunction with Apache Tomcat and PostgreSQL database: | ||
- | |||
======Installation====== | ======Installation====== | ||
The installation of Jasper Reporting Server is composed in 3 sub installation if I can say so: | The installation of Jasper Reporting Server is composed in 3 sub installation if I can say so: | ||
Line 13: | Line 10: | ||
- [[tomcat_installation | Apache Tomcat]] | - [[tomcat_installation | Apache Tomcat]] | ||
- [[postgresql_installation|PostgreSQL]] | - [[postgresql_installation|PostgreSQL]] | ||
- | - Jasper Server | + | - [[tibco_jasper_reporting_installation|Jasper |
- | + | - [[tibco_jasper_troubleshooting|Troubleshooting]] | |
- | + | - [[tibco_jasper_management|Management]] | |
- | =====JasperReporting Server===== | + | - [[tibco_jasper_configure_email|Configure e-mail delivery]] |
- | FINALLY :) We arrived to something to install :) So we are going to perform WAR installation on Apache Tomcat and store our data on PostgreSQL, both of which we already installed above: | + | |
- | + | ||
- | ====Download JasperServer==== | + | |
- | + | ||
- | Download the package from: https:// | + | |
- | and transfer to the target machine | + | |
- | Alternatively you can do the following | + | |
- | + | ||
- | <sxh bash> | + | |
- | [root@jasperserver tmp]# wget ttps:// | + | |
- | Saving to: “download” | + | |
- | + | ||
- | 100%[==================================================================================================================================> | + | |
- | + | ||
- | 2018-06-20 17:21:41 (5.25 MB/s) - “download” saved [332329027/ | + | |
- | [root@jasperserver tmp]# unzip download | + | |
- | Archive: | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | After the file has been unzipped, we have to configure the postgreSQL. | + | |
- | + | ||
- | =====PostgreSQL configuration===== | + | |
- | Edit the pg_hba.conf as follows: | + | |
- | + | ||
- | <sxh bash> | + | |
- | # TYPE DATABASE | + | |
- | + | ||
- | # " | + | |
- | local | + | |
- | local | + | |
- | # IPv4 local connections: | + | |
- | host | + | |
- | host all | + | |
- | # IPv6 local connections: | + | |
- | host all | + | |
- | </ | + | |
- | + | ||
- | Restart the postgresql OR re-load the configuration, | + | |
- | + | ||
- | + | ||
- | =====Configure JasperServer===== | + | |
- | After the postgreSQL allows connection, copy the " | + | |
- | + | ||
- | <sxh bash> | + | |
- | appServerType=tomcat | + | |
- | appServerDir=/ | + | |
- | dbHost=JasperServer Hostname | + | |
- | dbUsername=postgres <- PostgreSQL user user :) | + | |
- | dbPassword=postgres <- PostgreSQL user password | + | |
- | </ | + | |
- | + | ||
- | At this stage your database should be running and your app server should be DOWN :) | + | |
- | + | ||
- | =====Install JasperServer via Script===== | + | |
- | The installation is done via the a sh script as follows: | + | |
- | + | ||
- | + | ||
- | <sxh bash> | + | |
- | [root@localhost buildomatic]# | + | |
- | Writing to log file: logs/ | + | |
- | ---------------------------------------------------------------------- | + | |
- | Running JasperReports | + | |
- | ---------------------------------------------------------------------- | + | |
- | ---------------------------------------------------------------------- | + | |
- | Using ANT_OPTS: -Dnet.sf.ehcache.disabled=true -Xms512m -Xmx2048m | + | |
- | ---------------------------------------------------------------------- | + | |
- | WARNING: JAVA_HOME environment variable not found | + | |
- | [default] | + | |
- | Running install-normal-ce Ant task. | + | |
- | ---------------------------------------------------------------------- | + | |
- | Unable to locate tools.jar. Expected to find it in / | + | |
- | Buildfile: / | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | [echo] chkIfPackageManagedTomcat: | + | |
- | | + | |
- | | + | |
- | *************************************************************************************************************************** | + | |
- | deploy-webapp-datasource-configs: | + | |
- | [echo] | + | |
- | [echo] Property values (in app-server.xml: | + | |
- | [echo] | + | |
- | [echo] | + | |
- | [echo] warTargetDir = / | + | |
- | [echo] | + | |
- | [echo] | + | |
- | [echo] | + | |
- | [echo] webAppNameSrc = jasperserver | + | |
- | [echo] webAppNameDel = jasperserver | + | |
- | | + | |
- | [copy] Copying 8 files to / | + | |
- | + | ||
- | deploy-webapp-ce: | + | |
- | + | ||
- | install-normal-ce: | + | |
- | [echo] Installation successfully completed! | + | |
- | + | ||
- | BUILD SUCCESSFUL | + | |
- | Total time: 4 minutes 42 seconds | + | |
- | Checking Ant return code: OK | + | |
- | ---------------------------------------------------------------------- | + | |
- | </ | + | |
- | + | ||
- | ======Test====== | + | |
- | After all this, you will be rewarded with the option to connect to the Jasper Web Interface :) ... AFTER you start your Apache Tomcat of course :) | + | |
- | + | ||
- | Feel free to use the following credentials: | + | |
- | + | ||
- | jasperadmin / jasperadmin | + | |
- | + | ||
- | {{ : | + | |