[opencms-dev] Opencms & MacOSX

Eric Charikane charikane at ecrin.asso.fr
Mon Sep 29 11:39:01 CEST 2003


Hello,
I 'm trying to run opencms on my macosx 10.2.8 client using tomcat  
5.0.12. I run the setup, by the way it works only with I.E and not with  
Safari ! Does anyone succeed ? What am I missing ?
Many Thanks,
Eric


Here is what I get :


---
1) > http://127.0.0.1:8080/opencms/
Liste du répertoire pour /
Nom de fichier  Taille  Dernière modification
    export/  Thu, 25 Sep 2003 20:32:25 GMT
    ocsetup/   Thu, 25 Sep 2003 20:32:25 GMT
    resources/   Thu, 25 Sep 2003 20:38:39 GMT
Apache Tomcat/5.0.12

2) > http://127.0.0.1:8080/opencms/opencms/login
Etat HTTP 500 -

type Rapport d'exception

message

description Le serveur a rencontré une erreur interne () qui l'a  
empêché de satisfaire la requête.

exception
javax.servlet.ServletException: OpenCms initialization error!

Could not connect to the database. Is the database up and running?


          
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:245)
          
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java 
:164)
          
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
          
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:67 
0)
          
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC 
onnection(Http11Protocol.java:517)
          
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57 
5)
          
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool 
.java:666)
         java.lang.Thread.run(Thread.java:554)



cause mère
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 "MacRoman"..
         com.opencms.core.OpenCms.(OpenCms.java:259)
          
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
          
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java 
:164)
          
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
          
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:67 
0)
          
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC 
onnection(Http11Protocol.java:517)
          
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57 
5)
          
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool 
.java:666)
         java.lang.Thread.run(Thread.java:554)



cause mère
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 "MacRoman"..
         com.opencms.file.CmsRbManager.init(CmsRbManager.java:100)
         com.opencms.core.OpenCms.(OpenCms.java:255)
          
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
          
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java 
:164)
          
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
          
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:67 
0)
          
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC 
onnection(Http11Protocol.java:517)
          
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57 
5)
          
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool 
.java:666)
         java.lang.Thread.run(Thread.java:554)



cause mère
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 "MacRoman"..
         com.opencms.file.CmsRegistry.(CmsRegistry.java:184)
          
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.jav 
a:4203)
         com.opencms.file.CmsRbManager.init(CmsRbManager.java:88)
         com.opencms.core.OpenCms.(OpenCms.java:255)
          
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
          
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java 
:164)
          
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
          
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:67 
0)
          
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC 
onnection(Http11Protocol.java:517)
          
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57 
5)
          
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool 
.java:666)
         java.lang.Thread.run(Thread.java:554)



cause mère
com.opencms.core.CmsException: 21 XML parsing error. Detailed error:  
Cannot parse XML file "null". org.xml.sax.SAXParseException: Invalid  
encoding name "MacRoman"..
          
com.opencms.template.A_CmsXmlContent.throwException(A_CmsXmlContent.java 
:1943)
          
com.opencms.template.A_CmsXmlContent.parse(A_CmsXmlContent.java:1363)
         com.opencms.file.CmsRegistry.(CmsRegistry.java:181)
          
com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.jav 
a:4203)
         com.opencms.file.CmsRbManager.init(CmsRbManager.java:88)
         com.opencms.core.OpenCms.(OpenCms.java:255)
          
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
          
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java 
:164)
          
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
          
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:67 
0)
          
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC 
onnection(Http11Protocol.java:517)
          
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:57 
5)
          
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool 
.java:666)
         java.lang.Thread.run(Thread.java:554)



note La trace complète de la cause mère de cette erreur est disponible  
dans les fichiers journaux de Tomcat.

Apache Tomcat/5.0.12



More information about the opencms-dev mailing list