RE: msgs that should have been deleted after delivery stay until openjms restarted

"Tim Anderson" <[email protected]> Wed, 24 May 2006 17:45:52 +1000
Newsgroups gmane.comp.java.openjms.devel
Message-ID <[email protected]>
Yep it's a bug. Not immediately clear why. I'll have a look next week.

-Tim 

> From: Jim Marshall
> 
> Hi. I've got a bit of an unusual problem.
> 
> Because it takes a few seconds for openjms to start up, my 
> client code checks for the existence of the openjms server by 
> just trying to create a connection. 
> When that fails, the client will wait for a little while to 
> give openjms a chance to start up and then tries again. This 
> case will almost never happen, but I thought I'd add it anyway. 
> 
> My problem is that if the client fails to connect because 
> openjms is not running, then it waits and I start openjms, 
> then the client connects again successfully, I receive the 
> messages (using .receive(1) and AUTO_ACK), but they do not 
> get deleted from the queue. If I try to read them again by 
> restarting the client they are not delivered. But, the admin 
> interface says the messages are still there. Once I shut down 
> and restart openjms, the messages are gone. 
> I'm not sure what's happening here.
> 
> I'm not sure if this matters but I'm using openjms as the 
> jndi provider, and the client is intercepting the jndi naming 
> exception that occurs when I do the context lookup in order 
> to know when to wait for openjms to start up.
> 
> I'm using OpenJMS version 0.7.7-alpha-3 with all the default 
> configs, and the tcp connector. Everything is running on my 
> local machine. Thanks for any help.
> 
> Jim
> 
> 
> 
> -------------------------------------------------------
> Using Tomcat but need to do more? Need to support web 
> services, security?
> Get stuff done quickly with pre-integrated technology to make 
> your job easier Download IBM WebSphere Application Server 
> v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&
> dat=121642
> _______________________________________________
> openjms-developer mailing list
> openjms-developer-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/openjms-developer
> 


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642