反馈已提交

网络繁忙

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

Tomcat Deployment FAQ

  • Recent Updates: August 25, 2022
  • Ⅰ. Overview

    This article introduces problems encountered and solutions when deploying project to Tomcat .

    Ⅱ. Example

    1. Windows system CMD window

    1) The CMD window under Windows system is editable by default. If the mouse clicks into the window, it will cause all Java threads to be blocked, resulting in Tomcat's suspended animation and cannot be used. At this point, you need to click "Properties" on the CMD interface of Tomcat.

    2) Uncheck the two edit options, click "OK" to save the properties, and restart Tomcat. As shown below:

    2. About page shows HTTP Status 404

    Copy the tools.jar under the installed JDK directory lib to %Tomcat_home%/lib or %Tomcat_home%/webapps/webroot/WEB-INF /lib .

    3. Insufficient memory

    Problem description

    Error configuring administrator password or Java heap space.

    Cause Analysis

    Indicates that the memory of Tomcat is insufficient, and the memory configuration of Tomcat needs to be modified.

    Solution

    Refer to the documentation for the method of modifying memory: Java Heap Space

    4. Tomcat deployment of version 7.0.100

    The 7.0.100 version of Tomcat needs to put web.xml under %Tomcat_HOME%\webapps\webroot\WEB-INF, Otherwise, an error will be reported.

    Please refer to the file: web.zip

    Note: This Tomcat bug has been fixed in 7.0.103.

    5. When deleting a 1:1 association, the front end reports an error of 400

    Problem description

    When the customer project is deployed to Tomcat, and the two 1:1 associations of the table are edited and deleted, the entire page will report an error of 400.

    Cause Analysis

    Higher versions of Tomcat (after 7.0.76) will perform access analysis in strict accordance with the RFC 3986 specification, resulting in the front end reporting 400 when the association is modified.

    Solution

    1) Modify the %Tomcat_HOME%/conf/server.xml file and add the following code:

    maxpostsize="209715200"
    maxHttpHeaderSize="16384"
    relaxedPathChars="[]|"
    relaxedQueryChars="[]|{}^\`"<>"
    useBodyEncodingForURI="true"
    URIEncoding="UTF-8"

    As shown below:

    1618986877825038.png

    2) Restart the project.

    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后关闭