DO NOT REPLY [Bug 34984] New: - HttpSessionBindingEvent.getName() returns null in cluster and distributal

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

DO NOT REPLY [Bug 34984] New: - HttpSessionBindingEvent.getName() returns null in cluster and distributal

Bugzilla from bugzilla@apache.org
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG?
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34984>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND?
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34984

           Summary: HttpSessionBindingEvent.getName() returns null in
                    cluster and distributal
           Product: Tomcat 5
           Version: 5.0.28
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina:Cluster
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


The HttpSessionBindingEvent.getName() returns null when used in
HttpSessionListener.attributeAdded, and the application is marked
distributable(in a cluster configuration, but it doen't matter if there is only
one node in the cluster).

I have attached a test that shows this behaviour:
The output when the application is not marked distributable:

Replicating a session
cheking event.getSession(  )=org.apache.catalina.session.StandardSessionFacade@f
42160
cheking event.getSession(  ).getId( )=67D7ED949770118ECCE414F7A16E3D3C
checking event.getName()=attrName
checking event.getValue()=attrValue
Test ok.

The output when the application is marked distributable (in the WEB-INF):

Replicating a session
cheking event.getSession(
)=org.apache.catalina.cluster.session.DeltaSessionFacade@b3cac9
cheking event.getSession(  ).getId( )=037FD127C843A30552D411A6CC513EB6
checking event.getName()=attrName
checking event.getValue()=null
getValue() not correct!!!!
Testk not ok!!!!


Regards,

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]