FAQs of Version Mismatch Between JAR Packages and Plugins

  • Last update:September 28, 2023
  • Overview

    Version

    Report Server Version

    Functional Change

    11.0

    /

    11.0.20

    Optimized the plugin overwriting logic. When a plugin is synchronized from the server to the designer, other versions of the plugin are automatically cleared.

    Problem

    Version mismatch between JAR packages and plugins is mainly divided into three types:

    1. Version mismatch of JAR packages between the local designer and the remote server project when you design remotely

    2. Plugin version mismatch or plugin mismatch between the local designer and the remote server project when you design remotely

    3. Version mismatch between manually installed plugins and JAR packages of the designer/server

    This document mainly explains problems caused by these mismatches and corresponding solutions.

    Version Mismatch Between JAR Packages and Plugins in Remote Design

    When you remotely design and connect to the server through the designer, versions of JAR packages and plugins of the designer and the server need to be consistent. Otherwise, a series of problems may occur during the design.

    Problem

    During the remote connection from the designer to the server, if there are mismatches between JAR packages and plugins of the server and the designer, a prompt occurs in the notification center in the top right corner of the designer, indicating that The remote design environment is different, which may affect some functions.

     1.png

    Solution

    Click Sync to Local.

    1. Overwrite the local designer JAR package with the server JAR package that differs.

    2. Install the plugins that are enabled on the server but not installed locally into the local designer.

    3. Overwrite the local designer plugins with the plugins that differ and are already enabled on the server. In FineReport V11.0.20 and later versions, other versions of local plugins are deleted automatically.

    After completion, the designer is automatically restarted and remotely connected to the server again.

     2.png

    iconNote:

    1. If some plugins fail to synchronize, there may be two reasons:

    This plugin has been removed from the plugin store for some reason.

    This plugin is built-in and does not require manual installation. You can simply restart the designer.

    2. If the designer is in an intranet environment:

    You need to manually upgrade the designer.

    You need to manually copy all plugin packages under the path %Tomcat_HOME%/webapps/webroot/WEB-INF/plugins of the server and paste them under the path %FR_HOME%/webapps/webroot/WEB-INF/plugins and %FR_HOME%/plugins of the designer. After completion, restart the designer.

    Problems Caused by Mismatched JAR Packages Versions

    • Preview effects of some templates mounted on the platform are different from those on the local.

    • Chart elements are displayed incompletely, such as incomplete chart percentages and absent extended charts.

    • Fail to preview templates and datasets with errors.

    • Fail to switch working directories.

    • Template content is displayed incompletely. For example, datasets in templates and some widgets are absent.

    • Table data in databases cannot be matched despite a successful data connection.

    • You have no permissions when renaming or saving templates.

    The following introduces some problems in detail.

    Fail to Preview Despite a Successful Data Connection

    When you create new datasets, views and tables are not displayed though the data connection is successful. A prompt pops up, indicating that the database connection failed.

     3.png

    An error occurs in logs: connection pool shut down.

     4.png

    Error in Dataset Preview

    An error occurs when you preview datasets, indicating that java.lang.reflect.UndeclaredThrowableException.

     5.png

    No Permissions for Template Operations

    When you rename or save templates during the remote design, a prompt occurs, indicating that you have no permissions.

     6.png

    Warning During Remote Connection

    When you switch the working directory to the remote server, a warning pops up, indicating that Remote design can be connected, but the versions do not match.

     7.jpg

    Unavailable Fetchsize Function on the Platform

    The Fetchsize function under Data Connection > Data Connection Management may be unavailable.

     8.png

    Mismatched Versions Between Plugins and JAR Packages

    The JAR package version requirements of each plugin can be found on the plugin management page, the FanRuan market plugin page, and in the corresponding plugin document.

     9.png

    Version mismatch between plugins and JAR packages affects the use of plugins (and even the running of the whole project). Therefore, you are advised to ensure that their versions match with each other.

    After you install or update plugins/projects, version mismatches may occur, posing hidden risks to the project if there is no warning or restriction. For JAR packages 2021/01/25 and later versions, plugins are automatically disabled if JAR packages of the project do not match plugin versions. You are notified at the same time.

     10.png

    The system automatically detects whether the versions of plugins and JAR packages match when you install, update, upgrade, and enable plugins, or start the project after upgrade in Plugin Management. A prompt occurs if the versions do not match.

    The system detects whether major versions match with each other (for example, whether there are situations of V10.0 matching V11.0) and whether the JAR package version of the current project is suitable for the minimum JAR package version required in the plugin instructions.

    Problem in Plugin Configuration

    Problem:

    If plugin versions match JAR packages when you install (online/locally), update, or enable plugins, you can perform normal operations. A prompt occurs, indicating that the operation is successful. If plugin versions do not match JAR packages, the installation fails with a pop-up prompt, indicating that versions do not match with each other.

    • If plugin versions are higher than that required by the JAR package, a prompt pops up: XXX has a too high version. Upgrade the JAR package or install the plugin of an earlier version.

    • If plugin versions are lower than that required by the JAR package, a prompt pops up: XXX has a too low version. Install the plugin of a higher version.

     11.png

    Solution: You need to check the versions of the installed plugin and the JAR package, and adjust them to be consistent.

    Problem in Project Startup

    Problem:

    After update, if the plugin versions do not match that required by the JAR package when you start the project, the plugin will be disabled. A prompt pops up when the admin logs in to the platform.

    iconNote:
    In a cluster environment, the system performs match detection in multiple nodes. If the benchmark node completes startup first, only its detection results are prompted (for once only). If other nodes complete startup before the benchmark node, prompts are sent many times.


    • If plugin versions are higher than that required by the JAR package, a prompt pops up: XXX has a too high version. Upgrade the JAR package or install the plugin of an earlier version.

    • If plugin versions are lower than that required by the JAR package, a prompt pops up: XXX has a too low version. Install the plugin of a higher version.

     12.png

    Solution: Click the message to jump to the Plugin Management page. You can also go to System Message on the platform and click Process to redirect to the Plugin Management page, where the admin can delete or update plugins.

     13.png

    Problem in Designer Use

    Problem:

    If plugin versions do not match the local designer JAR package versions, a pop-up window appears when you start the designer, indicating that The following plugins do not match the JAR package version and have been disabled.

    The pop-up window provides a detailed list of incompatible plugins. Click Process Immediately to redirect to the Plugin Management page.

    When you switch to other local directories in the designer, the system also checks whether plugin versions match JAR package versions. If not, a pop-up window appears.

    iconNote:
    The system does not check version matches of plugins and JAR packages (no pop-up prompt if they do not match) when you design remotely.


     14.png

    Solution: Click Process Immediately to delete or update plugins.


    Attachment List


    Theme: Designer Installation and Upgrade
    • 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