Linux next tomcat starts multi-instance configuration steps

1. The installation of tomcat, jdk, etc. is omitted. This example is described with tomcat6 and jdk1.6.
2. Create the tomcat instance storage directory: /export/Domains/test.com/server1, copy the bin, conf, logs, temp, work directories under the tomcat installation directory to server1,
delete all the files under bin, and re-install Write start and stop scripts, please refer to the attachment for details.
3. Create the Catalina/localhost folder under conf, and create a ROOT.XML file with the following content:
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/" docBase=" /export/app/test.com" >
</Context>
4. Modify the port of server.xml under conf to prevent conflicts.
5. Create the web program storage directory /export/app/test.com (consistent with the docBase value of the ROOT.xml file), and extract the war package to this directory.
6. Enter /export/Domains/test.com/server1/bin In the directory, start
7, http://test.com:8017 access
8, and configure other instances according to steps 2-7.

Note, reference website:
http://www.cnblogs.com/aili/articles/4447293.html
http://www.cnblogs.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326970534&siteId=291194637