Hi all, I am new to JBossCache, and since I am not familiar with JMX, I would like to ask the following: how can I access the cache instance that is deployed in JBoss as an Mbean from, say, the web container(servlet) ? I went through the tutorial, but it is mostly for the standalone JBossCache instances. I define the mbean in an XML file under the deploy directory, and I can see it instantiated at startup. Then how can I reach this instance from the web container? I use the default XML from the tutorial i.e cache mode is REPL_SYNC. I can copy and paste the tutorial sample code in the init() method of servlet so that it can reach this cache instance that is instantiated at startup(using the same configuration file). Is this how it is supposed to work? How can I access the cache via mbean interface?
Any info is really appreciated! Thanks, Pete View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854261#3854261 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854261 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
