From dev-return-194477-archive-asf-public=cust-asf.ponee.io@tomcat.apache.org Fri Nov 2 00:10:10 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id C44A6180677 for ; Fri, 2 Nov 2018 00:10:09 +0100 (CET) Received: (qmail 30746 invoked by uid 500); 1 Nov 2018 23:10:08 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 30736 invoked by uid 99); 1 Nov 2018 23:10:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2018 23:10:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4DC8B18032A for ; Thu, 1 Nov 2018 23:10:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -10.301 X-Spam-Level: X-Spam-Status: No, score=-10.301 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6MzsOAnJD_z7 for ; Thu, 1 Nov 2018 23:10:07 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 786305F1F0 for ; Thu, 1 Nov 2018 23:10:07 +0000 (UTC) Received: from asf-bz1-us-mid.priv.apache.org (nat1-us-mid.apache.org [23.253.172.122]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTPS id 1E45CE00CB for ; Thu, 1 Nov 2018 23:10:07 +0000 (UTC) Received: by asf-bz1-us-mid.priv.apache.org (ASF Mail Server at asf-bz1-us-mid.priv.apache.org, from userid 33) id 4F5DD60507; Thu, 1 Nov 2018 23:10:06 +0000 (UTC) From: bugzilla@apache.org To: dev@tomcat.apache.org Subject: [Bug 62871] JMX: ThreadPool.socketProperties is not Serializable Date: Thu, 01 Nov 2018 23:10:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat 8 X-Bugzilla-Component: Util X-Bugzilla-Version: 8.5.x-trunk X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: markt@apache.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@tomcat.apache.org X-Bugzilla-Target-Milestone: ---- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bz.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://bz.apache.org/bugzilla/show_bug.cgi?id=3D62871 Mark Thomas changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #2 from Mark Thomas --- The root cause is that the Endpoint (ThreadPool) MBeans are generated via introspection so it is non-trivial to filter out unwanted attributes and/or operations. If an mbeans-descriptors.xml was used, the filtering would be trivial as the entries could just be removed. There are a lot of attributes so manually generating the content for an mbeans-descriptors.xml file would be time consuming. I've created a tool to extract this data using the introspection code as a starting point: https://github.com/markt-asf/tomcat-bugs/blob/master/src/java/org/apache/to= mcat/MBeanDump.java That allowed me to easily create an mbeans-descriptors.xml file for the Endpoints which I then edited to remove the broken attributes and operation= s. I also added a SWocketProperties Mbean although that looks like it would bene= fit from some refactoring. Fixed in: - trunk for 9.0.13 onwards - 8.5.x for 8.5.35 onwards --=20 You are receiving this mail because: You are the assignee for the bug.= --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org