Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A2A6FD466 for ; Thu, 9 Aug 2012 21:18:02 +0000 (UTC) Received: (qmail 84052 invoked by uid 500); 9 Aug 2012 21:17:59 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 83994 invoked by uid 500); 9 Aug 2012 21:17:59 -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 83981 invoked by uid 99); 9 Aug 2012 21:17:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Aug 2012 21:17:58 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of russt@releasetools.org designates 67.222.55.9 as permitted sender) Received: from [67.222.55.9] (HELO oproxy7-pub.bluehost.com) (67.222.55.9) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 09 Aug 2012 21:17:51 +0000 Received: (qmail 3849 invoked by uid 0); 9 Aug 2012 21:17:29 -0000 Received: from unknown (HELO box771.bluehost.com) (66.147.244.71) by oproxy7.bluehost.com with SMTP; 9 Aug 2012 21:17:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=releasetools.org; s=default; h=Content-Type:Cc:Subject:From:To:Date:References:In-Reply-To:Message-Id:Mime-Version; bh=3XPYnl2duQsTQkPFNehCSZD2TSr5xplQxI1TZGojJoE=; b=P/LYhvgpm9masBUkVn1dOPJw6+cc4ipRmvPGW9ly8Cd34vjX7dzY8lY6PFIFcsrgWG2pLMV77NdYWlvA9glxSXSPQCg4sJ7TJmlUNVdvFvuXF3uywIO5m3aR1K6iPD2+; Received: from [205.227.88.253] (port=33849 helo=[10.1.125.126]) by box771.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1Sza6j-0001IT-Jb; Thu, 09 Aug 2012 15:17:29 -0600 Mime-Version: 1.0 Message-Id: In-Reply-To: <50241BD6.5030602@christopherschultz.net> References: <50241BD6.5030602@christopherschultz.net> Date: Thu, 9 Aug 2012 14:17:27 -0700 To: Christopher Schultz From: Russ Tremain Subject: Re: debugging a deployed webapp 101 Cc: Tomcat Users List Content-Type: text/plain; charset="us-ascii" X-Identified-User: {1266:box771.bluehost.com:release5:releasetools.org} {sentby:smtp auth 205.227.88.253 authed with russt+releasetools.org} Hey, that's pretty cool - nice that tomcat has full jmx interface now. By drilling down from the "MBeans" tab as you suggested, I can now see my classpath, but not the actual classes that are loaded. I do see a nice graph that tracks the total number of classes loaded, under the "Classes" tab. -Russ At 4:21 PM -0400 8/9/12, Christopher Schultz wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Russ, > >On 8/9/12 3:46 PM, Russ Tremain wrote: >> I heard that there is a way to get tomcat manager to dump the >> contents of the classpath loaders for a deployed application, but I >> haven't been able to find it. >> >> So far, I see only the ideas of using jstack or kill -3 (SIGQUIT) >> to dump the threads for the container process. > >Do you want to get a thread dump, or do you want to get a list of JAR >files that each ClassLoader is aware of? > >> Is there a way to get specific information about the loaded >> classpaths? > >If you can attach to the process using jconsole, then you can look at >the /Catalina/WebappClassLoader tree (somewhat predictably gives you >details about WebappClassLoaders) and the /Catalina/Loader tree which >has more information. > >- -chris >-----BEGIN PGP SIGNATURE----- >Version: GnuPG/MacGPG2 v2.0.17 (Darwin) >Comment: GPGTools - http://gpgtools.org >Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > >iEYEARECAAYFAlAkG9YACgkQ9CaO5/Lv0PCIJwCglZPb6a0AbAMt2ZEO43enPKiZ >8PoAn1sCtIoduMa5CRhtr7OuhFNSEzc8 >=J2pm >-----END PGP SIGNATURE----- > >--------------------------------------------------------------------- >To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org >For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org