Successfully!

Error!

Independent Deployment

  • Last update:  2021-09-06
  • You will learn
    • Description

      • Environment configuration

      • Copy report project

      • Copy tools.jar

      • Restart Tomcat server

      • Visit decision-making platform

    • Tomcat runs out of memory

    1. Description

    Independent deployment requires you to download web application servers and JDK to configure the deployment environment. Afterward, you can copy FineReport report project to the web application server.

    This section takes the Tomcat server as an example to illustrate the steps for independent deployment.

    2. Steps

    2.1 Environment configuration

    Download and install Tomcat server and JDK, and ensure that their versions match:

    Tomcat versionJDK version
    Recommend to use Tomcat 8.5.57 or later, or the latest version of Tomcat 8.

    Note: Using the recommended version can reduce the security problems caused by the too early Tomcat version.

    Tomcat 7.0 to 9.0 is supported.

    Tomcat 10.0 is not supported.

    JDK 1.8 and the small version must be later than JDK 8u102.


    2.2 Copy report project

    Copy the webroot folder under %FR_HOME%\webapps to %Tomcat_HOME%\webapps.


    2.3 Copy tools.jar

    Copy tools.jar under %JAVA_HOME%\jdk\lib to %Tomcat_HOME%\lib and %Tomcat_HOME%\webapps\webroot\WEB-INF\lib.


    2.4 Restart Tomcat server

    According to the operating system, run the startup.bat or startup.sh file under %Tomcat_HOME%\bin to restart the Tomcat server. For instance, in a Windows system or Linux system with a graphical interface, you can just double click startup.bat


    2.5 Visit decision-making platform

    In your browser, enter http://ip:port/webroot/decision. If you see the initialization page or login page of decision-making platform (it depends on if you have configured the decision-making platform), the deployment is successful:

    Note: 8080 is the default port number of the Tomcat server. You can change it in case of port conflicts with existing web application servers. Please refer to Tomcat Port Configuration for details.


    3. Tomcat runs out of memory

    Error messages such as error to configure administrator password and Java heal space to indicate that Tomcat server has run out of memory:

    You can modify Tomcat memory settings or cache and share datasets. See Tomcat Server Memory Modification and Dataset Caching and Sharing for details.


    Attachment List


    Theme: Deployment and Integration
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    Doc Feedback