Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 5.2.3
    • Fix Version/s: 5.2.3
    • Labels:
      None
    • Environment:
      liferay-portal-5.2-ee-sp3; tomcat 6.0; MySQL; RedHat 5.3; Hardware load balancing
    • Branch Version/s:
      5.2.x

      Description

      Good Afternoon;

      I have implemented the session replication between two Tomcat servers in two differents machines.
      The first server that is started go ok, but when the second server starts and try to decript the sesion received from the first server, the next exception is thrown.
      Does anybody faced something similar?
      Any help is wellcome.

      Best regards.

      Apr 21, 2010 4:22:14 AM org.apache.catalina.ha.session.DeltaManager waitForSendAllSessions
      INFO: Manager localhost#/pepecar; session state send at 4/21/10 4:22 AM received in 764 ms.
      java.lang.NullPointerException
      at com.liferay.portal.kernel.util.DigesterUtil.digest(DigesterUtil.java:33)
      at com.liferay.util.Encryptor.digest(Encryptor.java:163)
      at com.liferay.portal.ee.classloader.DecryptorClassLoader.<init>(Unknown Source)
      at com.liferay.portal.ee.license.LicenseUtil.getEventsProcessor(Unknown Source)
      at com.liferay.portal.events.EventsProcessorUtil.<clinit>(EventsProcessorUtil.java:74)
      at com.liferay.portal.servlet.PortalSessionListener.sessionCreated(PortalSessionListener.java:65)
      at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:397)
      at org.apache.catalina.session.StandardSession.setId(StandardSession.java:369)
      at org.apache.catalina.ha.session.DeltaSession.setId(DeltaSession.java:256)
      at org.apache.catalina.ha.session.DeltaManager.handleSESSION_CREATED(DeltaManager.java:1437)
      at org.apache.catalina.ha.session.DeltaManager.messageReceived(DeltaManager.java:1322)
      at org.apache.catalina.ha.session.DeltaManager.messageDataReceived(DeltaManager.java:1093)
      at org.apache.catalina.ha.session.ClusterSessionListener.messageReceived(ClusterSessionListener.java:87)
      at org.apache.catalina.ha.tcp.SimpleTcpCluster.messageReceived(SimpleTcpCluster.java:899)
      at org.apache.catalina.ha.tcp.SimpleTcpCluster.messageReceived(SimpleTcpCluster.java:880)
      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.interceptors.ThroughputInterceptor.messageReceived(ThroughputInterceptor.java:86)
      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:619)
      2010-04-21 04:22:16:638 ERROR [LicenseUtil:?] java.lang.ClassNotFoundException: java.lang.NullPointerException
      java.lang.ClassNotFoundException: java.lang.NullPointerException
      at com.liferay.portal.ee.classloader.DecryptorClassLoader.loadClass(Unknown Source)
      at com.liferay.portal.ee.license.LicenseUtil.getEventsProcessor(Unknown Source)
      at com.liferay.portal.events.EventsProcessorUtil.<clinit>(EventsProcessorUtil.java:74)
      at com.liferay.portal.servlet.PortalSessionListener.sessionCreated(PortalSessionListener.java:65)
      at org.apache.catalina.session.StandardSession.tellNew(StandardSession.java:397)
      at org.apache.catalina.session.StandardSession.setId(StandardSession.java:369)
      at org.apache.catalina.ha.session.DeltaSession.setId(DeltaSession.java:256)
      at org.apache.catalina.ha.session.DeltaManager.handleSESSION_CREATED(DeltaManager.java:1437)
      at org.apache.catalina.ha.session.DeltaManager.messageReceived(DeltaManager.java:1322)
      at org.apache.catalina.ha.session.DeltaManager.messageDataReceived(DeltaManager.java:1093)
      at org.apache.catalina.ha.session.ClusterSessionListener.messageReceived(ClusterSessionListener.java:87)
      at org.apache.catalina.ha.tcp.SimpleTcpCluster.messageReceived(SimpleTcpCluster.java:899)
      at org.apache.catalina.ha.tcp.SimpleTcpCluster.messageReceived(SimpleTcpCluster.java:880)
      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.interceptors.ThroughputInterceptor.messageReceived(ThroughputInterceptor.java:86)
      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:619)
      Caused by: com.liferay.util.EncryptorException: java.lang.NullPointerException
      at com.liferay.util.Encryptor.decryptUnencodedAsBytes(Encryptor.java:143)
      ... 27 more
      Caused by: java.lang.NullPointerException
      at com.liferay.util.Encryptor.decryptUnencodedAsBytes(Encryptor.java:136)
      ... 27 more

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 23 weeks, 2 days ago

                Packages

                Version Package
                5.2.3