Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 81119 invoked from network); 27 Nov 2010 14:51:53 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 Nov 2010 14:51:53 -0000 Received: (qmail 81302 invoked by uid 500); 27 Nov 2010 14:51:50 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 81171 invoked by uid 500); 27 Nov 2010 14:51:49 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 81161 invoked by uid 99); 27 Nov 2010 14:51:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Nov 2010 14:51:48 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of CEmerson@orangelake.com designates 208.84.181.7 as permitted sender) Received: from [208.84.181.7] (HELO smtp01.orangelake.com) (208.84.181.7) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 27 Nov 2010 14:51:42 +0000 Received: from olex05.olcc.lan ([10.10.4.15]) by smtp01.orangelake.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 27 Nov 2010 09:51:20 -0500 Received: from olex08.olcc.lan ([10.10.4.24]) by olex05.olcc.lan with Microsoft SMTPSVC(6.0.3790.3959); Sat, 27 Nov 2010 09:51:20 -0500 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4721 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Please help ... [MultiThreadedHttpConnectionManager cleanup] Date: Sat, 27 Nov 2010 09:51:20 -0500 Message-ID: In-Reply-To: <4CF10E09.5090306@christopherschultz.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Please help ... [MultiThreadedHttpConnectionManager cleanup] thread-index: AcuOOvWIr9I1RXloQjueHKu0SUHgDQABtEJg References: <6D8F0A4A19FB2A49815191AC1C2B128E09ED34BF@UKEXCHANGE1.Europe.iSOFTGroup.co.uk> <4CED2594.4000003@pidster.com> <4CF10E09.5090306@christopherschultz.net> Importance: normal Priority: normal From: "Emerson, Christopher" To: "Tomcat Users List" X-OriginalArrivalTime: 27 Nov 2010 14:51:20.0873 (UTC) FILETIME=[8DD51990:01CB8E42] X-TM-AS-Product-Ver: SMEX-8.0.0.1181-6.500.1024-17792.004 X-TM-AS-Result: No--14.413500-8.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-Virus-Checked: Checked by ClamAV on apache.org That scares me a little bit. If I have 100+ concurrent users, won't that effect the other users? I've gone through every blog, jira, axis2 documentation site in the past 4 weeks and I've tried writing the client many ways with no luck so I was pretty sure I am closing down the client the way I am supposed to. Is it possible that I have something as simple as an incorrect web.xml configuration? Another thing I noticed is that the servlet api is in Tomcat's lib directory. Should that be in the individual webapp directories? -----Original Message----- From: Christopher Schultz [mailto:chris@christopherschultz.net]=20 Sent: Saturday, November 27, 2010 8:56 AM To: Tomcat Users List Subject: Re: Please help ... [MultiThreadedHttpConnectionManager cleanup] -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris, On 11/24/2010 9:47 AM, Pid wrote: > SEVERE: A web application appears to have started a thread named > [MultiThreadedHttpConnectionManager cleanup] but has failed to stop it. > This is very likely to create a memory leak. >=20 > MultiThreadedHttpConnectionManager is a class from HTTP Client. If you are using Axis and it's creating a MultiThreadedHttpConnectionManager, it should be stopping it when the webapp undeploys. So, the question is: are you properly shutting-down the Axis services when your webapp shuts down? If you are, then this is a bug in Axis that should be reported to them. If you aren't, then you need to do so. If you want a quick solution, you can always write your own ServletContextListener and call MultiThreadedHttpConnectionManager.shutdownAll() -- it's a static method that looks like it'll kill all threads from all MultiThreadedHttpConnectionManager objects. Seems like a reasonable hack, as long as commons-http-client was loaded by the WebappClassLoader. ;) - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzxDgkACgkQ9CaO5/Lv0PAYagCgjN6tvR47NshlNwSojGO7LOp2 3eAAnisYOvsvoZBL8R34+azn+K3ZTpoi =3DRAzC -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org DISCLAIMER: Orange Lake Resorts does not accept legal responsibility for the = contents of this message. Orange Lake Resorts reserves the right to = monitor the transmission of this message and to take corrective action = against any misuse or abuse of its e-mail system or other components of = its network. The information contained in this e-mail is confidential = and may be legally privileged. It is intended solely for the addressee. = If you are not the intended recipient, any disclosure, copying, = distribution, or any action or act of forbearance taken in reliance on = it, is prohibited and may be unlawful. Any views expressed in this = e-mail are those of the individual sender, except where the sender has = been duly authorized to specifically state the content of the e-mail on = behalf of Orange Lake Resorts. The recipient should check this e-mail = and any attachments for the presence of viruses. Orange Lake Resorts = accepts no liability for any damage caused by any viruses transmitted by = this e-mail. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org