How To Resolve Tomcat - Openfire Port Conflict Como resolver Tomcat - Openfire porto conflito
Openfire (Jabber/XMPP server) by default binds on port 8080 which is also used by Tomcat. Openfire (Jabber / XMPP servidor) por padrão liga na porta 8080 que também é utilizado pelas Tomcat. This causes Tomcat to fail when openfire is started before it. Isto provoca a falhar quando openfire Tomcat é iniciado antes dele. The solution, as always, is simple. A solução, como sempre, é simples.
You can either change the port of Openfire or Tomcat. Você pode mudar o porto de Openfire ou Tomcat. 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. Alternativamente, você pode vincular-las em diferentes endereços IP em máquinas com múltiplas interfaces ou utilizar 127.0.0.1 para um endereço IP e as associadas com a placa Ethernet para outro. Here are the steps to change the port (simplest solution): Aqui estão os passos para alterar o porto (solução mais simples):
How to change Openfire default http port (8080) Como alterar a porta http Openfire padrão (8080)
1. To configure openfire browse to http://localhost:9090/. Para configurar o openfire navegue para http://localhost:9090/.
2. Login with the password you had previously provided. Entrar com a senha que você tinha anteriormente prestado.
Note: Look here to Nota: Veja aqui a recover openfire admin password openfire recuperar senha administrativa .
3. Click on Http Binding to either disable it or use a different port like 7070. Clique em Http Encadernação quer para desativá-lo ou utilizar uma porta diferente como 7070.
4. Now stop and start openfire (openfire/bin/openfire stop && openfire/bin/openfire start) to use the new port. Agora pare e começar openfire (openfire / bin / openfire stop & & openfire / bin / openfire iniciar) para utilizar o novo porto.
How to change Tomcat default port (8080) Como alterar a porta padrão Tomcat (8080)
1. Open server.xml and search for a line starting with: Abra server.xml e busca de uma linha começando com:
2. Change the port value (default 8080) to a port number of your choice Altere o valor porto (padrão 8080) para um número da porta de sua escolha
3. Restart tomcat (/sbin/service tomcat5 restart). Reinicie tomcat (/ sbin / serviço tomcat5 reinicialização).
I prefer changing the port of Openfire. Eu prefiro alterar o porto de Openfire.
Notes: Notas:
1. Tomcat is reference implementation of Servlet & JSP specification and is one of the most popular JSP & Servlet container Tomcat é referência execução de Servlet e JSP especificação e é um dos mais populares Servlet e JSP recipiente
2. Openfire is a popular Jabber (XMPP protocol) server ( Openfire é um popular Jabber (XMPP protocolo) servidor ( Openfire usage notes Openfire uso notas ).
Filed under Arquivado em Enterprise Software Enterprise Software , Headline News Headline News , How To How To , J2EE , Java Software Java Software , Linux , Linux Migration Linux Migration , Open Source Software Open Source Software , Programming Programação , Web , Web Services Web Services | |
| |
RSS 2.0 RSS 2,0 | |
Trackback this Article | este artigo |
Email this Article E-mail este artigo
You may also like to read Você pode também gosta de ler |




March 13th, 2008 at 8:23 am 13 de março de 2008, 8:23 am
Openfire may still conflict with tomcat after disabling/moving the administration console. Openfire ainda podem entrar em conflito com tomcat após desativar / mover o console de administração. ..to continue the above fix: .. acima para continuar a fixar:
Click on “http binding” under “server settings” Clique em "http obrigatório" ao abrigo "as configurações de servidor"
Either disable or move the http / https ports for http binding. Ou desativar ou mover o http / https portas para http vinculativo.
..This affects both 8080 and 8483, which may both conflict with tomcat. Isso afeta tanto .. 8080 e 8483, o que pode entrar em conflito com ambas as tomcat.