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 。