You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/05/20 12:16:28 UTC

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

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: tomcat-dev@jakarta.apache.org
        ReportedBy: raul-info@r-bg.com


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: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org