THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- Start the server and Launch the Administrative Console using the URL http://localhost:8080/console.
- Enter default username and password.
- Once in the welcome page. In console navigation, Under Services, Select Database Pools.
- On the next screen, Create a new database pool using Geronimo database pool wizard.
- On the next screen give the name as suggested in the figure. This will initiate the process to create a Derby Embedded XA datasource.
- Select the Driver jar and give the database name as userdbs(Remember this is the database we created in the previous step). Rest all fields can be set to default.
- Select Deploy to deploy the connector plan.
- Once done you can see the Database Pool jdbc/userds listed in the available database pools.
...
Exporting the application as a plugin
- Launch the Administrative console and Select Plugin portlet under Applications.
- Under Create Geronimo Plugin select jdbc/userds database pool from the drop down menu as shown in the figure.
- Once done select Export Plugin.
- On the next page keep all the values default and Select Saving Plugin Data.
- On the next screen select Export Plugin.
- A window will pop-up suggesting to save the plugin. Select Ok.
- Similarly export ApplicationClient and StatelessSessionEJB as a plugin.