• 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

NameNotFound Exception in a JBos Clustered Environment

 
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Guys,

We have deployed two JBoss instances in a clustered environment. And have deployed two MDBs in each instance which creates a queue with the same name. The intention is to use the local MQ server of each instance. But in a clustered environment only the first AS that starts up registers the queue and the other instance gets a NameNotFoundException and Connection refused exception. Any help on how to make the two instances call on their separate MQ servers is much appreciated.


Thanks in advance,
Dinuka Arseculeratne
 
Dinuka Arsakularatne
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sorry guys was able to figure this out. As it seems when in a cluster the MQ is always share between the instances. Didnt know that ... And hence changed the code to find the connection factory through the JNDI. And it works great.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic