Sonic connection closed unexpectedly

Posted by mihaimaier7 on 22-Feb-2012 15:52

Hi,

I have a durable subscription connected to a Sonic broker which is sometimes closed without the connection state to be changed or throwing any exception. Obviously this is really bad as you don't have any chance to know if your listener is still able to consume the messages from a topic/queue. My client is a .NET windows app, using the Progress .NET Client 8.0.

Weird thing is when you try to close the connection you get the following exceptions:

Sonic.Jms.JMSException: No connection to broker/non-FT connection failed/FT connection could not be recovered
at Sonic.Client.Jms.Impl.MessageConsumer.stop()
at Sonic.Client.Jms.Impl.DurableSubscriber.closeInternalConsumer()
at Sonic.Client.Jms.Impl.DurableSubscriber.close()

and in the exception listener you get:

Sonic.Jms.JMSException: NOT Resumable

Some details about my environment:

OS: Windows

Client: Progress .NET Client 8.0

Connection: fault tolerant (with fault tolerant reconnect timeout = 0)

Has anybody seen this behavior before?

Many thanks,

Mihai

All Replies

This thread is closed