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

Exception while starting up the second node of a two node cluster

    Details

      Description

      I reproduced the problem with Liferay EE SP2 Tomcat cluster and got this error:

      Nov 9, 2011 6:58:28 PM org.apache.catalina.ha.session.DeltaManager deserializeSessions
      SEVERE: IOException while loading persisted sessions: java.io.InvalidClassException: com.liferay.portlet.PortalPreferencesImpl; com.liferay.portlet.PortalPreferencesImpl; no valid constructor
      java.io.InvalidClassException: com.liferay.portlet.PortalPreferencesImpl; com.liferay.portlet.PortalPreferencesImpl; no valid constructor
      at java.io.ObjectStreamClass.checkDeserialize(ObjectStreamClass.java:713)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
      at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
      at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
      at org.apache.catalina.ha.session.DeltaSession.readObject(DeltaSession.java:651)
      at org.apache.catalina.ha.session.DeltaSession.readObjectData(DeltaSession.java:480)
      at org.apache.catalina.ha.session.DeltaManager.deserializeSessions(DeltaManager.java:745)
      at org.apache.catalina.ha.session.DeltaManager.handleALL_SESSION_DATA(DeltaManager.java:1588)
      at org.apache.catalina.ha.session.DeltaManager.messageReceived(DeltaManager.java:1440)
      at org.apache.catalina.ha.session.DeltaManager.messageDataReceived(DeltaManager.java:1173)
      at org.apache.catalina.ha.session.ClusterSessionListener.messageReceived(ClusterSessionListener.java:92)
      at org.apache.catalina.ha.tcp.SimpleTcpCluster.messageReceived(SimpleTcpCluster.java:901)
      at org.apache.catalina.ha.tcp.SimpleTcpCluster.messageReceived(SimpleTcpCluster.java:882)
      at org.apache.catalina.tribes.group.GroupChannel.messageReceived(GroupChannel.java:269)
      at org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:79)
      at org.apache.catalina.tribes.group.interceptors.TcpFailureDetector.messageReceived(TcpFailureDetector.java:110)
      at org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:79)
      at org.apache.catalina.tribes.group.ChannelInterceptorBase.messageReceived(ChannelInterceptorBase.java:79)
      at org.apache.catalina.tribes.group.ChannelCoordinator.messageReceived(ChannelCoordinator.java:241)
      at org.apache.catalina.tribes.transport.ReceiverBase.messageDataReceived(ReceiverBase.java:225)
      at org.apache.catalina.tribes.transport.nio.NioReplicationTask.drainChannel(NioReplicationTask.java:188)
      at org.apache.catalina.tribes.transport.nio.NioReplicationTask.run(NioReplicationTask.java:91)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      Caused by: java.io.InvalidClassException: com.liferay.portlet.PortalPreferencesImpl; no valid constructor
      at java.io.ObjectStreamClass.<init>(ObjectStreamClass.java:471)
      at java.io.ObjectStreamClass.lookup(ObjectStreamClass.java:310)
      at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:547)
      at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582)
      at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
      at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
      ... 23 more

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  7 years, 22 weeks ago

                  Packages

                  Version Package
                  6.0.X EE
                  --Sprint 12/11
                  6.1.0 CE RC1