我有一個Tomcat啓動配置,我爲其分配了一個配置爲使用端口8006,8010和8081的Tomcat服務器。我有另一臺運行在端口8005,8009和8080上的服務器。當我嘗試開始啓動配置我得到一個錯誤WTP的Tomcat忽略分配的端口
SEVERE: Catalina.start
LifecycleException: Protocol handler initialization failed: java.net.BindException: Address already in use: JVM_Bind:8080
我檢查在server.xml中<workspace>/servers
和<metadata>/.plugins/org.eclipse.wst.server.core/tmp1/conf
目錄,都具有以下語句:
<Connector connectionTimeout="20000" port="8081" protocol="HTTP/1.1" redirectPort="8443"/>
<!-- A "Connector" using the shared thread pool-->
<!--
<Connector executor="tomcatThreadPool"
port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
-->
任何人都可以闡明這一些輕? Eclipse的版本是Indigo,而Tomcat的版本是6.
我正在這樣做,但它不能按預期工作。 – alh84001 2012-02-14 08:36:00