Tomcat 6.0 錯誤資訊: 嚴重: StandardServer.await:create[8005]: java.net.BindException: Address already

來源:互聯網
上載者:User

在eclipse中啟動Tomcat,或單獨啟動Tomcat時出現了下列錯誤資訊:

嚴重: StandardServer.await: create[8005]:
java.net.BindException: Cannot assign requested address: JVM_Bind
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(Unknown Source)
at java.net.ServerSocket.bind(Unknown Source)
at java.net.ServerSocket.<init>(Unknown Source)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:630)
at org.apache.catalina.startup.Catalina.start(Catalina.java:590) 

.........(後還有若干行)

總的意思是連接埠被占。

在網上尋找的一些相關說明及解決辦法:

在使用ecplipse和jbuilder裡的Tomcat時,有時候會遇到像下面這樣的問題.嚴重: StandardServer.await: create[8005]:
java.net.BindException: Address already in use: JVM_Bind其實問題比較簡單,1,獨立啟動並執行Tomcat沒有關閉.自安裝的tomcat程式設定開機自動運行,或者在之前運行過,先關閉ecplipse或jbuilder,在工作管理員中找到Tomcat的進程,將其kill掉,即可.有時候Tomcat非法關閉時,在進程中,仍然存在,仍然佔用8080連接埠.所以只要將其進程殺掉.就可以解決.2,安裝了其他的軟體佔用了Tomcat的連接埠.用可以查看連接埠的工具查看一下,或者,直接改掉tomcat的預設連接埠.即可.(http://blog.csdn.net/casebest/archive/2007/10/30/1858068.aspx)

 

通過瑞星防火牆中的系統狀態查看,果然javaw  佔用了8080連接埠。

結束掉該進程後,Tomcat正常啟動。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.