Openfire configuration error

Source: Internet
Author: User

=============== Problem description ====================



Errors always occur:



A connection to the database cocould not be made. view the error message by opening the "\ logs \ error. log" log file, then go back to fix the problem.



I checked error. log:

2013.09.26 11:40:03 org.jivesoftware.util.log.util.CommonsLogFactory - Prototypecom.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.UnknownHostExceptionMESSAGE: [host-name]STACKTRACE:java.net.UnknownHostException: [host-name]        at java.net.InetAddress.getAllByName(Unknown Source)        at java.net.InetAddress.getAllByName(Unknown Source)        at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:246)        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:271)        at com.mysql.jdbc.Connection.createNewIO(Connection.java:2771)        at com.mysql.jdbc.Connection.<init>(Connection.java:1555)        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)        at java.sql.DriverManager.getConnection(Unknown Source)        at java.sql.DriverManager.getConnection(Unknown Source)        at org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConnectionBuilder.java:39)        at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159)        at org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:102)        at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:44)** END NESTED EXCEPTION **Last packet sent to the server was 0 ms ago.        at com.mysql.jdbc.Connection.createNewIO(Connection.java:2847)        at com.mysql.jdbc.Connection.<init>(Connection.java:1555)        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:285)        at java.sql.DriverManager.getConnection(Unknown Source)        at java.sql.DriverManager.getConnection(Unknown Source)        at org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConnectionBuilder.java:39)        at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159)        at org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:102)        at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:44)


I don't know where the error is...
I have completely uninstalled the MySQL database, deleted the registry, restarted the computer, and re-installed MySQL...

Who has configured openfire ??!?!?!?

============= Solution 1 ======================


Host-name?
Database-name?

Openfire configuration error

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.