help translating to windows

View: New views
4 Messages — Rating Filter:   Alert me  

help translating to windows

by Felipe Gaucho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
For additional commands, e-mail: users-help@...


Re: help translating to windows

by Felipe Gaucho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>:

> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: help translating to windows

by Sathyan Catari :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...
> For additional commands, e-mail: users-help@...
>
>  

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: help translating to windows

by Felipe Gaucho :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ir works now..

the docs here: http://kenai.com/projects/puj/pages/Arena-dev

thanks....

* and if one of you tries the script and fing any bug, please send me
the feedback....

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...