users@glassfish.java.net

Re: help translating to windows

From: Sathyan Catari <Sathyan.Catari_at_Sun.COM>
Date: Tue, 03 Nov 2009 11:40:20 -0800

Are you running it as .sh with mks or equivalent OR this command is part
of a .bat file?
Anyways, I see too many escape characters in the command line.

-Sathyan


Felipe Gaścho wrote:
> 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........
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>