How To Resolve Tomcat - Openfire Port Conflict如何解決雄貓-o penfire港口衝突
Openfire (Jabber/XMPP server) by default binds on port 8080 which is also used by Tomcat. openfire ( Jabber /用戶服務器)默認情況下具有約束力,對港口8080 ,這也是所用的Tomcat 。 This causes Tomcat to fail when openfire is started before it.這會導致失敗的Tomcat時, openfire是開始在它的前面。 The solution, as always, is simple.該解決方案,一如往常,很簡單。
You can either change the port of Openfire or Tomcat.您可以改變港口openfire或雄貓。 Alternatively you can bind them on different IP addresses in machines with multiple interfaces or use 127.0.0.1 for one and the IP address associated with the ethernet card for another.或者,您也可以約束他們對不同的IP地址在機器具有多個接口或使用127.0.0.1為1和IP地址與以太網卡為另一個。 Here are the steps to change the port (simplest solution):這裡是步驟,以改變港口(簡單的解決辦法) :
How to change Openfire default http port (8080)如何改變openfire默認的HTTP端口( 8080 )
1. 1 。 To configure openfire browse to http://localhost:9090/.配置openfire瀏覽到http://localhost:9090/ 。
2. 2 。 Login with the password you had previously provided.登錄與密碼,您以前曾提供。
Note: Look here to注意:看看這裡 recover openfire admin password收回openfire管理員密碼 . 。
3. 3 。 Click on Http Binding to either disable it or use a different port like 7070.點擊HTTP的約束力要么禁用它,或使用一個不同的港口一樣, 7070 。
4. 4 。 Now stop and start openfire (openfire/bin/openfire stop && openfire/bin/openfire start) to use the new port.現在停止,並開始openfire ( openfire /斌/ openfire停止& & openfire /斌/ openfire開始)以使用新的港口。
How to change Tomcat default port (8080)如何改變的Tomcat默認端口( 8080 )
1. 1 。 Open server.xml and search for a line starting with:開放的server.xml和搜索為一條線開始:
2. 2 。 Change the port value (default 8080) to a port number of your choice改變港口的價值(默認8080 )連接埠號碼您選擇
3. 3 。 Restart tomcat (/sbin/service tomcat5 restart).重新啟動Tomcat和( / sbin /服務tomcat5重新啟動) 。
I prefer changing the port of Openfire.我寧願改變港口openfire 。
Notes:註釋:
1. 1 。 Tomcat is reference implementation of Servlet & JSP specification and is one of the most popular JSP & Servlet container雄貓是參考執行的Servlet & JSP的規格和是其中一個最熱門的JSP & Servlet的貨櫃
2. 2 。 Openfire is a popular Jabber (XMPP protocol) server ( openfire是一個受歡迎的Jabber (協議的)服務器( Openfire usage notes openfire使用筆記 ). ) 。
Filed under提起下 Enterprise Software企業軟件 , , Headline News頭條新聞 , , How To如何 , , J2EE J2EE的 , , Java Software Java軟件 , , Linux Linux的 , , Linux Migration Linux遷移 , , Open Source Software開放源碼軟件 , , Programming編程 , , Web網頁 , , Web Services Web服務 | |
| |
RSS 2.0 2.0 | |
Trackback Trackback跟踪 this Article |此文章|
Email this Article電子郵件此文章
You may also like to read您也可以想讀 |




March 13th, 2008 at 8:23 am 2008年3月13日在上午8時23分
Openfire may still conflict with tomcat after disabling/moving the administration console. openfire仍可能發生衝突的Tomcat後,停用/移動管理控制台。 ..to continue the above fix: ..繼續上述修正:
Click on “http binding” under “server settings”點擊“ HTTP的具有約束力的”下的“服務器設置”
Either disable or move the http / https ports for http binding.禁用或移動的HTTP / HTTPS端口的HTTP具有約束力。
..This affects both 8080 and 8483, which may both conflict with tomcat. ..這既影響8080和8483 ,這可能與雙方衝突的Tomcat 。