Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

By default, all system databases are created in the /var/derby directory when Geronimo server starts up for the first time. You can override the default derbySystemHome attribute of the DerbySystem GBean. Find the system-database module in /var/config/config.xml and it looks like as below:

Code Block
xmlxml
titleexcerpt of config.xml
xml
   <module name="org.apache.geronimo.configs/system-database/2.2/car">
       <gbean name="DerbyNetwork">
           <attribute name="host">${ServerHostname}</attribute>
           <attribute name="port">${DerbyPort + PortOffset}</attribute>
       </gbean>
       <gbean name="DerbySystem">
         <attribute name="derbySystemHome">var/derby</attribute>
       </gbean>
   </module>

...