aspose file tools*
The moose likes Websphere and the fly likes Issue with Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Issue with "valueUnbound" event on session timeout in WebSphere 4 cluster" Watch "Issue with "valueUnbound" event on session timeout in WebSphere 4 cluster" New topic
Author

Issue with "valueUnbound" event on session timeout in WebSphere 4 cluster

Sudharshan Govindan
Greenhorn

Joined: Sep 09, 2002
Posts: 12
Configuration/Code:
==================
Cluster -> 2 Appservers (Websphere 4.0 SP 4) and 1 Webserver
Cluster Mode -> Round Robin
Session Persistance -> Database
Session Persistance Mode -> Medium Single Row
Code ->
One of our session object implements the "HttpSessionBindingListener" interface and
we have implemented the methods "valueBound" and "valueUnbound". In the "valueBound" event, we write login information into a log file and on "valueUnbound" also we write the logout information. All the login and logout information are stored in the file in their respective servers.
Issue ->
Summary : When more than one user logs into the application, login information is stored in different servers but when the session times out, the logout information of all the users is logged in only one server (wherever the first request was served) .

More detailed flow
=============
1. Two users logs into the system ( and User1 is served by Server1 and User2 is served by Server2)
2. Login information is logged into Server1 and Server2 respectively.
3. Both the user close the brower without initiating Signoff
4. Session timesout after sometime (say 15 Mins)
5. The logout information for both the users are stored in Server1 itself (instead what was exepected that User1's logout information will be stored in Server1 and User2's logout information will be stored in Server2)
Can anyone help us out in figuring out this problem (Code / Websphere configuration).
Regards,
Sudharshan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue with "valueUnbound" event on session timeout in WebSphere 4 cluster
 
Similar Threads
Informal Survey - Use of Listeners
How to start or run a application on newly created server2 on WebSphere
J2EE application in production environment
Re: WAS Cluster
Login problem using browsers back button