Critical Error During Opencms Initialization
error Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Hi Supriya OpenCms can not connect to your database server. The exception is java.net.ConnectException: Connection refused. Check database user's permissions and firewall. Best regards Georgi On 01/13/2012 02:39 PM, Supriya Patil wrote: > hello, > > this is the error log > > 3 Jan 2012 15:03:02,805 INFO [rg.opencms.db.CmsDriverManager:5297] . > Driver init : ok, finished > 13 Jan 2012 15:03:02,806 INFO [rg.opencms.db.CmsDriverManager:4658] . > Driver manager init : phase 4 - connecting to the database > 13 Jan 2012 15:03:02,818 ERROR [encms.db.generic.CmsUserDriver:2084] . > User Driver : System roles creation failed > org.opencms.db.CmsDbSqlException: An SQL error occurred when executing > the following query: . > at org.opencms.db.generic.CmsUserDriver.existsGroup(CmsUserDriver.java:708) > at > org.opencms.db.generic.CmsUserDriver.internalCreateDefaultGroups(CmsUserDriver.java:2053) > at org.opencms.db.generic.CmsUserDriver.fillDefaults(CmsUserDriver.java:761) > at org.opencms.db.CmsDriverManager.init(CmsDriverManager.java:4673) > at org.opencms.db.CmsSecurityManager.init(CmsSecurityManager.java:2742) > at > org.opencms.db.CmsSecurityManager.newInstance(CmsSecurityManager.java:157) > at org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1126) > at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1290) > at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1740) > at > org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87) > at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795) > at org.apache.catalina.core.StandardContext.start(StandardContext.java:4252) > at > org.apache.catalina.core.ContainerBase.addChi
Virtualization VMware Windows Wyse Solving OpenCms startup error: Critical error while loading driver manager Wednesday - Sep 11th 2013 - by Claudio Kuenzler - (0 comments) I recently needed to reboot a server with a huge uptime (unfortunately I didn't write it down) where an old CMS system (OpenCMS version 7.0.x) was running on an old Tomcat (5) on an old OS (Solaris 10) running on old hardware (HP DL 380 G5). The good news first: The hardware didn't have any issues and booted http://lists.opencms.org/pipermail/opencms-dev/2012q1/036494.html as it should have. The bad news: The web-application running on Tomcat didn't start up correctly anymore. catalina.out showed the following entries in the last lines of the log: Starting OpenCms, version 7.0.5 in web application "ROOT" Copyright (c) 2007 Alkacon Software GmbH OpenCms comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under http://www.claudiokuenzler.com/blog/384/solved-opencms-startup-initialization-critical-error-while-loading-driver-manager certain conditions. Please see the GNU Lesser General Public Licence for further details. -------------------- The following critical error occurred: Critical error while loading driver manager. Giving up, unable to start OpenCms. -------------------- Sep 11, 2013 12:40:38 PM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Sep 11, 2013 12:40:38 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8089 Sep 11, 2013 12:40:38 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/16 config=null Sep 11, 2013 12:40:38 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 5348 ms According to a mailing list post (for OpenCms 8.0.3 though), such an error message usually has something to do with a database problem. But unfortunately that was all the information I could find - at least in catalina.out. But after a "find . -mtype 0" showed me that another log file was written: /export/home/tomcat/webapps/ROOT/WEB-INF/logs/opencms.log. In this log file, the following error was shown, when I restarted Tomcat: Caused by: java.sql.SQLException: Table './cmsdb/CMS_USERDATA' is marked as crashed and should be repaired at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723) at com.mysql.jdbc.Connection.execSQL(Connection.java:3256) at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1313) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1448) at org.apache.commons.dbcp.Delegatin
of our intranet machine.Since a couple of days the first access in the morning, when thesecretary wants http://opencms-dev.opencms.narkive.com/bJ1MSqlE/critical-error-during-opencms-initialization to log into opencms, produces the error below:HTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that preventedit from fulfilling this request.exceptionorg.opencms.main.CmsInitException: Critical error during OpenCmsinitialization: Unable to initialize the user driver.org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:290)org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:127)javax.servlet.http.HttpServlet.service(HttpServlet.java:690)javax.servlet.http.HttpServlet.service(HttpServlet.java:803)note The full stack trace of the root cause is available critical error in the ApacheTomcat/6.0.10 logs.Apache Tomcat/6.0.10Looking into Tomcat/logs/stdout_20100226.log I see:--------------------The following critical error occurred:Critical error during OpenCms initialization: Unable to initialize theuser driver.Giving up, unable to start OpenCms.--------------------log4j:ERROR LogMananger.repositorySelector was null likely due to errorin classreloading, using NOPLoggerRepository.Starting OpenCms, version 7.5.0 in web application "ROOT"Copyright (c) 2009 Alkacon critical error during Software GmbHOpenCms comes with ABSOLUTELY NO WARRANTYThis is free software, and you are welcome toredistribute it under certain conditions.Please see the GNU Lesser General Public Licence forfurther details.Anyone seen this or have an idea? Looks like some weirdness with log4j.--Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de Mario Jäger 2010-02-26 09:12:59 UTC PermalinkRaw Message Hi Christoph,I never have seen this, but perhaps this will give you some more information:http://mail-archives.apache.org/mod_mbox//logging-log4j-user/200804.mbox/%3C6D42962C-5DB1-4ACB-BB3A-D9D0D91E9B0B at apache.org%3E--Kind Regards,Mario.-------------------Mario J?gerAlkacon Software GmbH - The OpenCms Expertshttp://www.alkacon.com - http://www.opencms.orgPost by Christoph P. KukuliesWe stop and start Tomcat6.0.10 and Apache2.2 every midnight during thebackup of our intranet machine.Since a couple of days the first access in the morning, when theHTTP Status 500 -type Exception reportmessagedescription The server encountered an internal error () that preventedit from fulfilling this request.exceptionorg.opencms.main.CmsInitException: Critical error during OpenCmsinitialization: Unable to initialize t