How to install jasper server on digitalocean?

Posted March 10, 2015 6k views

Capture the full output from the execution of Console

*my console *
details and error messages

JasperReports Server Installation

Please choose an install option below:

[1] Install All Components and Samples (requires disk space of: 1.3 GB)
[2] Custom Install
Please choose an option [1] : 2

Installation folder

Please, choose a folder to install JasperReports Server CP 5.6.0

Select a folder [/opt/jasperreports-server-cp-5.6.0]:

Tomcat installation

Please select the Tomcat configuration you want to use

[1] I want to use the bundled Tomcat
[2] I want to use an existing Tomcat
Please choose an option [1] : 1

Database Installation

Please select which database configuration you want to use

[1] I want to use the bundled PostgreSQL database
[2] I want to use an existing PostgreSQL database
Please choose an option [1] : 2

Setup will try to install new databases and will overwrite any existing duplicat e. Do you want to continue? [Y/n]: Y

Tomcat Port Configuration

Please enter the Tomcat configuration parameters you want to use.

Tomcat Server Port: [8080]: 8088

Tomcat Shutdown Port: [8005]: 8089

Please specify the directory where the psql, pg_restore and vacuumdb binaries
are located

PostgreSQL Binary Directory [/usr/local/pgsql/bin]: /usr/bin

Database Server Parameters

Please enter the IP address or hostname for your database

IP / Hostname []:

Please enter the port of your database.

Database Server port [5432]:

Please enter your database 'postgres' user password.

PostgreSQL postgres user password :

Re-enter password :
Install Sample Data

Would you like to install sample databases and sample reports?

The sugarcrm and foodmart databases will be overwritten if they already exist. D o you want to continue? [Y/n]: Y

Setup is now ready to begin installing JasperReports Server CP 5.6.0 on your

Do you want to continue? [Y/n]: Y

Please wait while Setup installs JasperReports Server CP 5.6.0 on your computer.

0% ______________ 50% ______________ 100%

Warning: Problem running post-install step. Installation may not complete
Error running /opt/jasperreports-server-cp-5.6.0/apache-ant/bin/ant import-ce
-DimportFile=install_resources/export/js-catalog :
/opt/jasperreports-server-cp-5.6.0/buildomatic/bin/import-export.xml:260: The
following error occurred while executing this line:
/opt/jasperreports-server-cp-5.6.0/buildomatic/bin/import-export.xml:158: Java
returned: 137

Total time: 48 seconds

Press [Enter] to continue :
Setup has finished installing JasperReports Server CP 5.6.0 on your computer.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

I was able to install the 6.01 version by increasing my swap space and making sure that I had my fqdn in /etc/hosts for

by Justin Ellingwood
Swap space can be used as an "overflow" area for your system when you run out of RAM. The operating system can store data that would normally be kept in RAM on the hard drive in a specially formatted file. In this guide, we'll demonstrate how to create and use one of these files in Ubuntu 14.04.
  • Hello. mfrederickson

    I installed follow follow tutorials same like above method but I can’t run at too.Can swap space fixed problem? and Is there another method without “swap space”

    Thank you