-
1. Re: Cluster-wide Session Access
peterj Jul 19, 2006 12:18 PM (in response to armorris007)You have to look up the MBEan via the MBean Server, which you look up in JNDI. See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84303 for a full example.
-
2. Re: Cluster-wide Session Access
armorris007 Jul 20, 2006 5:53 AM (in response to armorris007)Hi Peter,
Many thanks! Very useful!
I do however have one major problem, the MBean "MANAGER" for my application no longer seems to be auto registering itself with the MBeanServer - and I don't know why.
See JMX console entries:
host=localhost,path=/myapp,type=Cache
host=localhost,path=/web-console,type=Cache
host=localhost,path=/web-console,type=Manager
The following is missing:
host=localhost,path=/myapp,type=Manager
I have a Cache MBean but no Manager MBean for 'myapp'.
I can't recall changing any particular configuration for that application which would do this?
Which component is responsible for registering "Manager MBeans" against deployed web applications?
Cheers,
Andy -
3. Re: Cluster-wide Session Access
armorris007 Jul 20, 2006 6:42 AM (in response to armorris007)To answer my own question - it appears that having
"<distributable/>"
set in the application's web.xml causes the Manager to not register.
Cheers,
Andy