You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by si...@insession.com on 2005/07/11 15:22:15 UTC

Questions on Geronimo's var directory and the config-store directory

Is this statement correct.. The "var" directory intended for holding data 
specific to a particular Geronimo instance and not intended to be shared 
by multiple instances of geronimo?

If I wanted to run two geronimo instances, sharing the same installation 
directory (e.g. so geronimo\lib and geronimo\repository is shared), each 
of the two instances of geronimo would need to be started with a unique 
geronimo.base.dir property value ?

Currently Geronimo's "config-store" directory is a child of the Geronimo 
installation directory rather than a child of the"var" directory (which is 
relative to geronimo.base.dir).  What is the reason for config-store not 
being under the var directory?  Is it because it is just a file 
implementation of a config store and could change in the future to some 
other storage implementation?

If the config-store is being shared by multiple instances of Geronimo 
couldn't that pose a problem when two instances using the same 
configuration are updated when a server shuts down?

Does anyone have thoughts on how deployment and loading of configurations 
would work in the future when Geronimo supports clustering and how it 
would work with a config store? 

Thanks,

John

This e-mail message and any attachments may contain confidential, 
proprietary or non-public information.  This information is intended 
solely for the designated recipient(s).  If an addressing or transmission 
error has misdirected this e-mail, please notify the sender immediately 
and destroy this e-mail.  Any review, dissemination, use or reliance upon 
this information by unintended recipients is prohibited.  Any opinions 
expressed in this e-mail are those of the author personally.

Re: Questions on Geronimo's var directory and the config-store directory

Posted by "Alan D. Cabrera" <li...@toolazydogs.com>.
Sounds like a neat idea.


Regards,
Alan

On 7/11/2005 6:22 AM, sissonj@insession.com wrote:

>Is this statement correct.. The "var" directory intended for holding data 
>specific to a particular Geronimo instance and not intended to be shared 
>by multiple instances of geronimo?
>
>If I wanted to run two geronimo instances, sharing the same installation 
>directory (e.g. so geronimo\lib and geronimo\repository is shared), each 
>of the two instances of geronimo would need to be started with a unique 
>geronimo.base.dir property value ?
>
>Currently Geronimo's "config-store" directory is a child of the Geronimo 
>installation directory rather than a child of the"var" directory (which is 
>relative to geronimo.base.dir).  What is the reason for config-store not 
>being under the var directory?  Is it because it is just a file 
>implementation of a config store and could change in the future to some 
>other storage implementation?
>
>If the config-store is being shared by multiple instances of Geronimo 
>couldn't that pose a problem when two instances using the same 
>configuration are updated when a server shuts down?
>
>Does anyone have thoughts on how deployment and loading of configurations 
>would work in the future when Geronimo supports clustering and how it 
>would work with a config store? 
>
>Thanks,
>
>John
>
>This e-mail message and any attachments may contain confidential, 
>proprietary or non-public information.  This information is intended 
>solely for the designated recipient(s).  If an addressing or transmission 
>error has misdirected this e-mail, please notify the sender immediately 
>and destroy this e-mail.  Any review, dissemination, use or reliance upon 
>this information by unintended recipients is prohibited.  Any opinions 
>expressed in this e-mail are those of the author personally.
>  
>



Re: Questions on Geronimo's var directory and the config-store directory

Posted by Jeff Genender <jg...@savoirtech.com>.
+1 on this idea.  We need to be able to support multiple server 
instances and this directory structures.  This is a very common setup 
for companies that develop on central Unix machines.

Jeff

sissonj@insession.com wrote:
> Is this statement correct.. The "var" directory intended for holding data 
> specific to a particular Geronimo instance and not intended to be shared 
> by multiple instances of geronimo?
> 
> If I wanted to run two geronimo instances, sharing the same installation 
> directory (e.g. so geronimo\lib and geronimo\repository is shared), each 
> of the two instances of geronimo would need to be started with a unique 
> geronimo.base.dir property value ?
> 
> Currently Geronimo's "config-store" directory is a child of the Geronimo 
> installation directory rather than a child of the"var" directory (which is 
> relative to geronimo.base.dir).  What is the reason for config-store not 
> being under the var directory?  Is it because it is just a file 
> implementation of a config store and could change in the future to some 
> other storage implementation?
> 
> If the config-store is being shared by multiple instances of Geronimo 
> couldn't that pose a problem when two instances using the same 
> configuration are updated when a server shuts down?
> 
> Does anyone have thoughts on how deployment and loading of configurations 
> would work in the future when Geronimo supports clustering and how it 
> would work with a config store? 
> 
> Thanks,
> 
> John
> 
> This e-mail message and any attachments may contain confidential, 
> proprietary or non-public information.  This information is intended 
> solely for the designated recipient(s).  If an addressing or transmission 
> error has misdirected this e-mail, please notify the sender immediately 
> and destroy this e-mail.  Any review, dissemination, use or reliance upon 
> this information by unintended recipients is prohibited.  Any opinions 
> expressed in this e-mail are those of the author personally.

Re: Questions on Geronimo's var directory and the config-store directory

Posted by Aaron Mulder <am...@alumni.princeton.edu>.
	I sounds like a good idea to me to put the config store directory 
under var/.  Though I think we'd need a further change to allow you to 
provide a different name than "/var" so you could share the base dir and 
everything else but have "/var-server1" and "/var-server2" or something.  
But I also want to think through this a little more.

Aaron

On Tue, 12 Jul 2005 sissonj@insession.com wrote:
> Is this statement correct.. The "var" directory intended for holding data 
> specific to a particular Geronimo instance and not intended to be shared 
> by multiple instances of geronimo?
> 
> If I wanted to run two geronimo instances, sharing the same installation 
> directory (e.g. so geronimo\lib and geronimo\repository is shared), each 
> of the two instances of geronimo would need to be started with a unique 
> geronimo.base.dir property value ?
> 
> Currently Geronimo's "config-store" directory is a child of the Geronimo 
> installation directory rather than a child of the"var" directory (which is 
> relative to geronimo.base.dir).  What is the reason for config-store not 
> being under the var directory?  Is it because it is just a file 
> implementation of a config store and could change in the future to some 
> other storage implementation?
> 
> If the config-store is being shared by multiple instances of Geronimo 
> couldn't that pose a problem when two instances using the same 
> configuration are updated when a server shuts down?
> 
> Does anyone have thoughts on how deployment and loading of configurations 
> would work in the future when Geronimo supports clustering and how it 
> would work with a config store? 
> 
> Thanks,
> 
> John
> 
> This e-mail message and any attachments may contain confidential, 
> proprietary or non-public information.  This information is intended 
> solely for the designated recipient(s).  If an addressing or transmission 
> error has misdirected this e-mail, please notify the sender immediately 
> and destroy this e-mail.  Any review, dissemination, use or reliance upon 
> this information by unintended recipients is prohibited.  Any opinions 
> expressed in this e-mail are those of the author personally.
> 

Re: Questions on Geronimo's var directory and the config-store directory

Posted by Jacek Laskowski <jl...@apache.org>.
sissonj@insession.com wrote:
> Is this statement correct.. The "var" directory intended for holding data 
> specific to a particular Geronimo instance and not intended to be shared 
> by multiple instances of geronimo?

Correct.

> If I wanted to run two geronimo instances, sharing the same installation 
> directory (e.g. so geronimo\lib and geronimo\repository is shared), each 
> of the two instances of geronimo would need to be started with a unique 
> geronimo.base.dir property value ?

Aren't lib and repository childs of geronimo.base.dir? If so, you won't 
be able to achieve it.

> Currently Geronimo's "config-store" directory is a child of the Geronimo 
> installation directory rather than a child of the"var" directory (which is 
> relative to geronimo.base.dir).  What is the reason for config-store not 
> being under the var directory? 

I think it's because it didn't cause any troubles yet. There was simply 
no test case to show its invalid ;)

> Is it because it is just a file 
> implementation of a config store and could change in the future to some 
> other storage implementation?

Don't know.

> If the config-store is being shared by multiple instances of Geronimo 
> couldn't that pose a problem when two instances using the same 
> configuration are updated when a server shuts down?

I think it would require to specify which instance should be targetted 
when distributing a module. This way, the problem would be that the 
another instance wouldn't notice the module has been installed. Since it 
wasn't targetted, it doesn't have to see the change.

> Does anyone have thoughts on how deployment and loading of configurations 
> would work in the future when Geronimo supports clustering and how it 
> would work with a config store? 

Unfortunatelly not.

> John

Jacek


Re: Questions on Geronimo's var directory and the config-store directory

Posted by Dain Sundstrom <da...@iq80.com>.
I don't remember thinking about the "var" directory idea that much  
when we added it.  I remember that it just seemed like a good idea at  
the time.

Actually, I the directory structure Geronimo has just kind of  
happened and was not discussed on the mailing list.  Since this is  
such an important part the server that users will interact with every  
day, I propose that we spend some time between M4 and M5 to rethink  
and discuss the layout of our server on the development list.

-dain

On Jul 11, 2005, at 6:22 AM, sissonj@insession.com wrote:

> Is this statement correct.. The "var" directory intended for  
> holding data
> specific to a particular Geronimo instance and not intended to be  
> shared
> by multiple instances of geronimo?
>
> If I wanted to run two geronimo instances, sharing the same  
> installation
> directory (e.g. so geronimo\lib and geronimo\repository is shared),  
> each
> of the two instances of geronimo would need to be started with a  
> unique
> geronimo.base.dir property value ?
>
> Currently Geronimo's "config-store" directory is a child of the  
> Geronimo
> installation directory rather than a child of the"var" directory  
> (which is
> relative to geronimo.base.dir).  What is the reason for config- 
> store not
> being under the var directory?  Is it because it is just a file
> implementation of a config store and could change in the future to  
> some
> other storage implementation?
>
> If the config-store is being shared by multiple instances of Geronimo
> couldn't that pose a problem when two instances using the same
> configuration are updated when a server shuts down?
>
> Does anyone have thoughts on how deployment and loading of  
> configurations
> would work in the future when Geronimo supports clustering and how it
> would work with a config store?
>
> Thanks,
>
> John
>
> This e-mail message and any attachments may contain confidential,
> proprietary or non-public information.  This information is intended
> solely for the designated recipient(s).  If an addressing or  
> transmission
> error has misdirected this e-mail, please notify the sender  
> immediately
> and destroy this e-mail.  Any review, dissemination, use or  
> reliance upon
> this information by unintended recipients is prohibited.  Any opinions
> expressed in this e-mail are those of the author personally.
>