Hello everybody, after using some other jabber server software, I really liked the idea of having a web interface for administering everything in a clean, easy way, which is exactly what your product seems to offer. The thing is, I haven’'t gotten to set it up correctly so far.
More specifically I’'m having problems connecting to a MySLQ database, everytime I try it keeps giving out the same error:
2005.07.27 13:28:59 [org.jivesoftware.database.ConnectionPool.(ConnectionPool.java:106)] Failed to create new connections on startup. Attempt 0 of 3
java.sql.SQLException: Unable to connect to any hosts due to exception: java.net.UnknownHostException:
- BEGIN NESTED EXCEPTION **
java.net.UnknownHostException
MESSAGE:
STACKTRACE:
java.net.UnknownHostException:
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.(ConnectionPool.java:83)
at org.jivesoftware.database.DefaultConnectionProvider.start(DefaultConnectionProv ider.java:83)
at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectio nManager.java:330)
at org.jivesoftware.messenger.admin.setup_002ddatasource_002dstandard_jsp._jspServ ice(setup_002ddatasource_002dstandard_jsp.java:269)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:822)
at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:43)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)
at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:41)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)
at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:78)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler. java:494)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:569)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.ja va:624)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1434)
at org.mortbay.http.HttpServer.service(HttpServer.java:896)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:366)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
- END NESTED EXCEPTION **
at com.mysql.jdbc.Connection.createNewIO(Connection.java:1851)
at com.mysql.jdbc.Connection.(ConnectionPool.java:83)
at org.jivesoftware.database.DefaultConnectionProvider.start(DefaultConnectionProv ider.java:83)
at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectio nManager.java:330)
at org.jivesoftware.messenger.admin.setup_002ddatasource_002dstandard_jsp._jspServ ice(setup_002ddatasource_002dstandard_jsp.java:269)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:822)
at org.jivesoftware.util.LocaleFilter.doFilter(LocaleFilter.java:43)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)
at org.jivesoftware.util.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingF ilter.java:41)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)
at org.jivesoftware.admin.AuthCheckFilter.doFilter(AuthCheckFilter.java:78)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplica tionHandler.java:813)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler. java:494)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:569)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.ja va:624)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1434)
at org.mortbay.http.HttpServer.service(HttpServer.java:896)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:366)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
It makes 3 tries and then dies giving an error on the database setup page. I’‘ve been looking all over the forums and on google to try to find an answer to this problem but I can’'t find a solution yet.
I’'ve tried replacing localhost with the machine hostname, ip and domain name and still keeps giving the same error (just changing with whatever I used to refer to the machine).
The MySQL database is up, the user is created and has permission for the database. I can connect to the database using the command line mysql tool, so I know it’'s not a problem with permissions or stuff like that.
I’'ve tried on 3 different machines (1 White Box Linux, 2 Fedora Core 2 boxes) and I get the same thing on each of them.
I’'ve used both betas and the stable rpms, and also I tried using the tarball and getting the JRE separately. All with the same result.
I’'ve also tried disabling all firewalls and anything that can be blocking connections without any luck
I would really appreciate it if someone could give me a hand with this problem, It’‘s honestly driving me insane since I can’‘t seem to find anyone on the forums or on the net that’‘s having this same problem and it’‘s very frustrating since I’'m practically all out on ideas on what to do next.
Thanks ahead for your help