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: org.hsqldb.persist.NIOLockFile@c69e02e3[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 (¾Ü¾ø·ÃÎÊ¡£)
中间还有一堆错误代码。
解决办法:
不要直接双击打开,右键--以管理员身份运行,即可正常开启。