Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Session Replication in BI Server

  1. #1
    Join Date
    Sep 2017
    Posts
    1

    Default Session Replication in BI Server

    Hi,
    I tried to activate session replication via Tomcat with pentaho BI-server CE 6.1, but it seems like pentaho adds some attributes to the session that are not serializable.

    I get an error from org.apache.catalina.ha.session.DeltaManager.requestCompleted telling me that org.apache.catalina.session.StandardSessionFacade is not serializable,

    Code:
    SEVERE [http-nio-80-exec-33] org.apache.catalina.ha.session.DeltaManager.requestCompleted Unable to serialize delta request for sessionid  [71DC2A84973C13C6A657BD749BA5DBA7] java.io.NotSerializableException: org.apache.catalina.session.StandardSessionFacade
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
            at org.apache.catalina.ha.session.DeltaRequest$AttributeInfo.writeExternal(DeltaRequest.java:401)
            at org.apache.catalina.ha.session.DeltaRequest.writeExternal(DeltaRequest.java:294)
            at org.apache.catalina.ha.session.DeltaRequest.serialize(DeltaRequest.java:308)
            at org.apache.catalina.ha.session.DeltaManager.serializeDeltaRequest(DeltaManager.java:585)
            at org.apache.catalina.ha.session.DeltaManager.requestCompleted(DeltaManager.java:966)
            at org.apache.catalina.ha.session.DeltaManager.requestCompleted(DeltaManager.java:933)
            at org.apache.catalina.ha.tcp.ReplicationValve.send(ReplicationValve.java:525)
            at org.apache.catalina.ha.tcp.ReplicationValve.sendMessage(ReplicationValve.java:513)
            at org.apache.catalina.ha.tcp.ReplicationValve.sendSessionReplicationMessage(ReplicationValve.java:495)
            at org.apache.catalina.ha.tcp.ReplicationValve.sendReplicationMessage(ReplicationValve.java:406)
            at org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:329)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502)
            at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458)
            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
            at java.lang.Thread.run(Thread.java:745)


    I've got a look at the session objects
    Code:
    locale_override: String
    PENTAHO_TMP_DELETER: org.pentaho.platform.web.http.session.SessionTempFileDeleter
    roles: org.springframework.security.GrantedAuthority
    pentaho-session-context: org.pentaho.platform.web.http.session.PentahoHttpSession
    SPRING_SECURITY_LAST_USERNAME: String
    SPRING_SECURITY_CONTEXT: org.springframework.security.context.SecurityContextImpl
    All of the objectes implement the interface Serializable, but pentaho-session-context contains the session itself so I think it may be the problem.



    In short: I would like to know if pentaho 6.1 supports session serialization.

    Thanks,
    Antonio Díaz

  2. #2
    Join Date
    Aug 2006
    Posts
    287

    Default

    Can you confirm you have done the step 1 from this link
    https://help.pentaho.com/Documentati...ication_Server

    What are you using for load balancer?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.