Problems re-connecting to OpenJMS after program crash
"George H" <[email protected]> Wed, 3 Oct 2007 12:49:33 +0300
| Newsgroups | gmane.comp.java.openjms.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, I am using OpenJMS 0.7.7 Beta 1 in a linux environment (using JDK 1.5). Everything works fine except when this scenario occurs. A java program connects to OpenJMS and is a durable subscriber to various topics. The java program crashes (somehow, it happens) and the connection to OpenJMS server is lost. When the program is run again and tries to connect to the OpenJMS server it catches an exception that the durable subscriber already exists. This only happens when a client does not cleanly disconnect form OpenJMS (that is closing all the sessions, topics ..etc) The only solution I found is to restart the OpenJMS but I REALLY don't want to do that. Is there a way to circumvent this problem ? Any work arounds ? Thanks. -- George H [email protected] ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/