Setting SunOneMQ specific properties within other appserver

I have deployed imqjmsra.rar into JBoss' deploy directory. Actually, before I did that, I modified that ConnetionURL in the ra.xml to point to mq://192.168.0.75:7676/.

Now JBoss is connected to SunOneMQ. However, it appears it is not using the administered objects ( stored in a .bindings file ) that I usually use when I connect directly to SunOneMQ:

16:54:16,682 ERROR [STDERR] 1/12/2006 16:54:16 com.sun.messaging.jms.ra.ResourceAdapter start

INFO: MQJMSRA_RA1101: start:SJSMQ JMSRA Connection Factory Config={imqOverrideJMSPriority=false,

imqConsumerFlowLimit=1000, imqOverrideJMSExpiration=false,

imqAddressListIterations=1, imqLoadMaxToServerSession=true,

imqConnectionType=TCP, imqPingInterval=30, imqSetJMSXUserID=false,

imqConfiguredClientID=,

imqSSLProviderClassname=com.sun.net.ssl.internal.ssl.Provider,

imqJMSDeliveryMode=PERSISTENT, imqConnectionFlowLimit=1000,

imqConnectionURL=http://localhost/imq/tunnel, imqBrokerServiceName=,

imqJMSPriority=4, imqBrokerHostName=localhost, imqJMSExpiration=0,

imqAckOnProduce=, imqEnableSharedClientID=false, imqAckTimeout=0,

imqAckOnAcknowledge=, imqConsumerFlowThreshold=50,

imqDefaultPassword=guest, imqQueueBrowserMaxMessagesPerRetrieve=1000,

imqDefaultUsername=guest, imqReconnectEnabled=false,

imqConnectionFlowCount=100, imqAddressListBehavior=PRIORITY,

imqReconnectAttempts=6, imqSetJMSXAppID=false, imqConnectionHandler=com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler,

imqSetJMSXRcvTimestamp=false, imqBrokerServicePort=0,

imqDisableSetClientID=false, imqSetJMSXConsumerTXID=false,

imqOverrideJMSDeliveryMode=false, imqBrokerHostPort=7676,

imqQueueBrowserRetrieveTimeout=60000, imqSetJMSXProducerTXID=false,

imqSSLIsHostTrusted=false, imqConnectionFlowLimitEnabled=false,

imqReconnectInterval=5000, imqAddressList=mq://192.168.0.75:7676/,

imqOverrideJMSHeadersToTemporaryDestinations=false}

16:54:16,684 ERROR [STDERR] 1/12/2006 16:54:16 com.sun.messaging.jms.ra.ResourceAdapter start

Specifically, I would like "imqAddressList" to have more than one host in that list. Now connecting directly to SunOneMQ from a standalone JMS client, I simply do the following:

Hashtable env =new Hashtable(); env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.fscontext.RefFSContextFactory");

env.put(Context.PROVIDER_URL,"file:///opt/sun/mq/var/adminobjects");

javax.naming.Context ctx =new javax.naming.InitialContext( env );

ConnectionFactory factory = (ConnectionFactory)ctx.lookup("JMSConnectionFactory" );

Connection connection = factory.createConnection();

The setting for PROVIDER_URL is basically a file ( ".bindings" ) create via imqadmin which contains all of my administered objects, and includes some SunOne MQ specific properties / settings such as imqAddressList, etc ...

How can I "have" these" within a container ?

[3312 byte] By [j.salvo] at [2007-11-14]