Database Connection error reported when Openfire is started

Source: Internet
Author: User
[Problem description] 2013.12.2615: 57: 03org. jivesoftware. openfire. XMPPServer

[Problem description] 15:57:03 org. jivesoftware. openfire. XMPPServer-java. SQL. SQLException: ConnectionManager. getConnection () failed to obtain a connection after 11 retries. the exception from the last attempt is as follows: com. mysql. j

[Problem description]

2013.12.26 15:57:03 org. jivesoftware. openfire. XMPPServer-java. SQL. SQLException: ConnectionManager. getConnection () failed to obtain a connection after 11 retries. the exception from the last attempt is as follows: com. mysql. jdbc. exceptions. jdbc4.MySQLSyntaxErrorException: Unknown database 'openfire'

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: com. mysql. jdbc. exceptions. jdbc4.MySQLSyntaxErrorException: Unknown database 'openfire'
At org. jivesoftware. openfire. XMPPServer. verifyDataSource (XMPPServer. java: 770)
At org. jivesoftware. openfire. XMPPServer. start (XMPPServer. java: 486)
At org. jivesoftware. openfire. XMPPServer. (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.exe 4j. runtime. LauncherEngine. launch (Unknown Source)
At com.exe 4j. 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: com. mysql. jdbc. exceptions. jdbc4.MySQLSyntaxErrorException: Unknown database 'openfire'
At org. jivesoftware. database. DbConnectionManager. getConnection (DbConnectionManager. java: 151)
At org. jivesoftware. openfire. XMPPServer. verifyDataSource (XMPPServer. java: 760)

... 16 more

[Solution] The openfire database in mysql is lost, and the cause of the loss is unknown.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.