Receivers not receiving!

View: New views
8 Messages — Rating Filter:   Alert me  

Receivers not receiving!

by greenapple :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

As we were running  2 receivers and 2 senders (with receiver 1, sender 2 connected to Q1 and receiver 2, sender 1 connected to Q2), the receivers after some time (about 10 days of continuous running) stopped receiving messages (messages are there and could be seen using explorer) while both senders are able to send.

The receiver system is browsing the message first (doing some work) then receiving it.

The senders are still able to publish successfully. I enabled monitoring but received no monitor messages. We are the HA 7.3 router.

We are trying to re-produce the problem!

I know my statement is too general but any thoughts or pointers?

Thanks in advance,

Re: Receivers not receiving!

by IIT Software :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have no idea. We don't have any open issues with receiving messages, whether it runs a day or a year.

You might try our Technical Support to figure out was the problem is.

Re: Receivers not receiving!

by greenapple :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

After some wait time, the subscriber hung again with the following exception:

Exception in thread "Timer-0"

There are messages in the queue. The subscriber is not receiving any of them.

Is there a timer thread which causes this exception?

Thanks

Re: Receivers not receiving!

by IIT Software :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can you post the whole stack trace?

Re: Receivers not receiving!

by greenapple :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Unfortunately, the stacktrace was not saved. However, by looking at the logs for SwiftMQ, there is the following:

WARNING for instance 1

2009-01-18 20:21:40.485/smqp/WARNING/JMSConnection v630/10.245.220.8:57933/InboundReader: keepalive counter reaching 0, exiting!

INFO for instance 1

2009-01-18 20:21:40.534/sys$jms/INFORMATION/JMSConnection v630/10.245.220.8:57933/connection closed
2009-01-18 20:21:40.568/10.245.220.8:57933/BlockingHandler/INFORMATION/Exception, EXITING: java.net.SocketException: Socket closed

The above info have occurred at the same time the exception was reported.



Re: Receivers not receiving!

by IIT Software :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That explains why your app did not receive further messages. Did your app had an out of memory error?

Next time please save the stack trace and post it here.

Re: Receivers not receiving!

by greenapple :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't think there was an out of memory exception. We are only printing the text of the exception, so I saw the timer exception but I didn't see any other exceptions meaning that there were no other exceptions reported.

SwiftMQ was idle for a couple of days. Is their a timer on the connection being idle?


Re: Receivers not receiving!

by IIT Software :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There is a keepalive timer but that's only for the case when the phys. connection is down. In that case the connection is closed. So if you have a network problem, the connection is closed and you will not receive further messages. If you use a timer to send messages in a regular interval, for example, and the connection is closed, you will get an exception.

Anyway, these are all speculations. Log the whole stack trace and send it then we will know more. Since we don't have any issues nor open bugs, this is probably an application problem, e.g. use of sessions from multiple threads etc.