• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JMS

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic