1. 程式人生 > >openfire啟動報錯及解決辦法。

openfire啟動報錯及解決辦法。

openfire裝好以後,直接點那個黃色小燈泡執行,會報io錯誤。

log4j:ERROR setFile(null,true) call failed.

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:

[email protected][file =C:\Program Files (x86)\Openfire\embedded-db\openfire.lck, exists=true, locked=false, valid=false, fl =null]: java.io.FileNotFoundException: C:\Program Files (x86)\Openfire\embedded-db\openfire.lck (¾Ü¾ø·ÃÎÊ¡£)

中間還有一堆錯誤程式碼。

解決辦法:

不要直接雙擊開啟,右鍵--以管理員身份執行,即可正常開啟。