Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 41651 invoked by uid 500); 6 Aug 2002 12:45:58 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 41642 invoked from network); 6 Aug 2002 12:45:58 -0000 Date: 6 Aug 2002 12:46:21 -0000 Message-ID: <20020806124621.17816.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: axis-dev@xml.apache.org Cc: Subject: DO NOT REPLY [Bug 11305] - Client of stateful service connects to incorrect service instance X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11305 Client of stateful service connects to incorrect service instance gdaniels@macromedia.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From gdaniels@macromedia.com 2002-08-06 12:46 ------- Thanks, Alan! This brought to light a serious problem in the Call object. We were caching Transport objects (which is where the session cookies get stored) on a per- address basis in a static Hashtable. As such, when multiple threads talked to the same address, they ended up sharing Transports - which is not really the logical behaviour. In some cases, you want this so that different services/clients can share a concept of "connection", but I think we need to architect it much more intelligently and flexibly if we want that functionality. For now, I made the cache non-static, and your test works fine. Thanks!