users@glassfish.java.net

Re: help translating to windows

From: Felipe Gaścho <fgaucho_at_gmail.com>
Date: Tue, 3 Nov 2009 19:12:04 +0100

got it!!

http://docs.sun.com/app/docs/doc/819-4724/asadmin-1m?a=view

C:\Users\Rodrigo\dev\puj~arena\arena-puj>asadmin --user=admin
create-jdbc-connection-pool --datasourceclassname
com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource --restype
javax.sql.Connecti
onPoolDataSource --property
user=admin:password=adminadmin:URL=jdbc\:mysql\://localhost\:3306/arena
jdbc/arenaPool

Command create-jdbc-connection-pool executed successfully.

2009/11/3 Felipe Gaścho <fgaucho_at_gmail.com>:
> I am translating a shell script with asadmin commands to windows:
>
> linux:
> asadmin create-jdbc-connection-pool --datasourceclassname
> com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource --restype
> javax.sql.ConnectionPoolDataSource --property
> "User=admin:Password=adminadmin:URL=jdbc\\:mysql\\://localhost\\:3306/arena"
> jdbc/arenaPool
>
> windows:
> asadmin create-jdbc-connection-pool --datasourceclassname
> com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource --restype
> javax.sql.ConnectionPoolDataSource --property
> "User=admin:Password=adminadmin:URL=jdbc\\:mysql\\://localhost\\:3306/arena"
> jdbc/arenaPool
>
> what is wrong in the windows version ?? it is not working........
>



-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/arena-http/wadl