The following procedure provides the steps for creating a JavaDB JDBC connection pool.
In your web browser, log into the Sun Java System Application Server Administrator Console. For example:
http://localhost:4848, username:admin, password: adminadmin
In the navigation tree, expand the following nodes: Resources -> JDBC.
Select Connection Pools, and in the right panel, click the New button.
Under General Settings, specify a name (such as bpelseDB).
Set the Resource Type to javax.sql.XADatasource.
Set the database vendor to Derby and click Next.
Under Connection Validation, enable Allow Non Component Callers by selecting the Enabled check box.
Under Additional Properties, specify the ServerName, User, Password and DatabaseName.
You can use the following values, or choose your own for user, password and database name (keep create=true flag).
ServerName: machine-name
DatabaseName: DatabaseName: bpelseDB;create=true
User: bpelse_user
Password: bpelse_user
Click Finish, click the connection pool name and click the Ping button.
This verifies your database connection.
Click Finish to prepare for creating a new JDBC resource.