Supported Environment and Configuration for Standalone Project Deployment

  • Last update:May 24, 2024
  • Overview

    This document introduces the supported environment and requirements for FineReport deployment.

    iconNote:
    1. This document lists all the deployment environments supported.
    2. This document lists the environments that have passed FineReport's test. Older versions not mentioned in this document are generally not supported by default or have some bugs (not recommended). You can test later versions not mentioned in this document by yourself. For any problem, paid users can contact our technical support for assistance.
    3. Regarding external database components, this document only lists the supported versions. For details about deployment methods, you are advised to query the corresponding vendor's documents.

    General Server Requirements

    Server Operating System

    You are advised to use the Linux operating system to deploy FineReport and external database components. Recommended versions:

    System version: Ubuntu 18.04.4 and above

    System kernel version: 3.10 and above

    System architecture version: X86_64

    Category
    Operating SystemVerified Version Number

    Linux

    Centos6

    Centos 6.5/Centos 6.6/Centos 6.7/Centos 6.8/Centos 6.9

    Centos7

    Centos 7.0/Centos 7.1/Centos 7.2/Centos 7.3/Centos 7.4

    Centos 7.6/Centos 7.8/Centos 7.9

    RedHat6

    RedHat 6.5/RedHat 6.6/RedHat 6.7/RedHat 6.8/RedHat 6.9

    RedHat7

    RedHat 7.0/RedHat 7.1/RedHat 7.2/RedHat 7.3/RedHat 7.4

    RedHat 7.7

    Ubuntu

    Ubuntu 10.04.4/Ubuntu 18.04/Ubuntu 20

    Amazon Linux

    Amazon Linux AMI release 2018.03

    Windows

    Windows Server 2008 and above

    Windows 11

    Server Port Perparation

    1. There are multiple middleware. You can open the ports as needed.

    2. If the default port conflicts with other projects, you need to modify the port before opening the corresponding port.

    3. If you want to deploy multiple Tomcat projects on a server, modify the Tomcat port number to prevent port conflict.

    4. If the firewall is enabled, you need to open the related port number.

    5. For the Docker container or environments with strict port restrictions between servers, it is necessary to open ports between the servers of nodes for inter-node communication.

    Choosing the TCP protocol means using eight ports: 7800/7810/7820/7830/7840/7850/7860/7870.

    Choosing the UDP protocol means using random ports that range from 45588 to 65536.

    Classification
    ContentPort NumberNote

    Middleware

    Tomcat

    8080

    External ports that are not necessarily open to the outside, and can be modified (in server.xml). SSL, short addresses, and other configurations should be done at the load balancing layer.

    WebLogic

    7001

    WebSphere

    9080

    Notification

    WebSocket port

    38888/39888

    /

    WebSocket forwarding port

    38889

    Server Network Requirements

    1. FineReport and external database components can be deployed in both public and private network environments.

    Type
    BandwidthNetwork Segment

    Public network

    More than 10 MB

    The project node and external database are on the same network segment.

    Private network

    Private networks typically have bandwidths of 100 Mbps or 1 Gbps, so there are no specific bandwidth requirements.

    The project node and external database are on the same network segment.

    2. Communication is required among project nodes and external databases. You can use the ping command to test the connectivity.

    Project Deployment Requirements

    Server Configuration Requirements

    FineReport supports both standalone and cluster deployments, with the cluster consisting of multiple project nodes.

    Each node is an independently runnable project for processing user requests, generating reports, and managing other components.

    You are advised to prepare different quantities and configurations of project nodes based on the project concurrency, as shown in the following table.

    iconNote:
    It is recommended that the JVM memory for the project node server be over 8 GB, but not exceed 32 GB, because too large JVM memory may cause a long FullGC time for the system.
    Number of Registered Users
    Number of Online UsersNumber of Concurrent UsersRecommended ConfigurationMinimum Configuration

     2000 – 5000

     400 – 1000

    0 – 200

    One node, which should meet the following requirements:

    CPU: 8 cores; 16 threads; 2.4 GHz

    JVM memory: 16 GB

    Physical memory: 32 GB

    One node, which should meet the following requirements:

    CPU: 8 cores; 16 threads; 2.4 GHz

    JVM memory: 8 GB

    Physical memory: 16 GB

     4000 – 10000

    800 – 1500

    200 – 300

    One node, which should meet the following requirements:

    CPU: 8 cores; 16 threads; 2.4 GHz

    JVM memory: 16 GB

    Physical memory: 32 GB

    One node, which should meet the following requirements:

    CPU: 8 cores; 16 threads; 2.4 GHz

    JVM memory: 8 GB

    Physical memory: 16 GB

     6000 – 12000

    1200 – 2500

    300 – 500

    Cluster with more than two nodes

    This document does not introduce the method.

    One node, which should meet the following requirements:

    CPU: 8 cores; 16 threads; 2.4 GHz

    JVM memory: 16 GB

    Physical memory: 32 GB

    8000 – 30000

    1600 – 6000

    500 – 1200

    Cluster with more than two nodes

    This document does not introduce the method.

    Cluster with more than two nodes

    This document does not introduce the method.

    iconNote:

    1. User dimension explanation:

    Number of registered users: number of users registered in the system.

    Number of online users: number of users who are concurrently online in a certain period of time (generally between 5% and 20% of the number of registered users).

    Number of concurrent users: number of users who concurrently send requests to the server (generally between 10% and 25% of the number of online users).

    2. Configuration explanation:

    Recommended configuration: The average response time in 70% of scenarios is less than three seconds.

    Minimum configuration: The average response time in 70% of scenarios is less than five seconds.

    Server Disk Space

    Directory
    FunctionConfiguration Requirement
    Project deployment

    Used for deploying projects, storing project template resource files, etc.

    More than 500 GB

    Root directory

    Storage content:

    For FanRuan applications, it refers to the temporary cache .FineReport110 when the system is in use.

    Directory location:

    1. For a project started by a root user in the Linux system, the root directory is located in /root.

    2. For a project started by a non-root user in the Linux system, the root directory is located in /home/$username/.

    3. For a project started in Windows system, the root directory is located in C:\Users\username.

    Not less than 40 GB

    /usr directory

    Default path for storing logs

    Not less than 15 GB

    Other Requirements for the Server

    Classification

    Description

    Language

    When users using Chinese deploy the project on the Linux system, it is necessary to make sure that there exists a Chinese Language pack in the system.

    Permission

    To ensure the normal operation of the project, the project folder should have a minimum permission of 755.

    Requirements for Middleware

    For containerized deployment or deployment package deployment, there is no need to prepare the content of this section, as FineReport has built-in JDKs and an application server. The built-in JDK are OpenJDKs.

    Independent deployment requires preparation of the content in this section. You need to prepare the application server and JDK by yourself.

    FineReport is a pure Java Servlet application, which should be deployed in such middlewares as Tomcat, WebLogic, and WebSphere.

    When you start the middleware, FineReport will be loaded and the project can operate normally.

    Middleware
    Middleware VersionJDK Version

    Tomcat

    You are advised to use the latest version of Tomcat 8.

    iconNote:
    Using the recommended version will reduce safety issues caused by low Tomcat versions.

    Tomcat 8.5 ~ 9.0 are supported.

    Tomcat 10.0 is not supported.

    JDK 1.8 and the minor version needs to be JDK 8u102 or higher.

    iconNote:

    1. If the JDK version does not meet the requirement, problems may occur when you start the deployment.

    2. The JDK version must correspond to the operating system, for example, the 32-bit system can only operate with 32-bit JDK.

    3. OpenLogic OpenJDK is not supported.

    WebLogic

    Weblogic12.2.1.X

    Weblogic14.X

    WebSphere

    WebSphere8.5.X

    WebSphere9.0.X

    Wildfly(Jboss)

    You are advised to use Wildfly27.0.0 Final and the later versions.

    iconNote:
    Using the recommended version will reduce safety issues caused by old Wildfly versions.

    JBoss 6 and higher versions

    Resin

    Resin-4.0.58

    1. Notes for Middleware Deployment

    If you need to run FineReport/FineBI on the Docker container, ensure the memory is over eight GB.

    You are advised to use the decompressed Tomcat and JDK.

    You cannot deploy multiple FineReport projects on a middleware.

    If you install multiple Tomcats in the user environment, you are not advised to configure CATALINA_HOME or TOMCAT_HOME in the user environment variable. Otherwise, no matter which Tomcat you start, only the one specified by CATALINA_HOME will be started.

    2. Notes for JDK Installation in Windows System

    There must be an environment variable JAVA_HOME, and Path must have directories%JAVA_HOME%\bin and %JAVA_HOME%\jre\bin.

    If there is no attach.dll file in directory %JRE_HOME%/bin to which the environment variable points, you need to copy the attach.dll file in directory %JAVA_HOME%/jdk/jre/bin to directory %JRE_HOME%/bin, or an error message "fine assist start failed" will be displayed when Tomcat is started.

    Application Project Preparation

    For containerized deployment or deployment package deployment, there is no need to prepare the content of this section, as FineReport has a brand new built-in project. After deploying the new project, set the username and password for the platform login.

    Independent deployment requires preparation of the content in this section.

    The Webroot folder in the directory %FR_HOME%\webapps is required for project deployment.

    Prepare the project in advance, either using an existing project ordownloading the latest one.

    If you use an existing project for deployment, make sure the username and password for platform login are those of the existing project.

    External Database Requirements

    Except for the platform attribute configuration, all information in the decision-making platform, including directory tree setting and template scheduled task information, is stored in a single database.

    The database stores and manages various configuration information of the project node, ensuring the consistency of configurations across all nodes and facilitating centralized management of project metadata by the administrator.

    You are advised to configure an external database for the formal project.

    Server Configuration Requirements

    Note 1: You need to modify the occupied space according to the usage rate. You can configure the space to be one to two times larger than the size of the finedb folder in webapps/webroot/WEB-INF/embed (estimated size based on the actual size).

    Note 3: The external database should be in the same network segment as the project to avoid network fluctuations.

    Configuration Type
    Minimum Configuration

    Physical memory

    16 GB

    CPU

    2.4 GHz and above

    Four cores and eight threads

    Internet speed

    50 Mbps

    Available disk space

    More than 100 GB

    The available disk space of the root directory should not be less than 40 GB.

    Disk read/write speed

    50 MB/s

    Database Type Requirements

    Non-containerized deployment requires preparation of the content in this section. Containerized deployment does not require preparation of the content in this section.

    Database Type
    Supported Database VersionConfiguration Method

    RDS MySQL

    Any version

    Configuring MySQL5 Databases

    MySQL

    5.1.73, 5.5.31, 5.5.46, 5.5.56, 5.6.22, 5.6.31 and 5.7.16

    8.0.11, 8.0.16, and 8.0.20

    Configuring MySQL8 Databases

    Oracle

    10g/11g/12c

    Configuring Oracle Databases

    SQL Server

    2000, 2005, 2008, 2012, 2014 and 2016

    Configuring SQL Server External Databases

    2017

    DB2

    9.7, 8.2, and 11.1

    Configuring DB2 Databases

    PostgreSQL

    9.4.7, 9.5.0, 9.5.2, and 9.6.0

    Configuring PostgreSQL Database


    Attachment List


    Theme: Deployment and Integration
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy