[jboss-jira] [JBoss JIRA] Commented: (JBAS-5397) NoClassDefFoundError: org/jgroups/MembershipListener then trying to use JBossCache
Alexey Kakunin (JIRA)
jira-events at lists.jboss.org
Thu Apr 10 09:50:54 EDT 2008
[ http://jira.jboss.com/jira/browse/JBAS-5397?page=comments#action_12408087 ]
Alexey Kakunin commented on JBAS-5397:
--------------------------------------
Hm, I do not need clastering - as well as I do not need to use JGroups :). I just configured Hibernate to use JBossCache as Second-Level cache Privider. I I've got error - since JBossCache REQUIRED JGroups.
So, if JBossCache is included into default configuration by default - JGroups also should be there.
BTW - I did not do any special configuration for clustering and so on. I've got this error with default configuration of hibernate and jBossCache.
> NoClassDefFoundError: org/jgroups/MembershipListener then trying to use JBossCache
> ----------------------------------------------------------------------------------
>
> Key: JBAS-5397
> URL: http://jira.jboss.com/jira/browse/JBAS-5397
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: JBossAS-4.2.2.GA
> Environment: Java 1.6, Ubuntu Linux 7.10, JBoss 4.2.2.GA default server.
> Reporter: Alexey Kakunin
>
> Trying to reduce size of war-file, I removed hibernate from it - to use hibernate, "build-in" into JBossAS. To be able to use it - I configured my hibernate properties to use JBossCache as cache provider:
> hibernate.cache.provider_class=org.hibernate.cache.OptimisticTreeCacheProvider
> But then I deployed my application - I received error:
> java.lang.NoClassDefFoundError: org/jgroups/MembershipListener
> caused during OptimisticTreeCacheProvider initialization.
> My war is not included neiver hibernate, nor jbosscache or jgroup. But since jboss-cache inclided into Jboss lib, I suppose jgroups also should be included there - othervise it is not possible to use it as second-level cache for hibernate.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list