[opencms-dev] Date: Thu, 13 Mar 2003 10:31:18 +0100

Parul Rajdev Parul_Rajdev at infosys.com
Thu Mar 13 11:23:43 CET 2003


Hi,
I also have a problem similar to Gezahegn

I'm using Windows 2000, Tomcat 4.1.18, mySQL 3.23.55 , IE6 and JDK1.3. I made the configuration for the Tomcat - I setted the environment variables JAVA_HOME, CATALINA_HOME and also CATALINA_OPTS. My Tomcat is working properly. I unzipped OpenCms_5.0_rc_2.zip and copied the opencms.war file into CATALINA_HOME/webapps directory. Then I started Tomcat as Standalone. I located the browser to http://localhost:8080/opencms/ocsetup and followed instruction to install. 
The workplace is imported and the setup is complete.
On accessing the link http://localhost:8080/opencms/opencms/index.jsp I am getting the following exception report.Is there something else I've forgotten to do. Here is the list of exceptions, which I am pasting here.  
{ it says check if the database is up n running. ????}

Regards,

Parul Rajdev
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-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:228)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
	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:2415)
	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:170)
	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:223)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
	at java.lang.Thread.run(Thread.java:484)


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: Invalid encoding name "Cp1252".. 
	at com.opencms.core.OpenCms.(OpenCms.java:255)
	at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:225)
	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
	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:2415)
	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:170)
	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:223)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
	at java.lang.Thread.run(Thread.java:484)
>-----------
>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: Invalid encoding name "Cp1252".. 
>	at com.opencms.file.CmsRbManager.init(CmsRbManager.java:100)
>	at com.opencms.core.OpenCms.(OpenCms.java:251)
>	at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:225)
>	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
>	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
>	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>	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:2415)
>	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:170)
>	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:223)
>	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
>	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
>	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
>	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
>	at java.lang.Thread.run(Thread.java:484)
>>-----------
>>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: Invalid encoding name "Cp1252".. 
>>	at com.opencms.file.CmsRegistry.(CmsRegistry.java:180)
>>	at com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:4195)
>>	at com.opencms.file.CmsRbManager.init(CmsRbManager.java:88)
>>	at com.opencms.core.OpenCms.(OpenCms.java:251)
>>	at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:225)
>>	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
>>	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
>>	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>>	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:2415)
>>	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:170)
>>	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:223)
>>	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
>>	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
>>	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
>>	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
>>	at java.lang.Thread.run(Thread.java:484)
>>>-----------
>>>Root cause:
>>>com.opencms.core.CmsException: 21 XML parsing error. Detailed error: Cannot parse XML file "null". org.xml.sax.SAXParseException: Invalid encoding name "Cp1252".. 
>>>	at com.opencms.template.A_CmsXmlContent.throwException(A_CmsXmlContent.java:1976)
>>>	at com.opencms.template.A_CmsXmlContent.parse(A_CmsXmlContent.java:1379)
>>>	at com.opencms.file.CmsRegistry.(CmsRegistry.java:177)
>>>	at com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:4195)
>>>	at com.opencms.file.CmsRbManager.init(CmsRbManager.java:88)
>>>	at com.opencms.core.OpenCms.(OpenCms.java:251)
>>>	at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:225)
>>>	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
>>>	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
>>>	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
>>>	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:2415)
>>>	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:170)
>>>	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:223)
>>>	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
>>>	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
>>>	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
>>>	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
>>>	at java.lang.Thread.run(Thread.java:484)




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

Apache Tomcat/4.1.17



More information about the opencms-dev mailing list