Hi,
When JBoss restarts, is there a way to get it to automatically redeploy any (dynamic) mbeans that were previously running? (My MBeans are -not- physically deployed into the deploy/ directory).
I'm using a scheduler to dynamically create and register one-to-many instances of an mbean into JBoss. (Each one can then be manipulated independently in the JBoss JMX Console).
With a little bit of work I managed to get the attributes persistent for these dynamic mbeans (see recent post 'persist & auto-restart mbean').
But since they don't physically exist, JBoss doesn't know to deploy them when it restarts.
At least, when JBoss restarts, the information about these dynamic mbeans -is- stored in a file in the xmbean-attrs/ directory. So is there a way to tell JBoss to use this to automatically redploy the MBean and load it's last used attributes?
Thanks in advance!
Chris
-=-=-
(Link to previous post: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=93355 )
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982584#3982584
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982584
Rob,
I know alot (or even all) of this stem from the inflexibility of the server model in WTP, but what prevents us from allowing the user to select a "auto-detect" configuration which would contact the server for details ?! or am i missing something?
To Garu,
Isn't this all possible if you just create a runtime/server pair per setup you want to run with a different configuration selected for each ?
/max
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3982583#3982583
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3982583