[jboss-jira] [JBoss JIRA] Created: (JBAS-5397) NoClassDefFoundError: org/jgroups/MembershipListener then trying to use JBossCache

Alexey Kakunin (JIRA) jira-events at lists.jboss.org
Thu Apr 10 09:26:05 EDT 2008


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