• 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

Reinitializing Context or Web Application in JBoss

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I have a JBoss Service that has a list of environment specific configurations which it places within the JNDI. My web application picks these configurations up from the JNDI when it initializes. However, if I want to change any of those configurations in the JBoss Service, then I would have to restart the JBoss Server in order for the web application to pick them up. What I would like to know is if there is a way to do any of the following:

1. Reinitialize the web application or web application context at runtime through JBoss.
2. Have the jboss service fire off a change event that could be picked up by a listener on the Web Application side which can then make the necessary updates.

If there are any other solutions, please let me know.

Thanks,

Juan
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Which version of JBoss AS is this? And how do you configure that JBoss service? Through MBeans?
 
J.C. Bustamante
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My apologies,

The version of the JBoss AS is 5.1.0.GA, and the JBoss service is configured through MBeans.

Thanks,

Juan
 
reply
    Bookmark Topic Watch Topic
  • New Topic