修改tomcat端口号
diff --git a/conf/server.xml b/conf/server.xml
index a85f6c1..6c9db3e 100644
--- a/conf/server.xml
+++ b/conf/server.xml
@@ -19,7 +19,7 @@
define subcomponents such as "Valves" at this level.
Documentation at /docs/config/server.html
-->
-<Server port="8006" shutdown="SHUTDOWN">
+<Server port="9015" shutdown="SHUTDOWN">
<!-- Security listener. Documentation at /docs/config/listeners.html
<Listener className="org.apache.catalina.security.SecurityListener" />
-->
@@ -55,9 +55,9 @@
<!--The connectors can use a shared executor, you can define one or more named thread pools-->
<!--
- <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
- maxThreads="150" minSpareThreads="4"/>
-->
+ <Executor name="tomcatThreadPool" namePrefix="catalina-exec-"
+ maxThreads="2000" minSpareThreads="100"/>
<!-- A "Connector" represents an endpoint by which requests are received
@@ -67,9 +67,9 @@
APR (HTTP/AJP) Connector: /docs/apr.html
Define a non-SSL HTTP/1.1 Connector on port 8080
-->
- <Connector port="8999" protocol="HTTP/1.1"
+ <Connector executor="tomcatThreadPool" port="9018" protocol="HTTP/1.1"
connectionTimeout="20000"
- redirectPort="8443" />
+ redirectPort="8443" URIEncoding="UTF-8" />
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
@@ -88,7 +88,7 @@
-->
<!-- Define an AJP 1.3 Connector on port 8009 -->
- <Connector port="8010" protocol="AJP/1.3" redirectPort="8443" />
+ <Connector executor="tomcatThreadPool" port="9019" protocol="AJP/1.3" redirectPort="8443" URIEncoding="UTF-8" />
<!-- An Engine represents the entry point (within Catalina) that processes