users@glassfish.java.net

Re: connection pool set up with MySQL

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Tue, 15 Dec 2009 07:16:26 +0100

via command line:

asadmin create-jdbc-connection-pool --datasourceclassname
com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource --restype
javax.sql.ConnectionPoolDataSource --property
"User=$MYSQL_USER:Password=$MYSQL_PASSWORD:URL=$DB_URL" jdbc/arenaPool

asadmin --user=$ASADMIN_USER create-jdbc-resource --connectionpoolid
jdbc/arenaPool jdbc/arena

google for the complete asadmin reference guide......... the CLI of
Glassfish is complete.........


On Mon, Dec 14, 2009 at 8:55 PM, <glassfish_at_javadesktop.org> wrote:
> There is another tutorial for Glassfish 2.1.1 and mysql 5 connection pool here :
>
> http://mariosgaee.blogspot.com/2009/12/mysql-connection-pool-in-glassfish.html
> [Message sent by forum member 'komarios' ]
>
> http://forums.java.net/jive/thread.jspa?messageID=376479
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>



-- 
------------------------------------------
   Felipe Gaścho
   10+ Java Programmer
   CEJUG Senior Advisor