RE: Re: OpenJMS 0.7.7-alpha-3 released

"Tim Anderson" <[email protected]>
Newsgroups gmane.comp.java.openjms.user
Message-ID <[email protected]>
> From: Tim Anderson
> 
> > From: Eric P.
> > 
> > Hi,
> > 
> > Well, it is not exactly what you are describing. Moreover, this 
> > problems appears also with a very simple client, without embedded 
> > server, without ExceptionListener and so on.
> > 
> > 1- I start the openjms server
> > 2- I start the tomcat server with the HTTP Tunnel servlet
> > 3- I start the client. It subscribes and publishes correctly
> > 4- I stop the client (good old Ctrl-C)
> > 5- I restart the client. Most of the times, it hangs on the 
> > createTopicSession line. No crash, no exception.
> > 
> > The client is the DurableSubscriber.java with the correct 
> parameters 
> > (URL, ConnectionFactory....), very lightly modified to be a chat 
> > client. I used it to test alpha-1 successfully, excepted 
> the "already 
> > subscribed" bug.
> > 
> > Regards.
> > 
> > Eric
> 
> OK. Duplicated the problem. Will try and check in a fix in 
> the next few days.
> 
> -Tim

Raised as bug 1402865:
https://sourceforge.net/tracker/?func=detail&atid=474136&aid=1402865&group_i
d=54559 
I've check in a tentative fix for this to CVS. Please check it out and
verify.
Note that if a durable subscriber connected via http is killed, there will
be a delay before the tunnel servlet cleans it up. 
By default this delay is 30 seconds. See the idlePeriod initialisation
property in web.xml for more details.

Regards,

Tim


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.