kritcle
By:
kritcle

How to install jasper server on digitalocean?

March 10, 2015 2.3k views
PostgreSQL DigitalOcean

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 [127.0.0.1]:

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
computer.

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

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

Installing
0% ______________ 50% ______________ 100%
#########################################

Warning: Problem running post-install step. Installation may not complete
correctly
Error running /opt/jasperreports-server-cp-5.6.0/apache-ant/bin/ant import-ce
-DimportFile=install_resources/export/js-catalog :
BUILD FAILED
/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.
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 127.0.0.1.

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 xxx.xxx.xxx:8088 too.Can swap space fixed problem? and Is there another method without "swap space"

    Thank you

Have another answer? Share your knowledge.