Two Laptop Bag*
The moose likes EJB and other Java EE Technologies and the fly likes JMS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JMS" Watch "JMS" New topic
Author

JMS

Anirudha Joshi
Greenhorn

Joined: Apr 08, 2005
Posts: 22
Hello,

Somebody please answer this.

Here is the scenario.

I have two JBOSS server instance running on two difference machines. BOX1 and BOX2. I configured the JMS queue on BOX1. Queue messages are persisted in the Oracle database. Web application running on BOX1 and BOX2 pushes messages in the queue configured on BOX1. And I have a JSP page which browses through the current messages of the queue and displayes it on the web page.

But now what is happening is, when a message is pushed from BOX1 web application to the queue, JSP page displayes this newly added message. But when a message is pushed by BOX2 web application, JSP does not show that message till I restart the BOX1 JBOSS. However If I see the record count of JMS_MESSAGES table, it returns the exact count.

Whats the problem and how do I resolve it?

Anirudha
Osuwari Inu
Greenhorn

Joined: Jun 20, 2005
Posts: 13
Just some more questions, in the hope they may lead you to an answer

Do you use entity beans? Do the servers run in commit option A? I.e. do they cache the data?
Do you browse the messages on the queue? Or do you browse the persisted messages?


Quis custodiet ipsos custodes?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JMS
 
Similar Threads
select element as parameter for query
MDB2.0 stoped listing to WebSphere Queue
JMS
Collision detection help please.
add or remove an item from drop down