users@glassfish.java.net

Re: asadmin and long Oracle connection strings - what to escape?

From: <glassfish_at_javadesktop.org>
Date: Tue, 05 Jan 2010 02:19:28 PST

colon is a meta (special) character in asadmin. It's used as a separator for multiple property values.
 
e.g.
Usage: create-jdbc-connection-pool --datasourceclassname classname [--terse=false] [--echo=false] [--interactive=true] [--host localhost] [--port 4848|4849] [--secure | -s] [--user admin_user] [--passwordfile file_name] [--restype res_type] [--steadypoolsize 8] [--maxpoolsize 32] [--maxwait 60000] [--poolresize 2] [--idletimeout 300] [--isolationlevel isolation_level] [--isisolationguaranteed] [--isconnectvalidatereq=false] [--validationmethod auto-commit] [--validationtable tablename] [--failconnection=false] [--allownoncomponentcallers=false] [--nontransactionalconnections=false] [--description text] [--property (name=value)[:name=value]*] jdbc_connection_pool_id

That's the reason why you need to escape the ":".

HTH,
Jane
[Message sent by forum member 'janey' (jane.young_at_sun.com)]

http://forums.java.net/jive/thread.jspa?messageID=378770