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

Rolling restart failed caused by MethodKey

    Description

    Step to reproduce:

    1. Setup two nodes cluster
    2. Start node1
    3. Go to node2, osgi/modules/com.liferay.journal.api.jar, modify "Bundle-Version" in /META-INF/MANIFEST.MF
    4. Start node2
    5. Go to node1, Content > Web Content > Add Basic Web Content

    Expected: no error on node2

    Actual result:

    2020-06-30 04:58:23.436 WARN  [jgroups-14,tina-liferay-channel-control,liferay-Precision-5520-52800][JGroupsReceiver:80] Unable to deserialize message payload2020-06-30 04:58:23.436 WARN  [jgroups-14,tina-liferay-channel-control,liferay-Precision-5520-52800][JGroupsReceiver:80] Unable to deserialize message payloadjava.lang.ClassNotFoundException: com.liferay.journal.util.JournalContent at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at com.liferay.portal.module.framework.ModuleFrameworkClassLoader.loadClass(ModuleFrameworkClassLoader.java:60) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at org.eclipse.osgi.internal.framework.ContextFinder.loadClass(ContextFinder.java:132) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at com.liferay.portal.kernel.util.AggregateClassLoader._loadClass(AggregateClassLoader.java:304) at com.liferay.portal.kernel.util.AggregateClassLoader.loadClass(AggregateClassLoader.java:258) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at com.liferay.petra.lang.ClassResolverUtil.resolve(ClassResolverUtil.java:29) at com.liferay.portal.kernel.io.Deserializer.readObject(Deserializer.java:125) at com.liferay.portal.kernel.util.MethodKey.readExternal(MethodKey.java:149) at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:2118) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2067) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1975) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1567) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573) at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1975) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1567) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2287) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:2211) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:2069) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1573) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:431) at com.liferay.portal.cluster.multiple.internal.io.ClusterSerializationUtil.readObject(ClusterSerializationUtil.java:52) at com.liferay.portal.cluster.multiple.internal.jgroups.JGroupsReceiver.receive(JGroupsReceiver.java:74) at org.jgroups.ReceiverAdapter.receive(ReceiverAdapter.java:24) at org.jgroups.JChannel.up(JChannel.java:805) at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:923) at org.jgroups.protocols.RSVP.up(RSVP.java:234) at org.jgroups.protocols.FRAG2.up(FRAG2.java:197) at org.jgroups.protocols.FlowControl.up(FlowControl.java:411) at org.jgroups.protocols.FlowControl.up(FlowControl.java:411) at org.jgroups.stack.Protocol.up(Protocol.java:338) at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:296) at org.jgroups.protocols.UNICAST3.up(UNICAST3.java:450) at org.jgroups.protocols.pbcast.NAKACK2.deliverBatch(NAKACK2.java:952) at org.jgroups.protocols.pbcast.NAKACK2.removeAndDeliver(NAKACK2.java:886) at org.jgroups.protocols.pbcast.NAKACK2.handleMessages(NAKACK2.java:860) at org.jgroups.protocols.pbcast.NAKACK2.up(NAKACK2.java:682) at org.jgroups.stack.Protocol.up(Protocol.java:338) at org.jgroups.protocols.FD_ALL.up(FD_ALL.java:215) at org.jgroups.stack.Protocol.up(Protocol.java:338) at org.jgroups.stack.Protocol.up(Protocol.java:338) at org.jgroups.stack.Protocol.up(Protocol.java:338) at org.jgroups.protocols.TP.passBatchUp(TP.java:1295) at org.jgroups.util.MaxOneThreadPerSender$BatchHandlerLoop.passBatchUp(MaxOneThreadPerSender.java:284) at org.jgroups.util.SubmitToThreadPool$BatchHandler.run(SubmitToThreadPool.java:136) at org.jgroups.util.MaxOneThreadPerSender$BatchHandlerLoop.run(MaxOneThreadPerSender.java:273) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
    

      Attachments

        Issue Links

          Activity

            People

            Assignee:
            kyle.miho Kyle Miho
            Reporter:
            tina.tian Tina Tian
            Participants of an Issue:
            Recent user:
            Kyle Miho
            Engineering Assignee:
            Tina Tian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              3 weeks, 2 days ago

                Packages

                Version Package
                7.3.5 CE GA6
                7.3.10 DXP GA1
                Master