JasperReports Server has two main distribution packages.
Distribution Package | Description |
Installer | Runs on Windows (64-bit), Linux (32- or 64-bit), and Mac OSX (64-bit). |
WAR File Distribution Zip | Used for manual installation on Windows, Linux, Mac, and other platforms. |
The Installer package installs JasperReports Server, automatically configures the JasperReports Server database, and installs the sample data for working with tutorials — if you choose the Sample Data option.
The WAR file binary distribution contains the JasperReports Server web archive file and the scripts to create and load the database. The WAR file distribution supports additional applications not supported by the installers.
Installer Support
Native 32- and 64-bit installers are supported:
Platform | Versions supported |
Linux | Red Hat Enterprise Linux 5, 6 Novell SUSE Linux Enterprise 10, 11 Debian 6 Ubuntu 10 |
Mac OSX | 10.6 (Snow Leopard) 10.7 (Lion) |
Windows | Windows 2008 Windows 8 |
Installer Naming for 32-bit and 64-bit
The 32-bit and 64-bit installers are distinguished by file name.
Installer Type | Naming |
32-bit installer (Linux only) | jasperreports-server-cp-6.1-linux-x86-installer.run |
64-bit installer | jasperreports-server-cp-6.1-windows-x64-installer.exe jasperreports-server-cp-6.1-linux-x64-installer.run jasperreports-server-cp-6.1-osx-x64-installer.app.zip |
Note: x86 is shorthand referring to the 386, 486, and 586 CPU architecture. |
The 64-bit installer will put 64-bit versions of Java 7 and PostgreSQL 9 onto your system for increased speed and performance.
Note: The 64-bit installer will not work on a 32-bit system. The 32-bit installer will work on a 64-bit system, but we don't recommend it.
Installer Distribution Components
The installer is designed to get JasperReports Server up and running quickly. The server requires the Java environment, an application server, and a database. The installer distribution bundles these components:
Component | Description |
JasperReports Server Application | WAR file and configuration support scripts. |
JasperReports Server Documentation | Found in the <js-install>/docs directory. |
Apache Tomcat 7 | Web application container. You can use the bundled version or an existing version. |
Java 1.7 Runtime | Runs the web application container. |
PostgreSQL 9 Database | Database server. You can use the bundled version or an existing version. |
Installing with Existing Components
The installer can use either bundled or existing instances of both the Apache Tomcat application server and the PostgreSQL database:
• | If you want to use an existing Tomcat, it must be on the local machine. |
• | If you want to use an existing PostgreSQL, it can be on a local or remote machine. If it’s on a remote Linux machine, configure PostgreSQL to allow remote connections as described in Enabling Connections to a Remote Host. |
For information about specific versions of third-party applications supported by the installer, refer to the JasperReports Server release notes in the root of the installation directory.
Running Components as Windows Services
The Windows installer installs PostgreSQL and Tomcat as Windows Services. You can manage these Services in the Windows Control Panel:
Control Panel > System and Security > Administrative Tools > Services
You'll find the PostgreSQL and Tomcat services by the following names:
• | jasperreportsPostgreSQL |
• | jasperreportsTomcat |
The bundled PostgreSQL and Tomcat applications restart automatically when the host Windows system restarts. If you don't want these components to automatically restart, change the Startup Type from automatic to manual.
You can also start JasperReports Server from the Windows Start menu.
WAR File Binary Distribution Support
Use the WAR file binary distribution package to install the JasperReports Server application if you can't use the installer. The WAR file supports additional applications not supported by the installer. If you want to use a database other than PostgreSQL and/or an application server other than Apache Tomcat, install JasperReports Server using the WAR file.
For a complete list of applications supported by the WAR file distribution, refer to the release notes included in the root directory of the distribution. |
The application server should reside on the local machine, but the target database can be on a remote server. Using a remote PostgreSQL database on some Linux platforms requires a change to its configuration file, as described in Enabling Connections to a Remote Host.
The WAR file distribution includes js-install shell scripts (for Linux and Windows) that automate much of the installation using a single properties file. These scripts are:
• | js-install-ce.bat |
• | js-install-ce.sh |
The main contents of the WAR file binary distribution are:
Content Item | Description |
JasperReports Server js-install Scripts | Found at <js-install>/buildomatic/js-install-ce.bat and js-install-ce.sh. |
JasperReports Server Database Scripts | SQL scripts for each supported database. |
JasperReports ServerDocumentation | Guides for end users and administrators. |
JasperReports Server Extra Samples | Web Service example applications, sample reports, custom data source examples, and other sample files. |
JasperReports Server Standard Sample Data | Sample data that highlights JasperReports Server features. |
JasperReports Server WAR file archive | All of the JasperReports Server class files and dependent jars. |
About Bundled Apache Ant
The War File Distribution ZIP includes Apache Ant version 1.9.4. The buildomatic Ant scripts come with Windows and Linux batch scripts pre-configured to use the bundled version of Apache Ant. You call the buildomatic Ant scripts from the command line in the following manner:
Windows: | js-ant <target-name> |
Linux and Mac OSX: | ./js-ant <target-name> |
If you want to run your own version of Ant, version 1.8.1 or higher is required.
The bundled Apache Ant has an additional jar (ant-contrib.jar) that enables conditional logic in Ant. If you're running your own Ant, copy this jar to your Ant/lib folder.
On Linux and Solaris, the js-ant commands may not be compatible with all shells. If you have errors, use the bash shell explicitly. For more information, see Bash Shell for Solaris, IBM AIX, HP UX and FreeBSD. |
Recommended Comments
There are no comments to display.