[opencms-dev] Help for installation ...

Maurizio Betti m.betti at arsweb.it
Tue Mar 9 20:34:02 CET 2004


Hy,

the problem "Cannot parse XML file "null"" appears when the registry.xml in 
the config folder is void. To solve this error make sure you have the 
written permission on a config folder and on all files in config folder. 
Then re-run the setup wizard.

bye, Maurizio Betti




At 19.49 09/03/2004 +0100, you wrote:
>Hi,
>
>I've a OPEN CMS installation problem.
>
>Where can I ask for an answer??
>
>I don't understand the problem... Can you help me.
>
>My problem is :
>Etat HTTP 500 -
>
>type Rapport d''exception
>
>message
>
>description Le serveur a recontrer une erreur interne () qui l'a empèché 
>de satisfaire la requête.
>
>exception
>
>javax.servlet.ServletException: OpenCms initialization error!
>
>Could not connect to the database. Is the database up and running?
>
>
>         at 
> com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:245)
>         at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
>         at 
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
>         at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>         at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
>         at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
>         at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>         at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
>         at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
>         at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
>         at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
>         at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
>         at java.lang.Thread.run(Thread.java:534)
>
>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: 34 Registry error. Detailed 
>error: couldn't init registry.
>root cause was com.opencms.core.CmsException: 21 XML parsing error. 
>Detailed error: Cannot parse XML file "null". 
>org.xml.sax.SAXParseException: Premature end of file..
>         at com.opencms.core.OpenCms.(OpenCms.java:259)
>         at 
> com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
>         at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
>         at 
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
>         at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>         at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
>         at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
>         at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>         at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
>         at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
>         at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>         at 
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
>         at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
>         at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
>         at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
>         at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
>         at java.lang.Thread.run(Thread.java:534)
> >-----------
> >Root cause:
> >com.opencms.core.CmsException: 33 Resourcebroker-init error. Detailed 
> error: Critical error while loading resourcebroker.
> >root cause was com.opencms.core.CmsException: 34 Registry error. 
> Detailed error: couldn't init registry.
> >root cause was com.opencms.core.CmsException: 21 XML parsing error. 
> Detailed error: Cannot parse XML file "null". 
> org.xml.sax.SAXParseException: Premature end of file..
> >       at com.opencms.file.CmsRbManager.init(CmsRbManager.java:100)
> >       at com.opencms.core.OpenCms.(OpenCms.java:255)
> >       at 
> com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
> >       at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
> >       at 
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
> >       at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
> >       at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >       at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >       at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >       at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >       at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >       at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >       at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >       at 
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
> >       at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> >       at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >       at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
> >       at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> >       at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
> >       at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> >       at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >       at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >       at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> >       at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >       at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >       at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >       at 
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
> >       at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
> >       at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
> >       at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
> >       at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
> >       at java.lang.Thread.run(Thread.java:534)
> >>-----------
> >>Root cause:
> >>com.opencms.core.CmsException: 34 Registry error. Detailed error: 
> couldn't init registry.
> >>root cause was com.opencms.core.CmsException: 21 XML parsing error. 
> Detailed error: Cannot parse XML file "null". 
> org.xml.sax.SAXParseException: Premature end of file..
> >>      at com.opencms.file.CmsRegistry.(CmsRegistry.java:184)
> >>      at 
> com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:4203)
> >>      at com.opencms.file.CmsRbManager.init(CmsRbManager.java:88)
> >>      at com.opencms.core.OpenCms.(OpenCms.java:255)
> >>      at 
> com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
> >>      at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
> >>      at 
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
> >>      at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
> >>      at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >>      at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >>      at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >>      at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >>      at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >>      at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >>      at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >>      at 
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
> >>      at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> >>      at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >>      at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
> >>      at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> >>      at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
> >>      at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> >>      at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >>      at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >>      at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> >>      at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >>      at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >>      at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >>      at 
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
> >>      at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
> >>      at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
> >>      at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
> >>      at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
> >>      at java.lang.Thread.run(Thread.java:534)
> >>>-----------
> >>>Root cause:
> >>>com.opencms.core.CmsException: 21 XML parsing error. Detailed error: 
> Cannot parse XML file "null". org.xml.sax.SAXParseException: Premature 
> end of file..
> >>>     at 
> com.opencms.template.A_CmsXmlContent.throwException(A_CmsXmlContent.java:1943)
> >>>     at 
> com.opencms.template.A_CmsXmlContent.parse(A_CmsXmlContent.java:1363)
> >>>     at com.opencms.file.CmsRegistry.(CmsRegistry.java:181)
> >>>     at 
> com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:4203)
> >>>     at com.opencms.file.CmsRbManager.init(CmsRbManager.java:88)
> >>>     at com.opencms.core.OpenCms.(OpenCms.java:255)
> >>>     at 
> com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
> >>>     at 
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
> >>>     at 
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
> >>>     at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
> >>>     at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >>>     at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >>>     at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >>>     at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >>>     at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >>>     at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >>>     at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >>>     at 
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
> >>>     at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
> >>>     at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >>>     at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
> >>>     at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> >>>     at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
> >>>     at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
> >>>     at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >>>     at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >>>     at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
> >>>     at 
> org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
> >>>     at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
> >>>     at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
> >>>     at 
> org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
> >>>     at 
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
> >>>     at 
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
> >>>     at 
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
> >>>     at 
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
> >>>     at java.lang.Thread.run(Thread.java:534)
>
>
>Apache Tomcat/4.1.29
>
>
>
>
>
>Thank you for answering me .
>
>Best regards
>
>Jonathan Dominitz
>
>_______________________________________________
>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




More information about the opencms-dev mailing list