[Openfire-br] RES: Database setup or configuration error
Jacques de Beijer
jacques.beijer at unimedbelem.com.br
Mon Aug 11 18:23:08 BRT 2014
Dica 01:
Tira esse arquivo deste diretório.
C:\Arquivos de programas\Openfire\embedded-db\openfire.lck
Ou só renomeia ele.
Deve funcionar.
Dica 02:
Sai do hsqldb, é questão de tempo até teres outro problema.
abcs
----- Mensagem original -----
De: "Cristiano Rabelo" <cristiano.rabelo em conviverurbanismo.com.br>
Para: alex em moresco-contabilidade.com.br, "Openfire-BR list" <openfire-br em listas.softwarelivre.org>
Enviadas: Segunda-feira, 11 de agosto de 2014 15:41:33
Assunto: Re: [Openfire-br] RES: Database setup or configuration error
Boa tarde.
Como seria o procedimento para subir o openfire em outro servidor? Não consigo mais subir no mesmo servidor.
Atenciosamente,
Em 11 de agosto de 2014 10:52, Alex < alex em moresco-contabilidade.com.br > escreveu:
Olha, é bem provável que esteja rodando alguma outra instancia do hsqldb, fruto de alguma pane.
Como é Windows, veja no gerenciador de tarefas, a existência desse processo. Acho que vai aparecer como java.exe mas pode ter mais de um java.exe, dai vc precisa descobrir qual deles que esta usando o hsqldb.jar.
Tem um gerenciador de tarefas mais elaborado no pacote Sysinternals “procexp.exe”, com ele tu podes ver a linha de comando completa.
E claro, se um boot no servidor for alternativa, também provavelmente vai resolver.
Espero ter ajudado.
De: openfire-br-bounces em listas.softwarelivre.org [mailto: openfire-br-bounces em listas.softwarelivre.org ] Em nome de Cristiano Rabelo
Enviada em: segunda-feira, 11 de agosto de 2014 10:45
Para: Openfire-BR list
Assunto: [Openfire-br] Database setup or configuration error
Bom dia.
Estou com o seguinte problema no meu openfire, não inicia e apresenta o erro abaixo:
Alguém saberia informar o porque dessa mensagem e como resolver?
Desde já grato.
Database setup or configuration error: Please verify your database settings and check the logs/error.log file for detailed error messages.
java.lang.IllegalArgumentException: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile em 6077abbc[file =C:\Arquivos de programas\Openfire\embedded-db\openfire.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: checkHeartbeat(): lock file [C:\Arquivos de programas\Openfire\embedded-db\openfire.lck] is presumably locked by another process.
at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:770)
at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:486)
at org.jivesoftware.openfire.XMPPServer.<init>(XMPPServer.java:216)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113)
at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
Caused by: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: The database is already in use by another process: org.hsqldb.persist.NIOLockFile em 6077abbc[file =C:\Arquivos de programas\Openfire\embedded-db\openfire.lck, exists=true, locked=false, valid=false, fl =null]: java.lang.Exception: checkHeartbeat(): lock file [C:\Arquivos de programas\Openfire\embedded-db\openfire.lck] is presumably locked by another process.
at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:151)
at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:760)
... 16 more
ESrrerver halted
o iniciando o servidor. Por favor verifique os arquivos de log para mais informações.
Atenciosamente,
Este email está limpo de vírus e malwares porque a proteção do avast! Antivírus está ativa.
_______________________________________________
Openfire-br mailing list
Openfire-br em 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 em listas.softwarelivre.org
Para sair da lista ou alterar suas op??es acesse http://listas.softwarelivre.org/cgi-bin/mailman/listinfo/openfire-br
-------------- Pr�xima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://listas.softwarelivre.org/pipermail/openfire-br/attachments/20140811/0b5c4dd3/attachment-0001.html>
-------------- Pr�xima Parte ----------
Um anexo n�o-texto foi limpo...
Nome: image001.jpg
Tipo: image/jpeg
Tamanho: 26418 bytes
Descri��o: n�o dispon�vel
URL: <http://listas.softwarelivre.org/pipermail/openfire-br/attachments/20140811/0b5c4dd3/attachment-0001.jpg>
More information about the Openfire-br
mailing list