I am having a problem with the JMS pesistance. Here is the explanation
I am using a MDB to process a messagequeue if any of my process fails I am keeping the message in another queue poisonqueue. I wrote an application client which is a thread after every one hour looks into the poisonqueue keeps the messages back into the messagequeue for processing again.
The whole logic works fine the messages are going from one queue to another with out having any problem.
The problem comes when the server crashes/shutdown I am getting a NullPointer Exception on the server console and in the application log I am getting the following line
NullPointerException in ejbRemove() and stackTrace.
If I restart my server the application client which is looking for poisonqueue says Error in loading the queue and all the messages in the queue are lost.
Is this a bug or am I missing some thing.
Once I shutdown the server I can see the persistant file for the queue which contains all my messages but at the time of restarting I am getting message like Error in loading Queue:null and this time If i shutdown server the persistance file is also empty.
Can any one guide what is going wrong.
Thanks.
Kesav Kumar
Software Engineer
Voquette, Inc.
650 356 3740
mailto:[EMAIL PROTECTED]
http://www.voquette.com
Voquette...Delivering Sound Information
