You can create new pools by clicking the Using the Geronimo database pool wizard link on the Database Pools portlet. This wizard will guide you through a four easy steps procedure.
you need to specify the name of the database pool and the database type.
you select the JDBC drivers which, by default, it has been pre-filled based on the database type you selected in the previous step. You also have to select the driver JAR from the scroll-down menu and then specify the database name. For this example a test database was previously created, this is a single step procedure and it is explained in Configuring databases in Geronimo. If you are creating database pools for the embedded Derby databases in Geronimo217 or later versions, make sure that User Name and Password fields are specified and the user must be in the derbyadmin group.
The following figure shows the Deployment Plan for the selected database. This plan contains the pool type and connector interface as well as the connection factory options from the setup properties.
When you successfully tested the connection, click on Deploy. Alternatively you can click on Show Plan, this option shows you the deployment plan for this database pool and lets you edit it. Additional instructions on how to manually deploy a DB plan may be found in the Configuring DB2 datasource section.