Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

openfire 3.8.2 - Database setup or configuration error

$
0
0

I downloaded and compiled openfire 3.8.2 on Linux (Ubuntu).

For authentication I use saltJdbcAuthProvider downloaded from http://community.igniterealtime.org/thread/30189 .

I modified saltJdbcAuthProvider because I need multiple SHA-512 hashing with salt (like in Symfony2).

Here is my modified provider: http://pastebin.com/9hwjG7Ui

I'm pretty shure, that it should work. I tried do hash some passwords with that code and compared it to results from PHP - they're the same.

 

When i try to use mysql database with openfire schema and default auth - it works. But when I try to use custom auth I can't start server.

Here is my openfire.xml: http://pastebin.com/Gj1ArtB9

 

The output i getting from opefire.sh is:

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: org.logicalcobwebs.proxool.ProxoolException: Couldn't load class null          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(NativeConstructorAccessorImpl.java:57)          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)          at java.lang.reflect.Constructor.newInstance(Constructor.java:526)          at java.lang.Class.newInstance(Class.java:374)          at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113)          at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58)
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: org.logicalcobwebs.proxool.ProxoolException: Couldn't load class null          at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:151)          at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:760)          ... 9 more
Błąd podczas uruchamiania serwera. Więcej informacji znajduje się w plikach logów.
Server halted

 

I attached error.log and info.log. I can't find any useful information there

 

I know, that there is some posts with similar problems, but I can't find solution.

 

It would be nice if you help me solve this problem


Viewing all articles
Browse latest Browse all 10742

Trending Articles