Hi ,
I am new to both JBoss Cache and MBeans.
I am trying to deploy JBoss TreeCache as MBean in Sun Java Application Server
9. I am able to deploy it and start successfully and i am able to access the
cache through the following code.
ObjectInstance object = server.getObjectInstance(name);
TreeCache cache = (TreeCache)server.instantiate(object.getClassName(),null);
cache.createService();
cache.put("/a/b/c", map);
The problem i face is, i cannot access the same instance of cache if i access
the MBean from other applications. What is the api i should use if i want to
access the JBoss Cache from different applications. The server.instantiate()
method always gives a new instance.
Any pointers would be of great help.
Thanks,
Raameshwar.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4032079#4032079
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4032079
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user