Carsten Ziegeler wrote:
>
> If you uncomment the following lines in the cocoon.xconf:
>
> <hsqldb-server class="org.apache.cocoon.components.hsqldb.ServerImpl"
> pool-max="1" pool-min="1">
> <parameter name="port" value="9002"/>
> <parameter name="silent" value="true"/>
> <parameter name="trace" value="false"/>
> </hsqldb-server>
>
> hsqldb is not started and everything should work fine. I don't
> have any problems with this.
I have a problem: Cocoon complains in the logs that it couldn't find or
start up HSQL. That should not be. I have been dilligent in removing
any extraneous messages from Avalon's code (esp. since it generates so
many) and making the messages helpful.
Somewhere, the hsqldb-server is trying to be started. Because it has
an entry in the cocoon.roles file, if the component is requested,
there will be a default server object created--which will fail.
>
> Carsten
>
> > Jeremy Quinn wrote:
> >
> > Hi,
> >
> > How do you completely stop Cocoon 2 from trying to set up hsqldb?
> >
> > I am trying to run a second Cocoon 2 context, but it tries to set up a
> > second hsqldb server.
> >
> > I have commented out all references to 'hsqldb' and 'jdbc' in
> > 'sitemap.xmap', 'cocoon.xconf' and 'web.xml' files, removed 'hsqldb.jar',
> > but I still get class not found exceptions looking for it.
> >
> > Do I need to edit 'hsqldb-server' out of 'cocoon.roles' and
> > re-build Cocoon2?
> >
> >
> > Is it considered a bad thing to run TomCat with multiple Cocoon 2
> > contexts?
> >
> >
> > If I want to run multiple separate projects, is it better to make the ROOT
> > context the Cocoon context (so the separate projects do not have to have
> > the same URL prefix) and run them all in there under sub-sitemaps?
> >
> >
> > thanks for any help
> >
> > regards Jeremy
> > --
> > ___________________________________________________________________
> >
> > Jeremy Quinn Karma Divers
> > webSpace Design
> > HyperMedia Research Centre
> >
> > <mailto:sharkbait@mac.com>
> <http://www.media.demon.co.uk>
> <phone:+44.[0].20.7737.6831> <pager:jermq@vizzavi.net>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org
|