[opencms-dev] installing opencms 5.0.1

philip lau pcllau at gmail.com
Mon Jun 13 18:07:30 CEST 2005


Hi People,

I am trying to install opencms 5.0.1 with tomcat 4.1, and mysql
4.0.24. But After installing, and clicking the "To start OpenCms click
here.", I get the following 500 message. Can anyone please help. The
reason why I am using this version is because it comes with modules
such as calendar, rss, forms, address book, search engine, mailing
list already built in.

thanks in advance,

Philip Lau

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HTTP Status 500 - 

--------------------------------------------------------------------------------

type Exception report

message 

description The server encountered an internal error () that prevented
it from fulfilling this request.

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:888)
	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:621)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:163)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
	at java.lang.Thread.run(Thread.java:534)


root cause 

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.<init>(OpenCms.java:259)
	at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:888)
	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:621)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:163)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
	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.<init>(OpenCms.java:255)
>	at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
>	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:888)
>	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:621)
>	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:163)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
>	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
>	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
>	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>	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.<init>(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.<init>(OpenCms.java:255)
>>	at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
>>	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:888)
>>	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:621)
>>	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:163)
>>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>>	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
>>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>>	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
>>	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
>>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>>	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
>>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
>>	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
>>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
>>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>>	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
>>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>>	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
>>	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>>	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>>	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>>	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>>	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.<init>(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.<init>(OpenCms.java:255)
>>>	at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
>>>	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:888)
>>>	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:621)
>>>	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:163)
>>>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>>>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>>>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>>>	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
>>>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>>>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>>>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>>>	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
>>>	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
>>>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>>>	at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
>>>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
>>>	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
>>>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
>>>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>>>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>>>	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
>>>	at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
>>>	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
>>>	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
>>>	at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
>>>	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
>>>	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
>>>	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
>>>	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
>>>	at java.lang.Thread.run(Thread.java:534)



More information about the opencms-dev mailing list