java/77725: [PATCH] Java Management not working with jdk1.5.0-p1
Anthony Ginepro
anthony.ginepro at laposte.net
Sat Feb 19 04:00:40 PST 2005
>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 at 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:
More information about the freebsd-java
mailing list