[opencms-dev] index.jsp page gives "Could not connect to the database. Is the database up and running?" error
Yogen Kapadia
yogen_kapadia at yahoo.com
Wed May 7 22:52:01 CEST 2003
Thanks, Mark! cp1252 encoding was indeed the cause of the problem. Changing it to IS0-8859-1 in Tomcat solved it. Note for those who encounter a similar problem in future -simply set your Tomcat environment variable as follows:CATALINA_OPTS=-Dfile.encoding=ISO-8859-1 Thanks again to everyone who helped solve this!
"Roedel, Mark" <MarkRoedel at letu.edu> wrote:-----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
_______________________________________________
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20030507/d96a8c31/attachment.htm>
More information about the opencms-dev
mailing list