-
1. Re: Adding TreeCache to JBoss default server
khkachn Sep 23, 2007 3:26 PM (in response to khkachn)Forgot to mention we are using Jboss 4.0.5ga with EJB3.0
Thanks,
Ken -
2. Re: Adding TreeCache to JBoss default server
brucespringfield Sep 24, 2007 3:20 AM (in response to khkachn)Add a deployment descriptor for the TreeCache to the deploy directory of your server.
You can also include the cache jar files in applications you deploy to the server. -
3. Re: Adding TreeCache to JBoss default server
khkachn Sep 24, 2007 9:24 PM (in response to khkachn)That works for 'all', but what do I need to do to get it to work in 'default' (jboss/server/default)?
I put tree-cache.jar and jgroups.jar in default/lib and my cache-server.xml in default/deploy, but there must be more to it then that because I get errors (sorry, I don't have them here to post).
Ken -
4. Re: Adding TreeCache to JBoss default server
brucespringfield Sep 25, 2007 2:20 AM (in response to khkachn)"khkachn" wrote:
That works for 'all', but what do I need to do to get it to work in 'default' (jboss/server/default)?
should not be so different, as long as you are not attempting to cluster from default"khkachn" wrote:
I put tree-cache.jar and jgroups.jar in default/lib and my cache-server.xml in default/deploy, but there must be more to it then that because I get errors (sorry, I don't have them here to post).
I don't think you need jgroups.jar for the default. jgroups.jar, as I know it, is for clustering. You should post the errors. You might also post your config, cache-server.xml -
5. Re: Adding TreeCache to JBoss default server
khkachn Sep 27, 2007 8:29 PM (in response to khkachn)When I when back to get the error I realized it was caused by a problem in my cache-service.xml file. When I fixed that it works.
So, all you need to do is copy jboss-cache.jar and jgroups.jar from all/lib to default/lib and put your cache mbean xml in deploy (I just copied and moded the one in all/deploy for the Ejb cache) and it works.
Sorry for the confusion and thanks for the responses.
Ken