Admin Console - property AddressList - error

Hi!

I'm trying to set message broker host and port other than localhost:7676 which presents default value.

I use this command in asadmin concole:

create-jms-resource --port 4849 --host myhost.com --password password --user admin --resourcetype javax.jms.QueueConnectionFactory --property AddressList=[AddressListvalue]:UserName=admin:Password=admin --target hkg jms/REPC_IN002530_QueueConnectionFactory

Under

[AddressListvalue] i tried :

mq://myhost:7689/

'mq://myhost:7689/'

but errorInvalid property syntax always occure.

Can someone help?

Bug?

I use AppServ Platform 8.2 .

Thanx!

BB

[697 byte] By [Bobib] at [2007-11-26 6:16:17]
# 1

':' has a special meaning (that of delimiting properties in a list) in asadmin. That needs to be escaped if we don't want that special meaning.

Can you try:

create-jms-resource --port 4849 --host myhost.com --password password --user admin --resourcetype javax.jms.QueueConnectionFactory --property "AddressList=mq\://myhost\:7689/ :UserName=admin:Password=admin ...

"

Note that the property is quoted.

kedarmhaswade at 2007-7-6 13:56:25 > top of Java-index,Application & Integration Servers,Application Servers...