Blockchain learning (tomcat) [Day03]

learning progress

Tomcat crash processing

Tomcat port conflict handling

Modify Tomcat port number

Tomcat deployer


Simple to use

 Tomcat crash processing

  • Run cmd in the bin directory and enter startup.bat to check the problem
    • Prompt CATALINA_HOME error
    • Modify CATALINA_HOME in the environment variable to E:\code\tomcat to make it as short as possible

  •  Run again, prompt garbled code
    • Modify the encoding in conf/logging.properties from UTF-8 to GBK

Tomcat port conflict handling

 Modify Tomcat port number

  • Just modify the port in the connector tag to 9000 in conf/server.xml

Tomcat deployer

  • Copy the application to webapps

request response

Guess you like

Origin blog.csdn.net/BingjieDreams/article/details/130742759