From: <glassfish_at_javadesktop.org>
Date: Wed, 27 May 2009 23:15:56 PDT
You could created a JDBC connection pool using the administration console (http://localhost:4848) or admin CLI (command line interface). The port, username, password, database name etc. are to be configured in the additional properties section of the jdbc connection pool.
To create a connection pool, use asadmin create-jdbc-connection-pool command. There are some templates available under <GF_INSTALL>/lib/install/templates/resources/jdbc directory. You could refer to the template to create a mysql jdbc connection pool and resource and use the asadmin add-resources command to create the same.