I would like to set the property o.a.g.server.name=geronimo in MainConfigurationBootstrapper. This will prevent accidental corruption of 'var' directory. If the user did not create a geronim/var the server will not start.
Thanks Anita --- Jason Dillon <[EMAIL PROTECTED]> wrote: > Just make it a manual step for now... as time goes on we may need to > > add a boostrap jvm-overlord thingy to handle more simplified/ > automatically cloning, but for now... telling users to cp -r a/ b/ is > > probably easiest with the least amount of wrinkles. > > --jason > > > On Apr 25, 2007, at 7:10 PM, Anita Kulshreshtha wrote: > > > > > --- David Jencks <[EMAIL PROTECTED]> wrote: > > > >> I agree. I don't think normal geronimo startup should involve > >> copying stuff from one location to another to set up a new server > >> location. > > This is needed because we need to keep a pristine copy of 'var' > > directory to create additional instances of geronimo. A user should > be > > able to use the installed image _any_ time to create additional > > instances. In other words we need two copies of 'var' directory, > > one to > > create additional instance and one to start the 'base server'. We > > could > > either create var and geronimo/var at build time or copy 'var' to > > geronimo/var when the image is used to start geronimo very _first_ > > time. > > > > Thanks > > Anita > > > > > > > > We could build some kind of admin server to manage setting > >> > >> up/removing server "clones" but I don't think it should be part of > >> the base server normal startup path. If I've misunderstood what > you > >> > >> are proposing please complain :-) > >> > >> thanks > >> david jencks > >> > >> On Apr 25, 2007, at 11:55 AM, Jason Dillon wrote: > >> > > > >>> > >>> --jason > >>> > >>> > >>> On Apr 25, 2007, at 4:58 AM, Anita Kulshreshtha wrote: > >>> > >>>> On a closer inspection this alternative (2) does not look so > >>>> attractive. IIUC, The classes to determine the geronimo install > >>>> directory and directory copy are available in system module. > >>>> Either we > >>>> duplicate the code in kernel or wait till later (after booting > >>>> kernel, > >>>> loading bootstrap configuration..) to fail if the instance data > is > >> > >>>> not > >>>> found. > >>>> Yet another alternative (3) is to modify the build and create > a > >>>> geronimo/var and make 'var' read only. > >>>> > >>>> Thanks > >>>> Anita > >>>> > >>>> --- Dain Sundstrom <[EMAIL PROTECTED]> wrote: > >>>> > >>>>> +1 > >>>>> > >>>>> I think the platform scripts should be as thin as possible > >>>>> > >>>>> -dain > >>>>> > >>>>> On Apr 24, 2007, at 12:38 PM, Jason Dillon wrote: > >>>>> > >>>> .............................. > >>>> and then just die > >>>>> > >>>>>> quickly if the directory is missing with an informative error > >>>>>> message to that effect. > >>>>>> > >>>>>> --jason > >>>>>> > >>>>>> > >>>>>> On Apr 24, 2007, at 12:32 PM, Anita Kulshreshtha wrote: > >>>>>> > >>>>>>> The other option is to update MainConfigurationBootstrapper > >> as > >>>>>>> follows: > >>>>>>> 1. if geronimo.org.apache.geronimo.server.name system > property > >> is > >>>>> not > >>>>>>> set, set it to 'geronimo'. > >>>>>>> 2. If 'geronimo' dir does not exist, create one and copy > 'var' > >> to > >>>>> it. > >>>>>>> 3. do the rest... > >>>>>>> > >>>> > >>>> > >>>> __________________________________________________ > >>>> Do You Yahoo!? > >>>> Tired of spam? Yahoo! Mail has the best spam protection around > >>>> http://mail.yahoo.com > >>> > >> > >> > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
