[opencms-dev] index.jsp page gives "Could not connect to the database. Is the database up and running?" error

Roedel, Mark MarkRoedel at letu.edu
Wed May 7 21:40:02 CEST 2003


-----Original Message-----
From: Yogen Kapadia [mailto:yogen_kapadia at yahoo.com] 
Sent: Tuesday, May 06, 2003 7:52 PM
To: opencms-dev at opencms.org
Subject: [opencms-dev] index.jsp page gives "Could not connect to the
database. Is the database up and running?" error


> My installation of OpenCMS was successful but on trying to
> connect to the start page - http://localhost:8080/opencms/ 
> opencms/index.jsp I received the following error. 
>
> 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)
>
> [snip]
>
> 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.SAXParse
> Exception: The encoding "Cp1252" is not supported. 

             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

This message here, under the "root cause" header, looks like it might be
saying something significant.  Do you get anywhere different if you
change Jboss/Tomcat's file encoding to something ISO-8859-ish?  (On my
system, for the record, it's set to ISO-8859-1...)


---
Mark Roedel           | "The most overlooked advantage to owning a
Systems Programmer    |  computer is that if they foul up there's no
LeTourneau University |  law against whacking them around a little."
Longview, Texas  USA  |                        -- Owen Porterfield



More information about the opencms-dev mailing list