Tomcat configuration

xiaoxiao2021-03-06  39

I use Tomcat 5.5.7

Release website

There are two ways to post the website in Tomcat:

a) Modify {Tomcat} /conf/server.xml

.... ... .... debug is setting Debug Level, 0 means providing least information, 9 means providing maximum information; Reloadable When Tomcat is executed, when Class, Web.xml is updated, it will be automatically reloaded, and does not need to restart Tomcat. Path = "/ myjspsite" on behalf of the domain name,

The physical directory of the DocBase = "Myjspsite" site can be a relative directory (with the address of {Tomcat} / webApps), or an absolute directory. b) Another way to publish the name of the new XML fragment file name and the name of the website, such as:

Myjspsite.xml

written into the file, then put the file in {Tomcat} / conf / Catalina / Localhost Just! Of course, you can also use http: // localhost: 8080 / manager / html to be published inside! 2. Use the Tomcat Administration tool to manage Tomcat Enter http: // localhost: 8080 / admin, if the admin tool has been installed, then the login interface, the username and password of the login are under {Tomcat} / confes Tomcat-users.xml file. If you don't load the admin tool, you can download it at http://apache.justdn.org/jakarta/tomcat-5/v5.5.7/bin/jakarta-tomcat-5.5.7-admin.zip to decompress the corresponding file Put the corresponding position in the {Tomcat} directory, that is, in accordance with the above method, you can use the site to manage resources, users, etc., save the XML file, avoid trouble!

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

New Post(0)