[opencms-dev] First login problem
vincent spehner
vincent_spehner at yahoo.fr
Mon Feb 23 17:38:01 CET 2004
Hello,
First, I would thanks you for openCMS which seems to be a really perfect CMS, furtermore free.
I've just installed openCMS on my XP, Tomcat, MySQL system. The entire installation process was OK
but when I try to connect http://localhost:8080/opencms/opencms for a first login, I get this
page:
Etat HTTP 500 -
type Rapport d'exception
message
javax.servlet.ServletException: OpenCms initialization error!
Could not connect to the database. Is the database up and running?
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:245)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:536)
cause mËre
com.opencms.core.CmsException: 33 Resourcebroker-init error. Detailed error: Database init failed.
root cause was com.opencms.core.CmsException: 33 Resourcebroker-init error. Detailed error:
Critical error while loading resourcebroker.
root cause was com.opencms.core.CmsException: 4 Sql exception. Detailed error:
[com.opencms.file.mySql.CmsDbAccess] Unable to connect to any hosts due to exception:
java.net.ConnectException: Connection refused: connect.
root cause was java.sql.SQLException: Unable to connect to any hosts due to exception:
java.net.ConnectException: Connection refused: connect
com.opencms.core.OpenCms.<init>(OpenCms.java:259)
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:536)
cause mËre
com.opencms.core.CmsException: 33 Resourcebroker-init error. Detailed error: Critical error while
loading resourcebroker.
root cause was com.opencms.core.CmsException: 4 Sql exception. Detailed error:
[com.opencms.file.mySql.CmsDbAccess] Unable to connect to any hosts due to exception:
java.net.ConnectException: Connection refused: connect.
root cause was java.sql.SQLException: Unable to connect to any hosts due to exception:
java.net.ConnectException: Connection refused: connect
com.opencms.file.CmsRbManager.init(CmsRbManager.java:100)
com.opencms.core.OpenCms.<init>(OpenCms.java:255)
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:536)
cause mËre
com.opencms.core.CmsException: 4 Sql exception. Detailed error:
[com.opencms.file.mySql.CmsDbAccess] Unable to connect to any hosts due to exception:
java.net.ConnectException: Connection refused: connect.
root cause was java.sql.SQLException: Unable to connect to any hosts due to exception:
java.net.ConnectException: Connection refused: connect
com.opencms.file.mySql.CmsDbAccess.createGroup(CmsDbAccess.java:431)
com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:558)
com.opencms.file.genericSql.CmsDbAccess.<init>(CmsDbAccess.java:300)
com.opencms.file.mySql.CmsDbAccess.<init>(CmsDbAccess.java:125)
com.opencms.file.mySql.CmsResourceBroker.createDbAccess(CmsResourceBroker.java:62)
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:4182)
com.opencms.file.CmsRbManager.init(CmsRbManager.java:88)
com.opencms.core.OpenCms.<init>(OpenCms.java:255)
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:536)
cause mËre
java.sql.SQLException: Unable to connect to any hosts due to exception: java.net.ConnectException:
Connection refused: connect
com.mysql.jdbc.Connection.createNewIO(Connection.java:1592)
com.mysql.jdbc.Connection.<init>(Connection.java:486)
com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:326)
com.opencms.dbpool.CmsPool.createConnection(CmsPool.java:338)
com.opencms.dbpool.CmsPool.createConnections(CmsPool.java:320)
com.opencms.dbpool.CmsPool.<init>(CmsPool.java:118)
com.opencms.dbpool.CmsPool.<init>(CmsPool.java:149)
com.opencms.dbpool.CmsDriver.createPool(CmsDriver.java:214)
com.opencms.dbpool.CmsDriver.getPool(CmsDriver.java:188)
com.opencms.dbpool.CmsDriver.connect(CmsDriver.java:107)
java.sql.DriverManager.getConnection(DriverManager.java:512)
java.sql.DriverManager.getConnection(DriverManager.java:193)
com.opencms.file.mySql.CmsDbAccess.createGroup(CmsDbAccess.java:411)
com.opencms.file.mySql.CmsDbAccess.fillDefaults(CmsDbAccess.java:558)
com.opencms.file.genericSql.CmsDbAccess.<init>(CmsDbAccess.java:300)
com.opencms.file.mySql.CmsDbAccess.<init>(CmsDbAccess.java:125)
com.opencms.file.mySql.CmsResourceBroker.createDbAccess(CmsResourceBroker.java:62)
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:4182)
com.opencms.file.CmsRbManager.init(CmsRbManager.java:88)
com.opencms.core.OpenCms.<init>(OpenCms.java:255)
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
java.lang.Thread.run(Thread.java:536)
I tought that was a database pb but during installation, the setup access it without any problem.
So What can I do?
Annexe Query:
Is the first exception of the list the original one or is it the last?
Thanks in advance,
Vincent Spehner
Yahoo! Mail - Votre e-mail personnel et gratuit qui vous suit partout !
Créez votre adresse sur http://mail.yahoo.fr
More information about the opencms-dev
mailing list