This content has been marked as final.
Show 10 replies
-
1. Re: Cache in JBoss 3.0.x ?
belaban Jul 21, 2003 10:25 PM (in response to lyc1)"bela" wrote:
"bela" wrote:
It *could* be back-ported from JB4. However, the new PersistenceManager code will work only in JB4.
Bela -
2. Re: Cache in JBoss 3.0.x ?
lyc1 Jul 23, 2003 6:42 AM (in response to lyc1)"lyc1" wrote:
"lyc1" wrote:
Ok, i'm trying to implement on my own a distributed cache.
All of my JBoss instance are in cluster (through a cluster-service) and I would like to access to this javagroups "channel" instanciated into JBoss.
Where could I find API description for this ? (not javagroups API, but JBoss use of javagroups API)
Thanks
Damien -
3. Re: Cache in JBoss 3.0.x ?
belaban Jul 23, 2003 3:31 PM (in response to lyc1)"bela" wrote:
"bela" wrote:
Look at org.jboss.ha.framework.server.{ClusterPartition,HAPartitionImpl} plus the clustering docs.
Better ask this question in the clustering forum.
Bela -
4. Re: Cache in JBoss 3.0.x ?
wdrai Dec 1, 2003 11:35 AM (in response to lyc1)"wdrai" wrote:
"wdrai" wrote:
Is it possible to use the new jboss treeCache with hibernate in a jboss 3.2.1 cluster ?
I don't need JbossDO or CMP Entities, only Hibernate. -
5. Re: Cache in JBoss 3.0.x ?
ben.wang Dec 5, 2003 3:11 PM (in response to lyc1)"bwang00" wrote:
"bwang00" wrote:
Hi,
Hibernate will soon have a version that can use TreeCache. Watch out for the announcement on Hibernate.
Regards,
-Ben Wang -
6. Re:
belaban Dec 10, 2003 4:59 PM (in response to lyc1)"bela" wrote:
"bela" wrote:
The JBossCache has been backported to JBoss 3.2.3 (CVS Branch JBoss_3_2) by Ben Wang.
Bela -
7. Re: Cache in JBoss 3.0.x ?
gjacobi Dec 15, 2003 12:42 PM (in response to lyc1)"gjacobi" wrote:
"gjacobi" wrote:
I am also interested in running JBossCache in Jboss 3.2.3 but I have not had any success. Where can I find info on how to deploy it appropriatly?
Thanks. -
8. Re: Cache in JBoss 3.0.x ?
gjacobi Dec 16, 2003 1:05 PM (in response to lyc1)"gjacobi" wrote:
"gjacobi" wrote:
I did a little more research on why I cannot deploy the TreeCache mBean in jboss3.2.3.
This is what I did:
I took the as-is replSync-service.xml file, wrapped it in a .sar file and I placed it in the 'all' container.
I started jboss (version=3.2.3).
I got the following error:
status: Deployment FAILED reason: create operation failed for package file:/C:/jboss/server/webster/deploy/CacheService.sar; - Nested throwable: (org.jboss.deployment.DeploymentException: overloaded type for attribute set: CacheMode; - nested throwable: (javax.management.NotCompliantMBeanException: overloaded type for attribute set: CacheMode))
After some review, it appears that there is a problem with the TreeCache MBean in the fact that it has multiple TreeCache.setCacheMode methods (one takes an int and one takes a string). The object StandardMetaData looks like it is inspecting the TreeCache class and it does not like multiple 'set' methods for the same paramater.
So, my guess is that the problem is one of four things (I am hoping you can help me close in on which one it is).
1) I deployed it wrong.
2) TreeCache has a bug and one of the setter methods for setCacheMode should be removed or changed.
3) StandardMetaData has a bug, it should allow the overloaded setter methods.
4) Something else is wrong within jboss (catch all reason to make it sound like I covered all the bases :)
Any ideas?
Thanks,
Greg -
9. Re: Cache in JBoss 3.0.x ?
belaban Dec 16, 2003 7:51 PM (in response to lyc1)"bela" wrote:
"bela" wrote:
Yes, you are correct - we have an overloaded setCacheMode() setter. We allow this when we run outside the container (we have our own XMLConfigurator), but inside the container, the deployer bean fails.
What to do ? I can create a separate setCacheModeStr() method, so we avoid overloading.
Please create a bug report on SourceForge, and I'll fix this.
Bela -
10. Re: Cache in JBoss 3.0.x ?
gjacobi Dec 16, 2003 8:47 PM (in response to lyc1)"gjacobi" wrote:
"gjacobi" wrote:
I created the bug (861428). Let me know how it turns out.
Thanks a bunch.
Greg