When creating a tomcat server on a local eclipse, A copy of the configuration file in the conf file in the tomca installation directory will be copied to this tomcatserver directory This tomcatserver directory is in the workspaces path, the same path as other projects The files are as follows. These configuration files are the startup parameters for starting the tomcat call Startup parameters when starting tomcat
-Dcatalina.base -D indicates a parameter, catalina.base indicates the parameter name, and the string after = indicates the value corresponding to the parameter. Use the System.getProperty("catalina.base") method to get the corresponding value. When starting here, catalina.base, which indicates the working directory of Tomcat, or catalina.base refers to an instance of Tomcat. catalina.home indicates the installation directory of Tomcat, that is, the directory containing the bin file. wtp.deploy is the target path for project deployment, or the target path for the project to be copied after compilation. This directory is equivalent to the root directory of the address http://localhost:8080/ when accessing tomcat. The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Analysis of the difference between Mysql InnoDB and MyISAM
>>: JavaScript to achieve the idea of snake game
Service.xml The Server.xml configuration file is ...
Method 1: Use cmd command First, open our DOS win...
This article example shares the specific code of ...
Table of contents First method App.vue Home.vue H...
Preface: During database operation and maintenanc...
Table of contents 1. Configure Linux hostname Con...
Table of contents MySQL Index Optimization Paging...
Preface The MySQL slow query log is a type of log...
Preface When we installed the system, we did not ...
Use ES6 modular development and observer mode to ...
Because what I wrote before was not detailed enou...
This article shares the specific code of js to im...
register The front-end uses axios in vue to pass ...
1. MySQL installed via rpm package service mysqld...
Recently, I came across a webpage that had images ...