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

Throws ClassNotFoundException when adding a webcontent on reverted bundle

    Details

    • Type: Bug
    • Status: Verified
    • Resolution: Unresolved
    • Affects Version/s: 7.0.0 DXP FP74, 7.1.X, 7.2.X, Master
    • Fix Version/s: None
    • Component/s: Portal Services
    • Labels:

      Description

      Steps to reproduce:

      1. Start two servers on DXP SP10 with the FP75-build1.
      2. Take down cluster2 and revert the FP75-build1.
      3. Install FP60
      4. Restart cluster2.
      5. Login cluster2, and try to add a webcontent, then publish.

      Expected Result:
      No exceptions throws.

      Actual Result:

      [exec]          [exec] 00:59:07,069 WARN  [Incoming-2,liferay-channel-control,cloud-10-0-16-185-62479][JGroupsReceiver:80] Unable to deserialize message payload
           [exec]          [exec] java.lang.ClassNotFoundException: Unable to load class com.liferay.portal.scheduler.multiple.internal.ClusterSchedulerEngine
           [exec]          [exec] 	at com.liferay.portal.kernel.util.AggregateClassLoader._loadClass(AggregateClassLoader.java:318)
           [exec]          [exec] 	at com.liferay.portal.kernel.util.AggregateClassLoader.loadClass(AggregateClassLoader.java:254)
           [exec]          [exec] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
           [exec]          [exec] 	at java.lang.Class.forName0(Native Method)
           [exec]          [exec] 	at java.lang.Class.forName(Class.java:348)
           [exec]          [exec] 	at com.liferay.petra.lang.ClassResolverUtil.resolve(ClassResolverUtil.java:29)
           [exec]          [exec] 	at com.liferay.portal.kernel.io.Deserializer.readObject(Deserializer.java:128)
           [exec]          [exec] 	at com.liferay.portal.kernel.util.MethodKey.readExternal(MethodKey.java:154)
           [exec]          [exec] 	at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:2062)
           [exec]          [exec] 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2011)
           [exec]          [exec] 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)
           [exec]          [exec] 	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2231)
           [exec]          [exec] 	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2155)
           [exec]          [exec] 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2013)
           [exec]          [exec] 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)
           [exec]          [exec] 	at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2231)
           [exec]          [exec] 	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2155)
           [exec]          [exec] 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2013)
           [exec]          [exec] 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1535)
           [exec]          [exec] 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:422)
           [exec]          [exec] 	at com.liferay.portal.cluster.multiple.internal.io.ClusterSerializationUtil.readObject(ClusterSerializationUtil.java:52)
           [exec]          [exec] 	at com.liferay.portal.cluster.multiple.internal.jgroups.JGroupsReceiver.receive(JGroupsReceiver.java:74)
           [exec]          [exec] 	at org.jgroups.JChannel.up(JChannel.java:769)
           [exec]          [exec] 	at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:1033)
           [exec]          [exec] 	at org.jgroups.protocols.RSVP.up(RSVP.java:237)
           [exec]          [exec] 	at org.jgroups.protocols.FRAG2.up(FRAG2.java:182)
           [exec]          [exec] 	at org.jgroups.protocols.FlowControl.up(FlowControl.java:447)
           [exec]          [exec] 	at org.jgroups.protocols.FlowControl.up(FlowControl.java:447)
           [exec]          [exec] 	at org.jgroups.stack.Protocol.up(Protocol.java:420)
           [exec]          [exec] 	at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:294)
           [exec]          [exec] 	at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:474)
           [exec]          [exec] 	at org.jgroups.protocols.pbcast.NAKACK2.deliverBatch(NAKACK2.java:982)
           [exec]          [exec] 	at org.jgroups.protocols.pbcast.NAKACK2.removeAndPassUp(NAKACK2.java:912)
           [exec]          [exec] 	at org.jgroups.protocols.pbcast.NAKACK2.handleMessage(NAKACK2.java:846)
           [exec]          [exec] 	at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:618)
           [exec]          [exec] 	at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:155)
           [exec]          [exec] 	at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:200)
           [exec]          [exec] 	at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:311)
           [exec]          [exec] 	at org.jgroups.protocols.MERGE3.up(MERGE3.java:286)
           [exec]          [exec] 	at org.jgroups.protocols.Discovery.up(Discovery.java:295)
           [exec]          [exec] 	at org.jgroups.protocols.TP.passMessageUp(TP.java:1577)
           [exec]          [exec] 	at org.jgroups.protocols.TP$MyHandler.run(TP.java:1796)
           [exec]          [exec] 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
           [exec]          [exec] 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
           [exec]          [exec] 	at java.lang.Thread.run(Thread.java:745)
           [exec]          [exec] Caused by: java.lang.ClassNotFoundException: com.liferay.portal.scheduler.multiple.internal.ClusterSchedulerEngine
           [exec]          [exec] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
           [exec]          [exec] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
           [exec]          [exec] 	at com.liferay.portal.module.framework.ModuleFrameworkClassLoader.loadClass(ModuleFrameworkClassLoader.java:98)
           [exec]          [exec] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
           [exec]          [exec] 	at org.eclipse.osgi.internal.framework.ContextFinder.loadClass(ContextFinder.java:131)
           [exec]          [exec] 	at sun.reflect.GeneratedMethodAccessor141.invoke(Unknown Source)
           [exec]          [exec] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
           [exec]          [exec] 	at java.lang.reflect.Method.invoke(Method.java:498)
           [exec]          [exec] 	at com.liferay.portal.kernel.util.AggregateClassLoader._loadClass(AggregateClassLoader.java:313)
           [exec]          [exec] 	... 44 more
           [exec] 03-Mar-2019 00:59:07.651 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-nio-9080"]
           [exec] 03-Mar-2019 00:59:07.737 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["ajp-nio-9009"]
           [exec] 03-Mar-2019 00:59:07.837 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-nio-9080"]
           [exec] 03-Mar-2019 00:59:07.837 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["ajp-nio-9009"]
      

        Attachments

          Activity

            People

            • Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              felix.zhang Felix Zhang
              Participants of an Issue:
              Recent user:
              Yunlin "Steven" Sun
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                24 weeks, 5 days ago

                Packages

                Version Package