OpenFire Admin Console vincular as configurações 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 ).