[opencms-dev] Could not connect to the database. Is the database up and running?

M Butcher mbutcher at grcomputing.net
Tue Feb 17 17:37:01 CET 2004


Maria,

These two lines indicate the error:

[17.02.2004 12:23:26] <opencms_init> . Initializing registry: starting
[17.02.2004 12:23:26] <opencms_critical> [CmsRegistry] Cannot parse XML 
file "null". org.xml.sax.SAXParseException: Premature end of file.

Look at the registry.xml file in \webapps\opencms\WEB-INF\registry.xml 
and make sure that 1) it is there and 2) it has the right XML 
configuration info.

Matt


Maria Cruz Fernandez - Andornet SA wrote:
> what´s wrong?
> I can´t access to opencms but I have my mysql runnig.
>  
> This is the log file...
>  
> [17.02.2004 12:23:26] <opencms_init> . Startup time         : Tue Feb 17 
> 12:23:26 CET 2004
> [17.02.2004 12:23:26] <opencms_init> . Servlet container    : Apache 
> Tomcat/5.0.18
> [17.02.2004 12:23:26] <opencms_init> . OpenCms version      : 5.0.1 Kaitain
> [17.02.2004 12:23:26] <opencms_init> . OpenCms base path    : 
> C:\Archivos de programa\Apache Software Foundation\Tomcat 
> 5.0\webapps\opencms\WEB-INF\
> [17.02.2004 12:23:26] <opencms_init> . OpenCms property file: 
> C:\Archivos de programa\Apache Software Foundation\Tomcat 
> 5.0\webapps\opencms\WEB-INF\config/opencms.properties
> [17.02.2004 12:23:26] <opencms_init> . OpenCms logfile      : 
> C:\Archivos de programa\Apache Software Foundation\Tomcat 
> 5.0\webapps\opencms\WEB-INF\logs/opencms.log
> [17.02.2004 12:23:26] <opencms_init> . OpenCms encoding     : Cp1252
> [17.02.2004 12:23:26] <opencms_init> . System file.encoding : Cp1252
> [17.02.2004 12:23:26] <opencms_init> . Encoding set to      : Cp1252
> [17.02.2004 12:23:26] <opencms_init> . Ethernet address used: 
> f8:7a:0b:3c:5a:f4
> [17.02.2004 12:23:26] <opencms_init> . Java VM in use       : Java 
> HotSpot(TM) Client VM 1.4.2_02-b03 mixed mode Sun Microsystems Inc.
> [17.02.2004 12:23:26] <opencms_init> . Operating sytem      : Windows 
> 2000 5.0 x86
> [17.02.2004 12:23:26] <opencms_init> . Resource broker used : mysql
> [17.02.2004 12:23:26] <opencms_init> . Resource broker class: 
> com.opencms.file.mySql.CmsResourceBroker
> [17.02.2004 12:23:26] <opencms_init> . Resource broker init : phase 1 ok 
> - starting
> [17.02.2004 12:23:26] <opencms_init> . Resource broker init : phase 2 ok 
> - initializing database
> [17.02.2004 12:23:26] <opencms_init> . Resource broker init : phase 3 ok 
> - creating db access module
> [17.02.2004 12:23:26] <opencms_init> . Database access init : ok
> [17.02.2004 12:23:26] <opencms_init> . Database offline pool: 
> jdbc:opencmspool:mysql
> [17.02.2004 12:23:26] <opencms_init> . Database online pool : 
> jdbc:opencmspool:mysqlonline
> [17.02.2004 12:23:26] <opencms_init> . Database backup pool : 
> jdbc:opencmspool:mysqlbackup
> [17.02.2004 12:23:26] <opencms_init> . Digest configured    : MD5
> [17.02.2004 12:23:26] <opencms_init> . Digest file encoding : UTF-8
> [17.02.2004 12:23:26] <opencms_init> . Using digest encoding: MD5 from 
> SUN version 1.42
> [17.02.2004 12:23:26] <opencms_init> . Initializing registry: starting
> [17.02.2004 12:23:26] <opencms_critical> [CmsRegistry] Cannot parse XML 
> file "null". org.xml.sax.SAXParseException: Premature end of file.
> [17.02.2004 12:23:26] <opencms_critical> [CmsRbManager] Critical error 
> while loading resourcebroker
> [17.02.2004 12:23:26] <opencms_critical> . Critical init error/3: 
> com.opencms.core.CmsException: Critical error while loading resourcebroker
> [17.02.2004 12:23:26] <opencms_critical> OpenCms initialization error!
>  
> Could not connect to the database. Is the database up and running?
>  
> I hope you might help me and understand my horrible english.
> Thanks, Maria (Spain).
>  
>  
>  
> 
>  




More information about the opencms-dev mailing list