[opencms-dev] installatin probleme (2)

jonathan.dominitz jonathan.dominitz at wanadoo.fr
Sun Mar 14 10:54:02 CET 2004


Hi,
I use Mysql and it's running on my machine
I saw that there "opencms" table created into MySQL
So I don't understand ...

Jo




----- Original Message -----
From: "Alex !" <kingofkingston at hotmail.com>
To: <opencms-dev at opencms.org>
Sent: Saturday, March 13, 2004 11:34 PM
Subject: RE: [opencms-dev] installatin probleme (2)


> The error means that OpenCms is not able to connect to the database, you
> didnt say which db you were using in your mail. I assume it may be MySQL.
> Check to see if the MySQL service is up and running on your machine.
>
> Alex
>
>
> >From: "jonathan.dominitz" <jonathan.dominitz at wanadoo.fr>
> >Reply-To: opencms-dev at opencms.org
> >To: <opencms-dev at opencms.org>
> >Subject: [opencms-dev] installatin probleme (2)
> >Date: Sat, 13 Mar 2004 23:29:26 +0100
> >
> >Hi,
> >I've already ask for this question but i lost the answer
> >So can you help me please ..?
> >
> >I explaine my problem :)
> >
> >1- I work on a Win XP system
> >2- I installed j2sdk-1_4_2-nb-3_5_1-bin-windows.exe
> >3- I installed jakarta-tomcat-4.1.29.exe
> >     a - I created the Variable System (JAVA_HOME...)
> >4- and mysql-4.0.18-win.zip
> >
> >Every think run ...
> >After I introduce opencms.war
> >I Check if tomcat develop theprogram : Every thing is ok
> >
> >I connect on localhost:8080/opencms/ocsetup
> >All it 's ok exept at the end when I ask to run the program :
> >
> >I have that :
> >http://localhost:8080/opencms/opencms/system/login :
> >
> >Etat HTTP 500 -
> >
>
>---------------------------------------------------------------------------
-
> >----
> >
> >type Rapport d''exception
> >
> >message
> >
> >description Le serveur a recontrer 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?
> >
> >
> > at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:245)
> > at
>
>org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:9
3
> >5)
> > at
>
>org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
> > at
>
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
a
> >va:210)
> > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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.j
a
> >va:191)
> > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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:2417)
> > at
>
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:18
0
> >)
> > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(StandardPipeline.java:643)
> > at
>
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve
.
> >java:171)
> > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(StandardPipeline.java:641)
> > at
>
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:17
2
> >)
> > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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.jav
a
> >:174)
> > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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:193)
> > at
>
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
> > at
>
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn
e
> >ction(Http11Protocol.java:549)
> > at
>
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
> > at
>
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
v
> >a:666)
> > at java.lang.Thread.run(Thread.java:534)
> >
> >
> >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:
> >Premature end of file..
> > at com.opencms.core.OpenCms.(OpenCms.java:259)
> > at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
> > at
>
>org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:9
3
> >5)
> > at
>
>org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
> > at
>
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
a
> >va:210)
> > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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.j
a
> >va:191)
> > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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:2417)
> > at
>
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:18
0
> >)
> > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(StandardPipeline.java:643)
> > at
>
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve
.
> >java:171)
> > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(StandardPipeline.java:641)
> > at
>
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:17
2
> >)
> > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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.jav
a
> >:174)
> > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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:193)
> > at
>
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
> > at
>
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn
e
> >ction(Http11Protocol.java:549)
> > at
>
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
> > at
>
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
v
> >a:666)
> > at java.lang.Thread.run(Thread.java:534)
> > >-----------
> > >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:
> >Premature end of file..
> > > at com.opencms.file.CmsRbManager.init(CmsRbManager.java:100)
> > > at com.opencms.core.OpenCms.(OpenCms.java:255)
> > > at
com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
> > > at
>
>org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:9
3
> >5)
> > > at
>
>org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
> > > at
>
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
a
> >va:210)
> > > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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.j
a
> >va:191)
> > > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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:2417)
> > > at
>
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:18
0
> >)
> > > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(StandardPipeline.java:643)
> > > at
>
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve
.
> >java:171)
> > > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(StandardPipeline.java:641)
> > > at
>
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:17
2
> >)
> > > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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.jav
a
> >:174)
> > > at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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:193)
> > > at
>
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
> > > at
>
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn
e
> >ction(Http11Protocol.java:549)
> > > at
>
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
> > > at
>
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
v
> >a:666)
> > > at java.lang.Thread.run(Thread.java:534)
> > >>-----------
> > >>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:
> >Premature end of file..
> > >> at com.opencms.file.CmsRegistry.(CmsRegistry.java:184)
> > >> at
>
>com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:4
2
> >03)
> > >> at com.opencms.file.CmsRbManager.init(CmsRbManager.java:88)
> > >> at com.opencms.core.OpenCms.(OpenCms.java:255)
> > >> at
> >com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
> > >> at
>
>org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:9
3
> >5)
> > >> at
>
>org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
> > >> at
>
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
a
> >va:210)
> > >> at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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.j
a
> >va:191)
> > >> at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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:2417)
> > >> at
>
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:18
0
> >)
> > >> at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(StandardPipeline.java:643)
> > >> at
>
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve
.
> >java:171)
> > >> at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(StandardPipeline.java:641)
> > >> at
>
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:17
2
> >)
> > >> at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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.jav
a
> >:174)
> > >> at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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:193)
> > >> at
>
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
> > >> at
>
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn
e
> >ction(Http11Protocol.java:549)
> > >> at
>
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
> > >> at
>
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
v
> >a:666)
> > >> at java.lang.Thread.run(Thread.java:534)
> > >>>-----------
> > >>>Root cause:
> > >>>com.opencms.core.CmsException: 21 XML parsing error. Detailed error:
> >Cannot parse XML file "null". org.xml.sax.SAXParseException: Premature
end
> >of file..
> > >>> at
>
>com.opencms.template.A_CmsXmlContent.throwException(A_CmsXmlContent.java:19
4
> >3)
> > >>> at
> >com.opencms.template.A_CmsXmlContent.parse(A_CmsXmlContent.java:1363)
> > >>> at com.opencms.file.CmsRegistry.(CmsRegistry.java:181)
> > >>> at
>
>com.opencms.file.genericSql.CmsResourceBroker.init(CmsResourceBroker.java:4
2
> >03)
> > >>> at com.opencms.file.CmsRbManager.init(CmsRbManager.java:88)
> > >>> at com.opencms.core.OpenCms.(OpenCms.java:255)
> > >>> at
> >com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:242)
> > >>> at
>
>org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:9
3
> >5)
> > >>> at
>
>org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:668)
> > >>> at
>
>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j
a
> >va:210)
> > >>> at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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.j
a
> >va:191)
> > >>> at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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:2417)
> > >>> at
>
>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:18
0
> >)
> > >>> at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(StandardPipeline.java:643)
> > >>> at
>
>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve
.
> >java:171)
> > >>> at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(StandardPipeline.java:641)
> > >>> at
>
>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:17
2
> >)
> > >>> at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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.jav
a
> >:174)
> > >>> at
>
>org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invo
k
> >eNext(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:193)
> > >>> at
>
>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
> > >>> at
>
>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConn
e
> >ction(Http11Protocol.java:549)
> > >>> at
>
>org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
> > >>> at
>
>org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja
v
> >a:666)
> > >>> at java.lang.Thread.run(Thread.java:534)
> >
> >
> >
> >
>
>---------------------------------------------------------------------------
-
> >----
> >
> >Apache Tomcat/4.1.29
> >
> >
> >So I dont understand why (because I got all the rights on this system))
> >
> >
> >So Can you help me ???
> >Best Regards
> >
> >Jonathan
> >
> >
> >
> >_______________________________________________
> >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
>
> _________________________________________________________________
> Tired of 56k? Get a FREE BT Broadband connection
> http://www.msn.co.uk/specials/btbroadband
>
> _______________________________________________
> 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




More information about the opencms-dev mailing list