geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Geronimo Wiki] Update of "Database Configuration" by JohnSisson
Date Wed, 20 Apr 2005 00:35:14 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Geronimo Wiki" for change notification.

The following page has been changed by JohnSisson:

New page:

= Geronimo's Embedded Derby System =

Geronimo's `org/apache/geronimo/!SystemDatabase` configuraton starts the ["DerbySystem GBean"],
["DerbyNetwork GBean"], ["JDBCTransactionalThreadPooledTimer GBean"], ["JDBCNonTransactionalThreadPooledTimer
GBean"], and defines the ["SystemDatasource"] that is intended for use by Geronimo and associated
components (e.g. ActiveMQ).  The SystemDatasource is not intended for direct use by J2EE applications.

Refer to the ["DerbySystem GBean"] and ["DerbyNetwork GBean"] topics for further information
on configuring the embedded Derby system.

== Configuring a Server-Wide Datasource under the Embedded Derby System ==

The following command deploys the database plan file shown below using the Derby connector.

java -jar bin/deployer.jar deploy mydatabase-plan.xml \

Sample database plan file:
<?xml version="1.0" encoding="UTF-8"?>

<connector xmlns=""

                    <config-property-setting name="UserName">applicationUsername</config-property-setting>
                    <config-property-setting name="Password">password</config-property-setting>
                    <config-property-setting name="DatabaseName">MYDB</config-property-setting>
                    <config-property-setting name="CreateDatabase">create</config-property-setting>


View raw message