You need to have jgroups.jar on the client classpath. TreeCacheMBean includes
this method:
void fetchState(long timeout) throws org.jgroups.ChannelClosedException,
org.jgroups.ChannelNotConnectedException;
|
which is quite poor, but is still around in JBC 1.x to preserve API
compatibility.[
Hi,
1. the jboss-service.xml has this:
| jboss.cache:service=TreeCache
|
|
| MyCache
|
|
| true
|
|
| org.jboss.cache.TreeCacheMBean
|
fyi: I am using old version of cache (1.2.3) but that should not matter
See
http://labs.jboss.com/file-access/default/members/jbosscache/freezone/docs/1.4.0/TreeCache/en/html/jboss_integration.html
The bit in section 13.1 shows how to bind a proxy to your cache into JNDI;
external clients can look it up and access it that way.
If the client is outside the ear but i