geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevan Miller <>
Subject Re: System Derby Database question
Date Thu, 17 Jun 2010 19:29:59 GMT

On Jun 17, 2010, at 2:40 PM, Tim McConnell wrote:

> Hi, I'd like to configure and use the Geronimo embedded Derby database
> outside the default \var\derby directory, and actually outside the
> Geronimo installation directory. Does anyone know if this is possible ?? If so has anyone
done this ??

I've never tried this, but you can override the default 'derbySystemHome' attribute on the
DerbySystem GBean. Find the system-database module in config.xml and make it something like:

    <module name="org.apache.geronimo.configs/system-database/2.1.5/car">
        <gbean name="DerbyNetwork">
            <attribute name="host">${ServerHostname}</attribute>
            <attribute name="port">${DerbyPort + PortOffset}</attribute>
        <gbean name="DerbySystem">
          <attribute name="derbySystemHome">var/derby</attribute>

I would assume that derbySystemHome can be configured to an explicit location, rather than
a relative location...


View raw message