The way by sharing the repository or certain folders is not enabled in 3.0 yet. To run multiple instances on one machine, the only way is to copy the server folder to another place on the disk, and then start the server after changing the offPortset value in config-substitutions.properties file.
Jeff C On Thu, Sep 22, 2011 at 4:27 PM, Forrest Xia <[email protected]> wrote: > 3.0 does not have the feature like the doc for multiple instances support. > The doc needs update. > > Forrest > > > On Wed, Sep 21, 2011 at 11:03 PM, Russell E Glaue <[email protected]> wrote: > >> AFAIK, we still have a desire to support multiple instances per Geronimo >> base >> install. >> >> >> https://cwiki.apache.org/GMOxDOC30/running-multiple-geronimo-instances.html >> >> We have been working towards a common configuration location in 3.0 trunk >> for >> all parts of Geronimo. >> >> I am expecting to test and use multiple instances with the 3.0 release. >> >> -RG >> >> >> On 09/20/2011 10:08 PM, Rex Wang wrote: >> > If we want to continue maintain such complexity in 3.0? Hard drive is >> pretty >> > cheap nowadays. >> > >> > And I think currently the part that looks a little bit wasting space is >> karaf >> > "copy" the artifacts from repository to cache when start.. >> > >> > -Rex >> > >> > 2011/9/21 Forrest Xia <[email protected] <mailto:[email protected] >> >> >> > >> > This idea is like the multiple instances feature we had in 2.1 >> branch, but >> > not supported in trunk now. >> > >> > Geronimo 2.1.x support copying "var" folder to add more instances >> with a >> > same installation, but G trunk code does not support that feature >> now. >> > >> > Do we have a user scenario to mandate that feature for 3.x? >> > >> > Regards, >> > Forrest >> > >> > >> > On Wed, Sep 21, 2011 at 1:55 AM, Jarek Gawor <[email protected] >> > <mailto:[email protected]>> wrote: >> > >> > Hi, >> > >> > In Geronimo binary install which directories do we consider >> read-only >> > vs. write/read? The idea is that the read-only directories could >> be >> > shared among multiple installations to save some space and >> reduce >> > maintenance. >> > >> > Here's what I identified so far: >> > >> > read-only: >> > - bin >> > - jsr88 >> > - schema >> > - lib >> > >> > read/write: >> > - deploy >> > - hotbundles >> > - etc >> > - var >> > >> > The repository/ directory is a little weird because parts of it >> could >> > be considered read-only and some write. I wonder if maybe we >> should >> > have separate repository directories one for Geronimo bundles >> and >> > another one for applications. >> > >> > Thanks, >> > Jarek >> > >> > >> > >> > >> > >> > -- >> > Lei Wang (Rex) >> > rwonly AT apache.org <http://apache.org> >> > >
