Jump to content
Changes to the Jaspersoft community edition download ×
  • Installation steps with the Installer Distribution


    Guest
    • Version: v8 Product: JasperReports® Server

    When you run the installation executable, you are prompted to specify information about the third party applications that JasperReports Server relies on. These third party applications are Apache Tomcat and the PostgreSQL database.

    Note: when you run the installer against an existing database instance, the database must be running at install time.

    To begin, run the installer on the application server host.

    In Windows, the installer is an executable file that you can double-click to run. For example, double-click the following:

    TIB_js-jrs_x.x.x_linux_x86_64.exe

    In Linux, the installer is a .bin file; you can run it from the command line or from a graphical environment. To start the installer from the command line, login with an account that has administrative privileges and open a bash shell. At the command line, enter the name of the installer file. For example:

    ./TIB_js-jrs_x.x.x_linux_x86_64.run

    Whether you run the installer from the command line or in a graphical environment, you are prompted for the same information. The following sections describe these prompts, and assume you are in a graphical environment. If you are installing from the command line, use your keyboard to specify the same details. For example, with the license text, instead of clicking I accept the agreement, you press Y and press Enter.

    Welcome

    The first step introduces the installer and allows you to continue or exit. Click Next.

    Accept License Agreement

    You are prompted to read and accept the license agreement. Read the agreement, agree to the terms by clicking I accept the agreement, and click Next. On the command line, you must page through several screens of text to read the full agreement.

    If you do not accept the agreement, you must exit the installer.

    Installation Directory Location

    You are prompted for the directory where JasperReports Server is installed referred to as the js-install directory. Accept the default or click Browse and select a different location, and click Next. On the command line, press Enter to accept the default. To choose a different directory location, enter that location at the prompt.

    The default js-install directory depends on your operating system:

    • Windows:    C:Program FilesJasperReports Server-pro-ver
    • Linux:          user_home/JasperReports Server-pro-ver

    Select Tomcat Configuration

    JasperReports Server requires a web application server in order to run. The JasperReports Server installer is pre-configured to run with the Apache Tomcat server. There are two options available for your Tomcat configuration.

    The first option is to choose a bundled Tomcat. If you choose this option, the installer puts an instance of Tomcat x onto your system. Click Next. You are prompted for the server port and shutdown port that Tomcat will use. Most users accept the default values that are displayed. Accept the default values or enter alternate values and then click Next.

    The second option is to choose an existing Tomcat. If you already have an instance of Tomcat on your system, then you can choose this option. Choose the existing Tomcat option and click Next. You are prompted for its location. Enter the correct location for Tomcat or click Browse to locate and select another location. Click Next. You are prompted for Tomcat's server port and shutdown port. Accept the default values or enter alternate values and then click Next.

    Select PostgreSQL Configuration

    JasperReports Server requires a database in order to run. The JasperReports Server installer is pre-configured to run with the PostgreSQL database. There are two options available for you PostgreSQL configuration.

    The first option is to choose a bundled PostgreSQL. If you choose this option, the installer puts PostgreSQL x onto your system. The default PostgreSQL port 5432 will be used. If the installer finds that port 5432 is already in use, you are prompted to pick an alternate port. In this case, choose an alternative port value. The installer sets the PostgreSQL administrator password to postgres and also creates a PostgreSQL database user with administrator privileges and credentials of jasperdb/password.

    The following table summarizes the parameters set during installation of the bundled PostgreSQL:

    ParameterDefault Value and Description
    Binary DirectoryThe directory where the postgres and pgAdmin3 binaries are located.
    PortThe port number that PostgreSQL uses (default is 5432). User must choose an alternate port if 5432 is in use.
    IP or Host NameThe IP address or name of the machine where PostgreSQL is installed. The default value is 127.0.0.1.
    PostgreSQL Administrative PasswordPassword of the database administrative user: postgres. The installer cannot handle special characters at the end of a password string. Incompatible characters include: & ; $
    Database User NameHard coded default: jasperdb - The installer creates this user which is used to connect to the JasperReports Server database
    Database User PasswordHard coded default: password - The installer uses this password for the jasperdb user.
    Additional notes for LinuxIf your Linux installation does not have a locale setting that supports UTF-8 encoding, your Bundled PostgreSQL instance will be initialized using a temporary locale (--locale=C). This will allow the PostgreSQL initdb to succeed with the desired UTF-8 database encoding.

    Security note: Jaspersoft recommends that you change your database user password from the default value to a new, secure value.

    The second option is to choose an existing PostgreSQL. If you already have an instance of PostgreSQL running on your system, then you can choose this option. You are eventually prompted for the location of PostgreSQL and the port to use. If you have an instance of PostgreSQL installed locally, accept the default, which is 127.0.0.1, the localhost. Accept the default location for the PostgreSQL bin directory, or click Browse to locate and select another location. You are also prompted for the default administrative account password of the PostgreSQL administrative user. The database administrative user account name postgres is used by default. Enter the database administrative user password and click Enter.

    The following table summarizes the parameters set during the installation of an existing PostgreSQL:

    Defaults Used Hardcoded Default Values Used or Created
    PostgreSQL Administrative User Namepostgres - The default administrative database user.
    jasperserver Database User Namejasperdb - The installer creates this database user which is used to connect to jasperserver database.
    jasperserver Database User Passwordpassword - The installer creates this password for the jasperdb database user.

    Security Note: Jaspersoft recommends that you change your database user password from the default value to a new, secure value.

    Install Sample Data

    JasperReports Server can be installed with sample data that can help you evaluate its features. Sample data and resources included are the following:

    • Sugar CRM data that simulates three years of operations for a fictitious company that relies on the SugarCRM open source application.
    • Foodmart data that simulates three years of operations for a fictitious company.
    • JasperReports Server repository resources such as Reports, Analysis Views, Ad Hoc Topics, Domains, Data Sources, and Input Controls.
    • Jaspersoft strongly recommends that you install this data, unless you are not interested in testing or evaluating with the default sample data. Click Yes to install the sample data and click Next.
       

    Install iReport Designer

    iReport Designer is the leading GUI-based JasperReports creation tool. It has the capability of communicating directly with a JasperReports Server instance and can thus retrieve existing JasperReports from a JasperReports Server instance for editing, uploading or execution.

    In the installer, iReport comes pre-configured with a plugin that allows it to communicate with JasperReports Server via the web services interface.

    If you would like to install iReport click Yes.

    Ready to Install

    The components are now ready for installation. Click Install or Next to continue. Installation can take a number of minutes.

    Installation Complete Screen

    After the JasperReports Server files have been installed, you will see the final installation screen. There are several Post-Installation options that you can choose from, each with its own checkbox. Simply click to make your choices and then click Finish.

    • View Release Notes - If you choose to view the Release Notes, they are displayed in an new window. If you are running from the command line, you can page through the Release Notes by pressing the Enter key.
    • Launch JasperReports Server Now - If you choose to launch JasperReports Server from the installer, the installer exits and the application server starts. It takes a few moments for the server to start up. When this is complete, the JasperReports Server login page appears in your system default Browser.

    Note: Starting JasperReports Server from the installer is dependent on your Tomcat and PostgreSQL configuration choices. The JasperReports Server start/stop scripts only control the bundled applications that you chose to be installed. Also, if you chose to view the Release Notes, JasperReports Server will not startup until you close the Release Notes.

     

     

    See also...


    User Feedback

    Recommended Comments

    I got an error while installing on windows with bundled postgresql.

    executing initdb command returned an error as postgresql binaries were not installed yet.

     

    Regards

    Amir Elgohary

    Link to comment
    Share on other sites

    I am getting below error when I am installing the Jasper Report server. No clue on how to resolve this. Any help??

    Problem running post-install step. Installation may not complete correctly
     Error running C:Jaspersoftjasperreports-server-cp-7.5.0/apache-ant/bin/ant.bat load-sugarcrm-db: [create-ks] java.lang.RuntimeException: Failed to create the keystore C:Usersusr1.jrsks
    [create-ks] -- properties location = C:Usersusr1.jrsksp --
    [create-ks] -- end of properties --

    BUILD FAILED
    C:Jaspersoftjasperreports-server-cp-7.5.0buildomaticbuild.xml:58: The following error occurred while executing this line:
    C:Jaspersoftjasperreports-server-cp-7.5.0buildomaticbinsetup.xml:382: Keystore may have been tempered with.

    Link to comment
    Share on other sites

    I need to install two instances of Jasperserver that point to the same Jaspersoft database (PostgreSQL).

    After installed the second node, the first node no longer accesses the database. When I try to acess Jasperserver from first node occurred error "Invalid credentials supplied. Could not sign in to JasperReports Server.".

    How do I solve this?

    Thank you a lot!

    Link to comment
    Share on other sites

    Hi,

    I'm trying to install JasperReports Server on Linux RHEL 7.8. During the installation, I'm getting the following error messages:

    • Postgres: Error while executing group action
    • There has been an error. su: user Postgres does not exist. The application will exit now.

    How can I solve this? 

    Thank you,

    Link to comment
    Share on other sites

    Hello,

    I am getting the following error when installing Jasper server on linux server

     

    Script stderr:
          [exec] Execute failed: java.io.IOException: Cannot run program "git": error=2, No such file or directory
         [copy] Warning: Could not find file /data/Jasper.8.1.1/buildomatic/conf_source/templates/keystore-configuration.xml to copy

     

    Could you help

    Link to comment
    Share on other sites



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...