Date: Sat, 19 Feb 2005 12:56:25 +0100 (CET) From: Anthony Ginepro <anthony.ginepro@laposte.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: java/77725: [PATCH] Java Management not working with jdk1.5.0-p1 Message-ID: <20050219115625.554DD2079@renaissance.homeip.net> Resent-Message-ID: <200502191200.j1JC0dg2088866@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050219115625.554DD2079>