TOMCAT修改端口

类别:编程语言 点击:0 评论:0 推荐:

 

     今天启动oracle后再启动tomcat时发现tomcat启动出错.百思不得其解..然后关闭oracle后启动tomcat后发现一切正常..原来是这两个家伙有矛盾..同时看上了8080端口..那事情就好办拉..

     首先导航到Apache Tomcat 4.0\conf\下..打开server.xml  找到一下代码部分


<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
               port="8080" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="60000"/>
    <!-- Note : To disable connection timeouts, set connectionTimeout value
     to -1 -->

本文地址:http://com.8s8s.com/it/it27940.htm