From owner-freebsd-java@FreeBSD.ORG Sat Feb 19 12:00:40 2005 Return-Path: Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 369E616A4CE for ; Sat, 19 Feb 2005 12:00:40 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E529743D5A for ; Sat, 19 Feb 2005 12:00:39 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j1JC0d5t088867 for ; Sat, 19 Feb 2005 12:00:39 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j1JC0dg2088866; Sat, 19 Feb 2005 12:00:39 GMT (envelope-from gnats) Resent-Date: Sat, 19 Feb 2005 12:00:39 GMT Resent-Message-Id: <200502191200.j1JC0dg2088866@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-java@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Anthony Ginepro Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E5FE16A4CE for ; Sat, 19 Feb 2005 11:56:27 +0000 (GMT) Received: from renaissance.homeip.net (m197.net81-67-151.noos.fr [81.67.151.197]) by mx1.FreeBSD.org (Postfix) with ESMTP id A88D343D45 for ; Sat, 19 Feb 2005 11:56:26 +0000 (GMT) (envelope-from rapiere@renaissance.homeip.net) Received: by renaissance.homeip.net (Postfix, from userid 1001) id 554DD2079; Sat, 19 Feb 2005 12:56:25 +0100 (CET) Message-Id: <20050219115625.554DD2079@renaissance.homeip.net> Date: Sat, 19 Feb 2005 12:56:25 +0100 (CET) From: Anthony Ginepro To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: java/77725: [PATCH] Java Management not working with jdk1.5.0-p1 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Anthony Ginepro List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2005 12:00:40 -0000 >Number: 77725 >Category: java >Synopsis: [PATCH] Java Management not working with jdk1.5.0-p1 >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-java >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Feb 19 12:00:39 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Anthony Ginepro >Release: FreeBSD 5.3-STABLE i386 >Organization: >Environment: System: FreeBSD renaissance.homeip.net 5.3-STABLE FreeBSD 5.3-STABLE #6: Thu Feb 17 18:58:50 CET 2005 rapiere@renaissance.homeip.net:/usr/obj/usr/src/sys/CUSTOM_20050210 i386 java version "1.5.0-p1" >Description: Launching tomcat 5.5 with "-Dcom.sun.management.jmxremote" and connecting to it with jconsole breaks jconsole. >How-To-Repeat: export JAVA_OPTS="-Dcom.sun.management.jmxremote" launch tomcat launch jconsole connect jconsole to tomcat's JVM >Fix: Apply following patch in order to fix missing symbol (typo) : --- work/j2se/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c.p1 Sat Feb 19 12:50:03 2005 +++ work/j2se/src/solaris/native/com/sun/management/UnixOperatingSystem_md.c Fri Feb 18 20:26:04 2005 @@ -283,7 +283,7 @@ mib[0] = CTL_HW; mib[1] = HW_PHYSMEM; - rlen = sizof(result); + rlen = sizeof(result); if (sysctl(mib, 2, &result, &rlen, NULL, 0) == -1) result = 256 * MB; >Release-Note: >Audit-Trail: >Unformatted: