[opencms-dev] Critical error during OpenCms initialization: Unable to read the OpenCms XML configuration.

Claus Priisholm cpr at codedroids.com
Sun Oct 16 20:18:22 CEST 2005


Try setting the log level to DEBUG in the log4j properties and restart 
in order to get the name of the config file which seemingly is causing 
the problem.

Daniel Rhoden wrote:
> More stack
> 
> INFO   | jvm 1    | 2005/10/15 22:36:25 | INFO: Deploying web application archive ROOT.war
> INFO   | jvm 1    | 2005/10/15 22:36:27 | 
> INFO   | jvm 1    | 2005/10/15 22:36:27 | 
> INFO   | jvm 1    | 2005/10/15 22:36:27 | Starting OpenCms, version 6.0.2 in web application "ROOT"
> INFO   | jvm 1    | 2005/10/15 22:36:27 | 
> INFO   | jvm 1    | 2005/10/15 22:36:27 | Copyright (c) 2005 Alkacon Software GmbH
> INFO   | jvm 1    | 2005/10/15 22:36:27 | OpenCms comes with ABSOLUTELY NO WARRANTY
> INFO   | jvm 1    | 2005/10/15 22:36:27 | This is free software, and you are welcome to
> INFO   | jvm 1    | 2005/10/15 22:36:27 | redistribute it under certain conditions.
> INFO   | jvm 1    | 2005/10/15 22:36:27 | Please see the GNU Lesser General Public Licence for
> INFO   | jvm 1    | 2005/10/15 22:36:27 | further details.
> INFO   | jvm 1    | 2005/10/15 22:36:27 | 
> INFO   | jvm 1    | 2005/10/15 22:36:27 | 
> INFO   | jvm 1    | 2005/10/15 22:36:30 | 
> INFO   | jvm 1    | 2005/10/15 22:36:30 | --------------------
> INFO   | jvm 1    | 2005/10/15 22:36:30 | The following critical error occured:
> INFO   | jvm 1    | 2005/10/15 22:36:30 | Critical error during OpenCms initialization: Unable to read the OpenCms XML configuration.
> INFO   | jvm 1    | 2005/10/15 22:36:30 | Giving up, unable to start OpenCms.
> .
> .
> .
> INFO   | jvm 1    | 2005/10/15 22:36:31 | Oct 15, 2005 10:36:31 PM org.apache.catalina.core.StandardHostValve custom
> INFO   | jvm 1    | 2005/10/15 22:36:31 | SEVERE: Exception Processing ErrorPage[errorCode=500, location=/opencms/system/handler/handle500.html]
> INFO   | jvm 1    | 2005/10/15 22:36:31 | org.opencms.main.CmsInitException: Critical error during OpenCms initialization: Unable to read the OpenCms XML configuration.
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:268)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:120)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:362)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:283)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:227)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at java.lang.Thread.run(Thread.java:595)
> INFO   | jvm 1    | 2005/10/15 22:36:31 | Oct 15, 2005 10:36:31 PM org.apache.catalina.core.StandardHostValve custom
> INFO   | jvm 1    | 2005/10/15 22:36:31 | SEVERE: Exception Processing ErrorPage[errorCode=500, location=/opencms/system/handler/handle500.html]
> INFO   | jvm 1    | 2005/10/15 22:36:31 | org.opencms.main.CmsInitException: Critical error during OpenCms initialization: Unable to read the OpenCms XML configuration.
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:268)
> INFO   | jvm 1    | 2005/10/15 22:36:31 |       at org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:120)
> 
> 
> Daniel Rhoden wrote:
> 
>> I am trying to upgrade to 6.0.2.  Looks like more than just one person 
>> is experiencing this.  Any solutions yet?
>>
>> Steps that led to this error:
>>
>>    1. shutdown Tomcat
>>    2. copied in the update
>>    3. set wizard to true in opencms.properties
>>    4. ran the setup (no errors that I could see)
>>    5. made the edits it instructed to opencms-system.xml and
>>       opencms-vfs.xml.
>>    6. started Tomcat.
>>    7. tried to load opencms web address.
>>    8. (had to manually changed wizard to false some where in this process)
>>    9. restarted again.
>>   10. tried to load opencms web address.
>>   11. boom
>>
>> INFO   | jvm 1    | 2005/10/15 22:30:00 | 
>> org.opencms.main.CmsInitException: Critical error during OpenCms 
>> initialization: Unable to read the OpenCms XML configuration
>> .
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:268)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.opencms.main.OpenCmsServlet.doGet(OpenCmsServlet.java:120)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:362)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:283)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:227)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>> INFO   | jvm 1    | 2005/10/15 22:30:00 |       at 
>> java.lang.Thread.run(Thread.java:595)
>>
>>------------------------------------------------------------------------
>>
>>
>>
>>_______________________________________________
>>This mail is send to you from the opencms-dev mailing list
>>To change your list options, or to unsubscribe from the list, please visit
>>http://mail.opencms.org/mailman/listinfo/opencms-dev
>>
> 
> ------------------------------------------------------------------------
> 
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev

-- 
Claus Priisholm, CodeDroids ApS
Phone: +45 48 22 46 46
cpr (you know what) codedroids.com - http://www.codedroids.com
cpr (you know what) interlet.dk - http://www.interlet.dk
--
Javadocs and other OpenCms stuff: 
http://www.codedroids.com/community/opencms



More information about the opencms-dev mailing list