cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bart Molenkamp" <b.molenk...@bizzdesign.nl>
Subject RE: Reconfiguring components without restarting Cocoon?
Date Thu, 17 Jun 2004 12:35:37 GMT
That is what I need, but Cocoon hangs when it is reconfigured. When
running inside both Tomcat and Jetty, it says on the console:

- No configuration file specified, going with the default configuration
- The database configuration file is not specified and there was no
xindice.db.home property set, so Xindice was unable to determine a
database location. Database will be created relative to the current
directory.
Cannot find CatalogManager.properties
server.properties not found, using command line or default properties
Opening database: C:\webapp\WEB-INF\db\cocoondb
HSQLDB server 1.7.1 is running
Use SHUTDOWN to close normally. Use [Ctrl]+[C] to abort abruptly
Thu Jun 17 14:05:14 CEST 2004 SHUTDOWN : System.exit() was not called
- Scheduler Cocoon_$_Thu_Jun_17_13:56:35_CEST_2004 paused.
- Scheduler Cocoon_$_Thu_Jun_17_13:56:35_CEST_2004 shutting down.
- Scheduler Cocoon_$_Thu_Jun_17_13:56:35_CEST_2004 paused.
- Scheduler Cocoon_$_Thu_Jun_17_13:56:35_CEST_2004 shutdown complete.
Thu Jun 17 14:05:14 CEST 2004 Listening for connections ...
(The server is hanging here)

Is this a bug, or am I doing something wrong?

-----Original Message-----
From: Unico Hommes [mailto:unico@hippo.nl] 
Sent: Thursday, June 17, 2004 12:24 PM
To: dev@cocoon.apache.org
Subject: Re: Reconfiguring components without restarting Cocoon?

Bart Molenkamp wrote:

>Hello,
>
>Is it possible to reconfigure a single component without having to
>restart Cocoon (for development purposes only)?
>
>  
>

Not a single component, but you can set 'allow-reload' servlet parameter

in web.xml to allow cocoon to be reloaded when cocoon.xconf changes. Be 
careful with this because it also allows Cocoon to be reloaded using 
'cocoon-reload' request parameter as well.

--
Unico

Mime
View raw message