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:57] – andonovj | tibco_jasper_reporting [2021/04/23 09:20] (current) – andonovj | ||
---|---|---|---|
Line 10: | Line 10: | ||
- [[tomcat_installation | Apache Tomcat]] | - [[tomcat_installation | Apache Tomcat]] | ||
- [[postgresql_installation|PostgreSQL]] | - [[postgresql_installation|PostgreSQL]] | ||
- | - Jasper Server | + | - [[tibco_jasper_reporting_installation|Jasper Server]] |
+ | - [[tibco_jasper_troubleshooting|Troubleshooting]] | ||
+ | - [[tibco_jasper_management|Management]] | ||
+ | - [[tibco_jasper_configure_email|Configure e-mail delivery]] | ||
- | =====JasperReporting Server===== | ||
- | 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 Server install script at 2018-06-20_16-47 | ||
- | ---------------------------------------------------------------------- | ||
- | ---------------------------------------------------------------------- | ||
- | 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: / | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | [taskdef] Could not load definitions from resource org/ | ||
- | | ||
- | *************************************************************************************************************************** | ||
- | deploy-webapp-datasource-configs: | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | | ||
- | |||
- | deploy-webapp-ce: | ||
- | |||
- | install-normal-ce: | ||
- | | ||
- | |||
- | 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 | ||
- | |||
- | {{ : | ||