tomcat ----> startup, shutdown and configuration, etc.

1. start up

Double-click startup.bat in the bin file of the tomcat installation directory.

2. closure

Double-click shutdown.bat in the bin file of the tomcat installation directory.

3. Configure the tomcat-user.xml file (in the conf folder)

1 <tomcat-users>  
2  <role rolename="manager-gui"/>  
3  <role rolename="manager" />  
4  <role rolename="manager-script"/>  
5  <user username="tomcat" password="tomcat" roles="manager-gui,manager,manager-script"/>  
6 </tomcat-users>

 4. The default location of the project deployed by eclipse in tomcat can be viewed on the server configuration page of eclipse.

It is recommended to deploy the project to the webapps folder of tomcat

5. Problems that arise:

1) Starting tomcat in bin flashed because tomcat did not remember the latest java update.

Solution: Change to a new tomcat, configure variables, restart, and start successfully

2) After each configuration of system variables in cmd, it must be restarted to take effect.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325378737&siteId=291194637