users@glassfish.java.net

Re: NoSuchMethodException Error on GF 3.1.1 on IBM PPC AIX with J9 JVM

From: Tom Mueller <tom.mueller_at_oracle.com>
Date: Thu, 29 Sep 2011 12:48:55 -0500

This fix that was checked in for issue 16574 was to put an "if
(!OS.isAix())" block around the code that calls the
getTotalPhysicalMemorySize method. Essentially, this eliminates the
exception message in the log, and causes the physical memory size to not
be available on AIX.

If you have build 12, I'm curious as to why you are seeing this since
you should have the fix.

Tom

On 9/29/2011 10:39 AM, Pete Helgren wrote:
> I am getting a java.lang.NoSuchMethodException:
> com.ibm.lang.management.OperatingSystemMXBeanImpl.getTotalPhysicalMemorySize()
> error on a Glassfish 3.1.1 (build 12). In searching for a solution, it
> looks like this was fixed in build 5 (
> http://java.net/jira/browse/GLASSFISH-16574 )
>
> Running AIX 5L™ 5.3, Technology Level 6 with the following JVM:
>
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build
> pap3260sr8ifix-20100709_01(SR8+IZ75061))
> IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 OS/400 ppc-32
> jvmap3260sr8-20100412 (JIT enabled, AOT enabled)
> J9VM - 20100401_055940
> JIT - r9_20100401_15339
> GC - 20100308_AA)
> JCL - 20100405_01
>
> Curious as to what the fix was and whether there is a workaround for
> the SEVERE error thrown by GF.
>
> Thanks
>