[jboss-user] [JBossCache] - Re: PojoCacheMBean getObject(fqn); throws java.lang.Ille

2006-10-04 Thread sting_hz
I've removed thoese jboss cache dist jars from the web-inf/lib as you said, but the exception is still there: java.lang.IllegalArgumentException: interface org.jboss.mx.util.MBeanProxyInstance is not visible from class loader ... View the original post : http://www.jboss.com/index.html?modul

[jboss-user] [JBossCache] - Re: PojoCacheMBean getObject(fqn); throws java.lang.Ille

2006-10-04 Thread sting_hz
Hi Brian , Thank you very much! The error is because I also copied and overided the jboss-j2ee.jar to the /server/all/lib. Now it runs! :) Steven View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976117#3976117 Reply to the post : http://www.jboss.com/inde

[jboss-user] [JBossCache] - Re: PojoCacheMBean getObject(fqn); throws java.lang.Ille

2006-10-04 Thread sting_hz
yes, : at $Proxy65.gutObject(Unknown Source) it should be getObject , I made a mistake when editing the post. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976071#3976071 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=

[jboss-user] [JBossCache] - Re: PojoCacheMBean getObject(fqn); throws java.lang.Ille

2006-10-04 Thread sting_hz
Hi Brian, Thanks for your info. There's same jboss-cache.jar both under web-inf/lib and server/all/lib, so I removed the one under web-inf/lib. Then I got another exception, java.lang.IllegalArgumentException: interface org.jboss.mx.util.MBeanProxyInstance is not visible from class loader

[jboss-user] [JBossCache] - PojoCacheMBean getObject(fqn); throws java.lang.IllegalA

2006-10-04 Thread sting_hz
Hi there, I'm using PojoCacheMBean with JBoss AS. In the deploy\mycache-service.xml, I use the following lines to add the pojocache service: In the java code, I use the following lines to get the cache object: MBeanServer server=MBeanServerLocator.locateJBoss(); | cache_=(PojoCacheMBean)

[jboss-user] [JBossCache] - Re: how to get sub fqn list by specifying the parent fqn?

2006-10-04 Thread sting_hz
thanks a lot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976031#3976031 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976031 ___ jboss-user mailing list jboss-user@lists.j

[jboss-user] [JBossCache] - Re: how to get sub fqn list by specifying the parent fqn?

2006-09-27 Thread sting_hz
Hi Brian, Thanks for the quick reply. Another question is how to get the recursive sub fqn list. For example, I have cache.putObject(Fqn.fromString("/a"),null); cache.putObject(Fqn.fromString("/a/b/c"),null); cache.putObject(Fqn.fromString("/a/c"),null); Set set = cache.getChildrenNames(Fqn.fro

[jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released

2006-09-27 Thread sting_hz
Hi I tried this ide, and can create a local cache instance by specifying the config file. My question is how to use this IDE tool to monitor the standalone jboss cache(not run in a jboss server)? Or is this feature supported? Thanks! View the original post : http://www.jboss.com/index.html?

[jboss-user] [JBossCache] - how to get sub fqn list by specifying the parent fqn?

2006-09-27 Thread sting_hz
Hi there, I'm wondering how to get sub fqn list by specifying the parent fqn? For the following code. PojoCache cache = BaseCacheManager.getCache(); cache.putObject(new Fqn("a"),null); cache.putObject(new Fqn("a/b"),null); cache.putObject(new Fqn("a/c"),null); Set set1 = cache.getChi