[Openfire-br] - Erro diário no Openfire

Paulo Vianna paulovianna.dev at gmail.com
Mon Sep 15 11:25:11 BRT 2014


Bem, vamos lá.

Desculpe a leiguice, mas no momento só estou usando Windows e as instruções
estão todas para a instalação no Linux.

Olha eu instalei o Perl, o MRTG, já tenho o Python instalado no servidor, o
plugin server info, mas confesso que quando fui instalar a biblioteca do
Python XMPPPY, tranquei, pois hoje temos uma intranet construída em Python
rodando na empresa e voltei e meio dá algum pau nela e o pessoal fica doido
para corrigir, portanto vou terminar de reescrever a Intranet nova e
instalo o plugin em seguida, daqui há uns dois meses voltarei a testar.


Em 11 de setembro de 2014 17:53, Marcelo Terres <mhterres at gmail.com>
escreveu:

>
> http://www.mundoopensource.com.br/monitorando-o-openfire-com-mrtg-e-o-plugin-serverinfo/
> Marcelo H. Terres
> mhterres at gmail.com
> IM: marcelo at jabber.mundoopensource.com.br
> http://www.mundoopensource.com.br
> http://offtopicsandfun.blogspot.com
> http://biertasters.blogspot.com
> http://twitter.com/mhterres
>
>
> 2014-09-11 9:30 GMT-03:00 Paulo Vianna <paulovianna.dev at gmail.com>:
> > Exatamente, parece ser um erro intermitente, mas eu  suspeito que seja
> por
> > conta de outra aplicação Java que foi instalada neste servidor que rola o
> > Openfire.
> > Onde eu trabalhava anteriormente, eu era responsável por preparar os
> > servidores e criava um servidor Linux para apllicações JSP, um Linux para
> > apps PHP e Python, às vezes um server específico para várias apps de uma
>> > empresa, isso tudo para não acontecer o que acontece onde trabalho
> > atualmente, onde o meu chefe enfia apps ASP, Python, Java, Delphi, entre
> > várias outras de várias empresas dentro dos mesmos servidores.
> >
> > Por causa disso suspeito(e observei) que estes erros do Openfire
> começaram
> > após uma empresa vir aqui e instalar dentro deste servidor que roda o
> > Openfire, uma aplicação que usa JAVA com o seu próprio JAVA.
> >
> > Hoje, se eu vasculhar este servidor deve ter vários JAVA rodando e eu
> penso
> > que cada aplicação utilize por vezes a sua variável $JAVA_HOME e por isso
> > imagino que eventualmente possam acontecer alguns erros em alguma app
> Java.
> >
> >
> > Quanto ao plugin Server Info, eu o instalei imediatamente, só que ele não
> > aparece na minha lista de plugins do Openfire e minha "leiguice" não me
> > permitiu encontrar um console cliente para que eu possa disparar as
> > mensagens abaixo conforme você orientou em emails passados.
> >
> >
> > Using the Plugin
> >
> > Send a message with content "total users" to
> > info at serverinfo.jabberdomain to receive the number of total users.
> > Send a message with content "online users" to
> > info at serverinfo.jabberdomain to receive the number of online users.
> > Send a message with content "server sessions" to
> > info at serverinfo.jabberdomain to receive the number of incoming server
> > sessions.
> > Send a message with content "version" to info at serverinfo.jabberdomain
> > to receive plugin version.
> > Send a message with content "openfire version" to
> > info at serverinfo.jabberdomain to receive Openfire version.
> > Send a message with content "openfire host" to
> > info at serverinfo.jabberdomain to receive Openfire hostname.
> > Send a message with content "openfire uptime" to
> > info at serverinfo.jabberdomain to receive Openfire last started time.
> > Send a message with content "java version" to
> > info at serverinfo.jabberdomain to receive Java version.
> > Send a message with content "total memory" to
> > info at serverinfo.jabberdomain to receive total available memory to the
> > jvm.
> > Send a message with content "free memory" to
> > info at serverinfo.jabberdomain to receive free available memory to the
> > jvm.
> > Send a message with content "used memory" to
> > info at serverinfo.jabberdomain to receive used memory by the jvm.
> > Send a message with content "max memory" to
> > info at serverinfo.jabberdomain to receive maximum available memory to
> > the jvm.
> > Send a message with content "total memory num" to
> > info at serverinfo.jabberdomain to receive total available memory to the
> > jvm (in MB).
> > Send a message with content "free memory num" to
> > info at serverinfo.jabberdomain to receive free available memory to the
> > jvm (in MB).
> > Send a message with content "used memory num" to
> > info at serverinfo.jabberdomain to receive used memory by the jvm (in
> > MB).
> > Send a message with content "max memory num" to
> > info at serverinfo.jabberdomain to receive maximum available memory to
> > the jvm (in MB).
> >
> > After version 0.2 you can open a connection to port 4455 and send the
> > same messages to obtain data.
> >
> > Em 11 de setembro de 2014 08:32, Marcelo Terres <mhterres at gmail.com>
> > escreveu:
> >>
> >> Estive pesquisando este erro e encontrei algumas pessoas relatando o
> >> mesmo erro em instalações Windows, infelizmente sem uma solução
> >> definitiva.
> >>
> >> A classe4 em questão (LoginLimitManager) é usada para o login no
> >> console admin então realmente trata-se de um erro específico deste.
> >> Muitos relatam resolver o caso reinstalando ou revendo a senha do
> >> admin (por troca no AD), mas não creio ser teu caso, pois parece ser
> >> algo intermitente não é mesmo ? (e você não relatou a troca da senha).
> >>
> >> []s
> >> Marcelo H. Terres
> >> mhterres at gmail.com
> >> IM: marcelo at jabber.mundoopensource.com.br
> >> http://www.mundoopensource.com.br
> >> http://offtopicsandfun.blogspot.com
> >> http://biertasters.blogspot.com
> >> http://twitter.com/mhterres
> >>
> >>
> >> 2014-09-10 9:47 GMT-03:00 Paulo Vianna <paulovianna.dev at gmail.com>:
> >> > Olá pessoal, bom dia.
> >> >
> >> > Estou usando o Openfire 3.7.2 já faz um tempo(2 anos) numa rede com
> 200
> >> > a
> >> > 300 usuários e até agora tudo bem. Há um tempo atrás aumentei sua
> >> > memória
> >> > para 1 giga, pois com 256 megas estava parando e resolveu(isso já tem
> um
> >> > ano), mas, de uns 2 meses pra cá, tenho notado que às vezes quando
> tento
> >> > entrar no gerenciador do Openfire via web aparece o erro abaixo,
> apesar
> >> > de
> >> > os clientes do Spark continuarem funcionando. Alguém sabe o que pode
> ser
> >> > isso? Não me parece ser memória(eu posso estar enganado). Agradeço a
> >> > ajuda.
> >> >
> >> > Exceção:
> >> >
> >> > java.lang.ExceptionInInitializerError
> >> >       at
> >> >
> >> >
> org.jivesoftware.admin.LoginLimitManager.getInstance(LoginLimitManager.java:48)
> >> >       at
> >> >
> >> >
> org.jivesoftware.openfire.admin.login_jsp._jspService(login_jsp.java:143)
> >> >       at
> >> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> >> >       at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> >> >       at
> >> > org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:530)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1216)
> >> >       at
> >> >
> >> >
> com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:39)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
> >> >       at
> >> > org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:74)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
> >> >       at
> >> >
> >> >
> org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:50)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
> >> >       at
> >> > org.jivesoftware.admin.PluginFilter.doFilter(PluginFilter.java:78)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
> >> >       at
> >> >
> >> >
> org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:164)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1187)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:425)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:494)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.server.session.SessionHandler.handle(SessionHandler.java:182)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:933)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:362)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:867)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:245)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113)
> >> >       at org.eclipse.jetty.server.Server.handle(Server.java:334)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:1007)
> >> >       at
> >> > org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:747)
> >> >       at
> >> > org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:209)
> >> >       at
> >> >
> org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462)
> >> >       at
> >> >
> >> >
> org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436)
> >> >       at java.lang.Thread.run(Unknown Source)
> >> > Caused by: java.lang.IllegalStateException: Timer already cancelled.
> >> >       at java.util.Timer.sched(Unknown Source)
> >> >       at java.util.Timer.scheduleAtFixedRate(Unknown Source)
> >> >       at
> >> >
> >> >
> org.jivesoftware.util.TaskEngine.scheduleAtFixedRate(TaskEngine.java:228)
> >> >       at
> >> > org.jivesoftware.admin.LoginLimitManager.(LoginLimitManager.java:83)
> >> >       at
> >> > org.jivesoftware.admin.LoginLimitManager.(LoginLimitManager.java:33)
> >> >       at
> >> >
> >> >
> org.jivesoftware.admin.LoginLimitManager$LoginLimitManagerContainer.(LoginLimitManager.java:39)
> >> >       ... 36 more
> >> >
> >> >
> >> >
> >> >
> >> >
> >> > _______________________________________________
> >> > Openfire-br mailing list
> >> > Openfire-br at listas.softwarelivre.org
> >> > Para sair da lista ou alterar suas opções acesse
> >> > http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
> >> >
> >> _______________________________________________
> >> Openfire-br mailing list
> >> Openfire-br at listas.softwarelivre.org
> >> Para sair da lista ou alterar suas opes acesse
> >> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
> >
> >
> >
> > _______________________________________________
> > Openfire-br mailing list
> > Openfire-br at listas.softwarelivre.org
> > Para sair da lista ou alterar suas opções acesse
> > http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
> >
> _______________________________________________
> Openfire-br mailing list
> Openfire-br at listas.softwarelivre.org
> Para sair da lista ou alterar suas opes acesse
> http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/openfire-br/attachments/20140915/431a310e/attachment-0001.html>


More information about the Openfire-br mailing list