Tomcat initial use problem

xiaoxiao2021-03-06  42

2004.8.14 The problem is described below: Due to the development of Web development, the development of the Web server is Tomcat, although I have already heard the name, but I have never used it. Think about it, use IBM's WAS, this free Dongdong should be easy to get it. So the installation version is installed on the machine and then starts to modify the server.xml in Tomcat's confes, and configure the system's system. Haha, it is very easy! ! However, the DOS window in Tomcat will disappear, and there is no log file generation; however, enter http: // localhost: 8080 in the browser can also successfully log in to Tomcat. But the URL of the department system I configured is invalid! There must be something problem. I adopted the inspection principle that gradually narrows the scope of doubt, slowly positioned. The steps are as follows: 1. Check if the configuration in the configuration file is correct. The 8080 port found that the program occupied this port, which turned out to be Tomcat!

After analysis: Tomcat I use is an installation version. It is the default to start the service of the system after the installation is successful (that is, starting with the machine's startup, optional), then start it, the above situation, modify It cannot take effect because Tomcat has been starting.

Solve: 1. Close the startup of Tomcat's automatic service, it is recommended to do this unless this machine is used to do server 2. Restart the machine, Tomcat will match the XML file you modified.

转载请注明原文地址:https://www.9cbs.com/read-86748.html

New Post(0)