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

FrameworkEvent ERROR while deploy test-cache-configuration-portlet

    Details

      Description

      Steps to reproduce:

      • Deploy test-cache-configuration-portlet
      • Start portal

      Actual Results:
      Exception throw and portal failed to start

       [exec] 19:13:03,993 ERROR [Framework Event Dispatcher: Equinox Container: a3fae699-f435-43cf-8084-7033d1780733][Framework:93] FrameworkEvent ERROR 
           [exec] net.sf.ehcache.CacheException: Unable to load class com.liferay.portal.cache.ehcache.LiferayBootstrapCacheLoaderFactory. Initial cause was com.liferay.portal.cache.ehcache.LiferayBootstrapCacheLoaderFactory cannot be found by com.liferay.portal.cache.ehcache.impl_2.0.8
           [exec] 	at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:68)
           [exec] 	at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:48)
           [exec] 	at net.sf.ehcache.Cache.createBootstrapCacheLoader(Cache.java:1047)
           [exec] 	at net.sf.ehcache.Cache.<init>(Cache.java:368)
           [exec] 	at net.sf.ehcache.Cache.<init>(Cache.java:327)
           [exec] 	at com.liferay.portal.cache.ehcache.internal.EhcachePortalCacheManager.reconfigEhcache(EhcachePortalCacheManager.java:271)
           [exec] 	at com.liferay.portal.cache.ehcache.internal.EhcachePortalCacheManager.reconfigurePortalCaches(EhcachePortalCacheManager.java:90)
           [exec] 	at com.liferay.portal.cache.internal.PortalCacheExtender._configure(PortalCacheExtender.java:109)
           [exec] 	at com.liferay.portal.cache.internal.PortalCacheExtender.access$100(PortalCacheExtender.java:45)
           [exec] 	at com.liferay.portal.cache.internal.PortalCacheExtender$1.addingBundle(PortalCacheExtender.java:58)
           [exec] 	at com.liferay.portal.cache.internal.PortalCacheExtender$1.addingBundle(PortalCacheExtender.java:50)
           [exec] 	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:475)
           [exec] 	at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1)
           [exec] 	at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
           [exec] 	at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
           [exec] 	at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:450)
           [exec] 	at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:908)
           [exec] 	at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
           [exec] 	at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
           [exec] 	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:230)
           [exec] 	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:137)
           [exec] 	at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:129)
           [exec] 	at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:191)
           [exec] 	at org.eclipse.osgi.container.Module.publishEvent(Module.java:476)
           [exec] 	at org.eclipse.osgi.container.Module.start(Module.java:467)
           [exec] 	at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:428)
           [exec] 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1297)
           [exec] 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1270)
           [exec] 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:524)
           [exec] 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:369)
           [exec] 	at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:320)
           [exec] Caused by: java.lang.ClassNotFoundException: com.liferay.portal.cache.ehcache.LiferayBootstrapCacheLoaderFactory cannot be found by com.liferay.portal.cache.ehcache.impl_2.0.8
           [exec] 	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:508)
           [exec] 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:419)
           [exec] 	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:411)
           [exec] 	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:151)
           [exec] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
           [exec] 	at net.sf.ehcache.EhcacheDefaultClassLoader.loadClass(EhcacheDefaultClassLoader.java:49)
           [exec] 	at net.sf.ehcache.util.ClassLoaderUtil.createNewInstance(ClassLoaderUtil.java:65)
           [exec] 	... 30 more
      

      Full Console log: https://test-1-15.liferay.com/job/test-portal-acceptance-pullrequest-batch(7.2.x)/AXIS_VARIABLE=0,label_exp=!master/6580/consoleText

        Attachments

          Activity

            People

            Assignee:
            yunlin.sun Yunlin "Steven" Sun
            Reporter:
            yunlin.sun Yunlin "Steven" Sun
            Participants of an Issue:
            Recent user:
            Brian Wulbern
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 11 weeks, 3 days ago

                Packages

                Version Package
                7.1.X
                7.2.X
                Master