geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Boynes <>
Subject Re: How to updated config.list during offline deployment
Date Thu, 04 Nov 2004 19:18:04 GMT
Aaron Mulder wrote:
> 	I'd like to be able to add entries to config.list when the server 
> is not running and I'm doing a deployment.  The problem is, the 
> configuration list GBean isn't running -- it's not in the minimal set 
> started by the deployer.  And even if it was, it would install a shutdown 
> hook that basically saved an empty file when the deployer finished.
> 	Anyone mind if I just have a little logic in the deployer to 
> update this file directly?

Yes, I mind. The config.list file is specific to the actual 
implementation of the PersistentConfigurationList GBean and the deployer 
should not assume that as other implementations may exist.

The other thing is that the --install option does just that - install 
but not start (it is meant to be similar to JSR-88 distribute).

I believe this can be better solved by adding an option to server.jar 
that adds a new configId to the list to be run, something like:

java -jar bin/server.jar --add my/new/config


View raw message