users@glassfish.java.net

Re: JMS LOCAL REMOTE

From: Lucas Jordan <lucasjordan_at_gmail.com>
Date: Mon, 7 Jul 2008 19:21:09 -0400

Sorry to reply to myself, but I learned a few more things since my
last post.

I found the dir [glassfish]imq/bin and the treasures within. I started
a broker with the command 'imqbrokerd' and set up a broker using
'imqadmin'.

Doing this allowed me to set glassfish A to use a REMOTE broker,
running at localhost:7676

I can hit the ping button and get success.

However, when my flex application tries to connect I still get these
errors? which are not exactly errors, but the client still pops an
error up.



[#|2008-07-07T19:12:52.708-0400|INFO|sun-appserver9.1|
javax.resourceadapter.mqjmsra.outbound.connection|
_ThreadID=18;_ThreadName=httpSSLWorkerThread-8080-1;|MQJMSRA_MC1101:
constructor:Created mcId=8:xacId=5736489711313868800:Using xacf
config={imqOverrideJMSPriority=false, imqConsumerFlowLimit=1000,
imqOverrideJMSExpiration=false, imqAddressListIterations=3,
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=admin, imqQueueBrowserMaxMessagesPerRetrieve=1000,
imqDefaultUsername=admin, imqReconnectEnabled=true,
imqConnectionFlowCount=100, imqAddressListBehavior=RANDOM,
imqReconnectAttempts=3, 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.254.7:7676/,
imqOverrideJMSHeadersToTemporaryDestinations=false}|#]

[#|2008-07-07T19:12:52.909-0400|WARNING|sun-appserver9.1|
javax.jms.connection|
_ThreadID=20;_ThreadName=MessageReceiveThread-0;_RequestID=e52c9c66-
a05f-4149-be54-1bccf77306ab;|[W2003]: Broker not responding [STOP(22)]
for 120 seconds. Still trying..., broker
addr=192.168.254.7:7676(50634), connectionID=5736489711313750784,
clientID=null, consumerID=11|#]


I feel like I am missing some connective tissue that binds the
Connection Factory/jndi name to the broker, but I don't know what it is.


Thanks in advance for any insight!
-Lucas