Jump to content
We've recently updated our Privacy Statement, available here ×
  • Installation steps with WAR File Binary Distribution


    mgeise
    • Edited on:
    • Features: JasperReports Server Version: v9.0.0 Product: JasperReports® Server

    Installation using the WAR File Distribution

    Please see the JasperServer Professional Installation Guide for the steps to install the WAR File Distribution for specific environment combinations.

    Understanding the Installation Process

    Jaspersoft has created a series of scripts to assist in the automation of installation and configuration of the WAR file and installation into the Application Server as well as the creation and initial population of the JasperServer repository. The installation consists primarily of the following steps:

    1. Unpack the WAR file Distribution Zip file. Keep the root path short, extract all files from the WAR Distribution Zip File Into a separate folder.
    2. Configuration of environment properties for use by the configuration and installation scripts
      1. DB Information
      2. Application Server Information
    3. Create Repository Database
    4. Initialize the Database objects
    5. Import initial repository information (default users, etc.)
    6. Deploy Web Application
    7. Install the License File
    8. Start the Server

    Performing Installation Steps Manually

    Note: This information is based on the 9.0 installation package. The following is an example of some available scripts and steps that may help you should you need to separate installation responsibilities between a system administrator and a database administrator:

    Performing Installation Steps Manually:

    A. Buildomatic Steps:

    You need to install the WAR file manually when you cannot use the js-install scripts.

    The manual buildomatic steps described in this procedure execute the same Ant targets as the js-install script (js-install.sh/.bat). The procedure shows which buildomatic targets to run manually if you are unable to use the js-install scripts.

    To install the WAR file distribution using manual buildomatic steps

    1.    Start your database server.
    2.    Stop your application server.
    3.    Create and edit a default_master.properties file to add the settings in for your database and application server as described in Installing the WAR File Using js-install Scripts.
    4.    Open a Command Prompt as Administrator on Windows or open a terminal window on Linux or Mac. Run the following commands.
    Buildomatic Targets to Execute to Install the WAR File

    Commands

    Description

    Makes the buildomatic directory your current directory.
    cd <js-install>/buildomatic

    Creates the JasperReports Server repository database.
    js-ant create-js-db

    (Optional) Creates the sample databases.
    js-ant create-sugarcrm-db
    js-ant create-foodmart-db

    (Optional) Loads sample data into the sample databases.
    js-ant load-sugarcrm-db
    js-ant load-foodmart-db


    (Optional) Initializes the sample databases
    js-ant update-foodmart-db

    Initializes the jasperserver database, loads core application data. Running js-ant import-minimal-pro is mandatory. The server needs this data to function.
    js-ant init-js-db-pro
    js-ant import-minimal-pro

    (Optional) Loads the demos that use the sample data.
    js-ant import-sample-data-pro

    Configures and deploys the WAR file to Tomcat or JBoss.
    js-ant deploy-webapp-pro


    Deploys only JasperReports Web Studio apps into the application server configured using the appServerDir, jrws.repo.url and jrws.jrio.url properties in the default_master.properties file.
    js-ant deploy-jrws    


    js-ant create-audit-db    (Optional) Creates the audit database. Required only for the Split installation.
    js-ant init-audit-db-pro    (Optional) Initializes the audit database. Required only for the Split installation.


    B: Manually Creating the JasperReports Server Database

    If you can’t use the js-install scripts to create the JasperReports Server database and the sample databases, you can create them manually. Follow the instructions for your database to create the repository database and optional sample databases:

    Please refer the documentation section for it: https://community.jaspersoft.com/documentation/jasperreports-server/tibco-jasperreports-server-installation-guide/v900/jrs-install-guide-_-manual-db-_-manually_creating_the_jasperreports_/#additional_646152231_1159858

     


    User Feedback

    Recommended Comments



    Guest
    This is now closed for further comments

×
×
  • Create New...