You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Dain Sundstrom <da...@iq80.com> on 2005/12/02 09:53:20 UTC

ConfigurationDump

I committed a very rough configuration dump utility.  This program  
will dump **ALL** of the information contained in the config-store.

To run it you will need to update and rebuild Geronimo (a rebuild is  
required).  The to run it, simply cd into an unpacked geronimo server  
(modules/assembly/target/geronimo-1.0-SNAPSHOT) and run the following  
command in your bash shell (I have no idea what the equivalent  
command on windows is):

java -classpath $(ls lib/*.jar | tr '\n' ':')  
org.apache.geronimo.system.configuration.ConfigurationDump .

The single command line argument to command dump is the location of  
the geronimo server home directory.

This is as much work as I plan on doing on the ConfigurationDump  
utility, so if you want some more features your going to have to code  
them yourself :)

-dain

Re: ConfigurationDump

Posted by Jason Dillon <ja...@planet57.com>.
If you use ClassWorlds, you can provide a simple command which  
functions on Windows and Unix, so you could just say run 'configdump'  
and externalize the loading of libraries into a ClassWorlds  
configuration file.

;-)

--jason


On Dec 2, 2005, at 12:53 AM, Dain Sundstrom wrote:

> I committed a very rough configuration dump utility.  This program  
> will dump **ALL** of the information contained in the config-store.
>
> To run it you will need to update and rebuild Geronimo (a rebuild  
> is required).  The to run it, simply cd into an unpacked geronimo  
> server (modules/assembly/target/geronimo-1.0-SNAPSHOT) and run the  
> following command in your bash shell (I have no idea what the  
> equivalent command on windows is):
>
> java -classpath $(ls lib/*.jar | tr '\n' ':')  
> org.apache.geronimo.system.configuration.ConfigurationDump .
>
> The single command line argument to command dump is the location of  
> the geronimo server home directory.
>
> This is as much work as I plan on doing on the ConfigurationDump  
> utility, so if you want some more features your going to have to  
> code them yourself :)
>
> -dain