-
1. Re: I can´t deploy XML file
kkalmbach Apr 5, 2005 3:05 PM (in response to lehphyro)rename your xmlfile from jboss-cache.xml to something-service.xml
If it does not end with -service.xml, jboss will not deploy it as an mbean. -
2. Re: I can´t deploy XML file
lehphyro Apr 6, 2005 9:44 AM (in response to lehphyro)Okay,
I got it deployed.
Now I can´t access my cache using JNDI, my config is:
jboss:service=invoker,type=jrmp
jboss.cache:service=TreeCache
cache/cacheFiliados
org.jboss.cache.TreeCacheMBean
org.jboss.proxy.ClientMethodInterceptor
org.jboss.proxy.SecurityInterceptor
org.jboss.invocation.InvokerInterceptor
jboss:service=invoker,type=jrmp
jboss.cache:service=TreeCache
I use the following line to get reference:
TreeCacheMBean cache = (TreeCacheMBean)context.lookup("java:comp/env/cache/cacheFiliados");
It worked for me sometimes, but now it doesn´t.
Could you help me? -
3. Re: I can´t deploy XML file
lehphyro Apr 6, 2005 10:16 AM (in response to lehphyro)It worked!
I used:
TreeCacheMBean cache = (TreeCacheMBean)context.lookup("cache/cacheFiliados");
Thanks