users@glassfish.java.net

Re: JMS LOCAL REMOTE

From: <glassfish_at_javadesktop.org>
Date: Wed, 09 Jul 2008 11:45:28 PDT

I continue to have problems using JMS with glassfish when it is set to use either LOCAL or REMOTE. Again, it works fine with EMBEDDED, but that prevents me from deploying this application on more then one server.

When the client tries and connects I get this from imq:

[09/Jul/2008:14:25:24 EDT] Created new session 6530249185459245312 on connection 6530249185362677504
[09/Jul/2008:14:25:24 EDT] Created new consumer [consumer:6530249185459249664, type=NONE] on destination T:eDesignDestination with selector documentId = 135238 AND ticketId <> '5ebde484fe2e77fadc837eeb68839885'
[09/Jul/2008:14:25:24 EDT] Attaching Consumer [consumer:6530249185459249664, type=NONE] to Session 6530249185459245312
[09/Jul/2008:14:25:24 EDT] Detaching Consumer 6530249185362677504 from Session 6530249185459245312 last id was null
[09/Jul/2008:14:25:24 EDT] Close Session 6530249185459245312


in the glassfish logs I get:
[#|2008-07-09T14:24:07.477-0400|INFO|sun-appserver9.1|javax.resourceadapter.mqjmsra.outbound.connection|_ThreadID=22;_ThreadName=Timer-15;|MQJMSRA_MC1101: constructor:Created mcId=20:xacId=6530249185439460864: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=guest, imqQueueBrowserMaxMessagesPerRetrieve=1000, imqDefaultUsername=guest, 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://localhost:7676/, imqOverrideJMSHeadersToTemporaryDestinations=false}|#]

[#|2008-07-09T14:25:24.882-0400|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=36;_ThreadName=MessageReceiveThread-0;|PWC1412: WebModule[/eDesignServices] ServletContext.log():[Flex]JMS consumer for JMS destination 'eDesignTopic' is being removed from the JMS adapter due to the following error: Client is unsubscribed because its corresponding JMS consumer for JMS destination 'eDesignTopic' encountered an error during message delivery: [C4063]: Cannot perform operation, consumer is closed.|#]

[#|2008-07-09T14:25:24.882-0400|INFO|sun-appserver9.1|javax.enterprise.system.container.web|_ThreadID=36;_ThreadName=MessageReceiveThread-0;|PWC1412: WebModule[/eDesignServices] ServletContext.log():[Flex]JMS consumer for JMS destination 'eDesignTopic' is stopping.|#]

[#|2008-07-09T14:25:24.883-0400|WARNING|sun-appserver9.1|javax.jms.connection|_ThreadID=36;_ThreadName=MessageReceiveThread-0;_RequestID=f4e8fb05-cd2b-48f1-8f90-6eabb3cdbc06;|[W2003]: Broker not responding [STOP(22)] for 120 seconds. Still trying..., broker addr=localhost:7676(63966), connectionID=6530249185362677504, clientID=null, consumerID=11|#]




It looks to me like imq is 'Detaching Consumer' for no reason.... or something. Does anyone have anymore suggestions?

Thanks a ton!
-Lucas
[Message sent by forum member 'lucasjordan' (lucasjordan)]

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