反馈已提交

网络繁忙

You are viewing 5.1 help doc. More details are displayed in the latest help doc.

Server deployment: introducing tools.jar

  • Recent Updates: August 29, 2022
  • I. Problem phenomenon

    During the deployment of finebi5.1 project, the server encounters an error of 500, as shown in the following figure:

    222

    II. Cause analysis

    In Finereport V10.0 & Finebi V5.1, Java agent and JVMTI technology are introduced, which are respectively used for AOP programming, key class protection and implementation of forced memory recycling.

    Both Java Agent and JVMTI are Agents of JVM. The difference is that the former is implemented in Java and the latter is implemented in C++. Therefore, in addition to JRE, tools.jar in JDK are also required during runtime (toolkit including java compiler, dynamic loading Agent, etc.).

    tools. Jar is a platform related toolkit, different platforms (Windows, Linux, OS X, etc.), different versions of JRE, and tools.jar versions that can be used normally  are different, so you need to pay attention to matching when using.

    III. Solution

    Note 1: Tomcat is taken as an example for demonstration. Other containers are also copied to the lib of the corresponding container.

    Note 2: tools.jar under %JAVA_HOME%/jdk/lib is the local file of the deployment server JAVA_HOME, not development computer local file.

    Copy the tools.jar under %JAVA_HOME%/jdk/lib to the deployed server: 

    %TOMCAT_HOME%/lib and%TOMCAT_HOME%/webapps/project name/WEB_INF/lib, as shown in the following figure:

    image (4).png

    IV. Matters needing attention

    If there is no attach.dll file under the %JRE_HOME%/bin pointed to by the environment variable, it is also necessary to copy the attach.dll file under the %JAVA_HOME%/jdk/jre/bin to this path, as shown in the following figure:

    image (2).png

    Attachment List


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

    售前咨询电话

    400-811-8890转1

    在线技术支持

    在线QQ:800049425

    热线电话:400-811-8890转2

    总裁办24H投诉

    热线电话:173-1278-1526

    文 档反 馈

    鼠标选中内容,快速反馈问题

    鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。

    不再提示

    10s后关闭