tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52512] New: CrawlerSessionManagerValve does not work with Clustering
Date Tue, 24 Jan 2012 08:29:09 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52512

             Bug #: 52512
           Summary: CrawlerSessionManagerValve does not work with
                    Clustering
           Product: Tomcat 7
           Version: 7.0.25
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: michael.bu@gmail.com
    Classification: Unclassified


Hi, 

I just encountered a problem with CrawlerSessionManagerValve when used with
clustering after I upgraded from 7.0.14 to 7.0.25 today. It appears to be a
serialization problem when the valve trying to set itself as an attribute to
the session.

Here's the stack: 

SEVERE: Error processing request 
java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute
org.apache.catalina.valves.CrawlerSessionManagerValve 
        at
org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1451) 
        at
org.apache.catalina.ha.session.DeltaSession.setAttribute(DeltaSession.java:654) 
        at
org.apache.catalina.ha.session.DeltaSession.setAttribute(DeltaSession.java:638) 
        at
org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:156)

        at
org.apache.catalina.valves.CrawlerSessionManagerValve.invoke(CrawlerSessionManagerValve.java:190)

        at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) 
        at
org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:680) 
        at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) 
        at
org.apache.catalina.ha.session.JvmRouteBinderValve.invoke(JvmRouteBinderValve.java:219) 
        at
org.apache.catalina.ha.tcp.ReplicationValve.invoke(ReplicationValve.java:333) 
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) 
        at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)

        at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)

        at
org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:1763)

        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)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message