Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-67081

ClassNotFoundException after enabling the bootstrap cache loader

    Details

    • Story Points:
      1.25
    • Fix Priority:
      4

      Description

      I have enabled clustering in Liferay DXP 7.0 and am noticing the exceptions below. I have enabled ClusterLink in Liferay and I am using TCPPING for JGroups (default tcp.xml file from JGroups) to cluster.

      portal.properties

      cluster.link.enabled=true
      
      cluster.link.channel.properties.control=mygroups/tcp.xml
      cluster.link.channel.properties.transport.0=mygroups/tcp.xml
      net.sf.ehcache.configurationResourceName.peerProviderProperties=file=mygroups/tcp.xml
      ehcache.multi.vm.config.location.peerProviderProperties=file=mygroups/tcp.xml
      ehcache.bootstrap.cache.loader.factory=com.liferay.portal.cache.ehcache.JGroupsBootstrapCacheLoaderFactory
      ehcache.cache.event.listener.factory=net.sf.ehcache.distribution.jgroups.JGroupsCacheReplicatorFactory
      ehcache.cache.manager.peer.provider.factory=net.sf.ehcache.distribution.jgroups.JGroupsCacheManagerPeerProviderFactory
      
      cluster.link.autodetect.address=www.google.com:80
      
      ehcache.bootstrap.cache.loader.enabled=true
      

      Exception

      Caused by: java.lang.ClassNotFoundException: com.liferay.portal.cache.multiple.internal.bootstrap.ClusterLinkBootstrapLoaderHelperUtil
          at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
          at com.liferay.portal.module.framework.ModuleFrameworkClassLoader.loadClass(ModuleFrameworkClassLoader.java:98)
          at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
          at org.eclipse.osgi.internal.framework.ContextFinder.loadClass(ContextFinder.java:131)
          at sun.reflect.GeneratedMethodAccessor76.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          at java.lang.reflect.Method.invoke(Method.java:497)
          at com.liferay.portal.kernel.util.AggregateClassLoader._loadClass(AggregateClassLoader.java:307)
          ... 45 more
      

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 11 weeks, 5 days ago

                Packages

                Version Package
                7.0.X EE
                Master