users@glassfish.java.net

Re: JMS Trouble

From: <glassfish_at_javadesktop.org>
Date: Wed, 09 Apr 2008 14:12:48 PDT

Did this solution work for anyone?

For me it seems like it removed the initial error message.
But My Message Driven Bean does not seem to be receiving the message.

My code is as follows:

    public void onMessage(Message message) {
      System.out.println("OrderPrinterBean->onMessage(Message): Message Received");
    }

All I get in my server.log now is:
[#|2008-04-09T13:55:52.478-0700|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=19;_ThreadName=p: thread-pool-1; w: 6;|MQJMSRA_MC1101: constructor:Created mcId=2:xacId=2620559748484927744:Using xacf config={imqDefaultUsername=guest, imqBrokerHostName=localhost, imqSetJMSXUserID=false, imqJMSExpiration=0, imqQueueBrowserRetrieveTimeout=60000, imqSSLProviderClassname=com.sun.net.ssl.internal.ssl.Provider, imqConfiguredClientID=, imqSSLIsHostTrusted=false, imqSetJMSXProducerTXID=false, imqJMSDeliveryMode=PERSISTENT, imqAddressListBehavior=RANDOM, imqEnableSharedClientID=false, imqAckOnProduce=, imqConnectionURL=http://localhost/imq/tunnel, imqConnectionFlowLimit=1000, imqSetJMSXAppID=false, imqAddressListIterations=3, imqBrokerServicePort=0, imqSetJMSXRcvTimestamp=false, imqReconnectInterval=5000, imqConnectionType=TCP, imqLoadMaxToServerSession=true, imqSetJMSXConsumerTXID=false, imqAddressList=localhost:7676, imqOverrideJMSDeliveryMode=false, imqPingInterval=30, imqDefaultPassword=guest, imqAckOnAcknowledge=, imqJMSPriority=4, imqQueueBrowserMaxMessagesPerRetrieve=1000, imqOverrideJMSPriority=false, imqConsumerFlowLimit=1000, imqBrokerHostPort=7676, imqReconnectEnabled=true, imqConnectionFlowCount=100, imqReconnectAttempts=3, imqConnectionFlowLimitEnabled=false, imqAckTimeout=0, imqBrokerServiceName=, imqOverrideJMSExpiration=false, imqConnectionHandler=com.sun.messaging.jmq.jmsclient.protocol.tcp.TCPStreamHandler, imqDisableSetClientID=false, imqOverrideJMSHeadersToTemporaryDestinations=false, imqConsumerFlowThreshold=50}|#]
[Message sent by forum member 'ddurst' (ddurst)]

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