Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000411 [Resin] minor always 10-03-05 00:00 03-09-06 13:29
Reporter sergek View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.0.14
Summary 0000411: JDK 1.5 monitoring tools get ClassFormatError
Description RSN-457
The JDK 1.5/5.0 bundles various monitoring tools that used to be under the jvmstat program, e.g., jps, jstack, jconsole, jinfo, etc...

Many of these tools will not work or have limited use against a Resin instance and will spit out the following error...

[root@server] jps
25083 Jps
21746 Resin
[root@server] jinfo 21746
Attaching to process ID 21746, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 1.5.0_04-b05
Java System Properties:

Exception in thread "main" java.lang.ClassFormatError: Invalid method attribute
name index 0 in class file com/caucho/loader/EnvironmentProperties
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(
        at java.lang.ClassLoader.defineClass(
        at sun.jvm.hotspot.utilities.ProcImageClassLoader.findClass(
        at java.lang.ClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        at java.lang.ClassLoader.loadClassInternal(
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(
        at sun.jvm.hotspot.utilities.ObjectReader.readClass(
        at sun.jvm.hotspot.utilities.ObjectReader.readInstance(
        at sun.jvm.hotspot.utilities.ObjectReader.readObject(
        at sun.jvm.hotspot.runtime.VM$2.doOop(
        at sun.jvm.hotspot.oops.InstanceKlass.visitField(
        at sun.jvm.hotspot.oops.InstanceKlass.iterateFields(
        at sun.jvm.hotspot.oops.Oop.iterate(
        at sun.jvm.hotspot.runtime.VM.readSystemProperties(
        at sun.jvm.hotspot.runtime.VM.getSystemProperties(

Obviously this might be a bug in these tools, but it seems that something special is being done to that one Resin class, and perhaps if that could be worked around, it would be easier to use some free JDK-bundled tools on Resin.
Additional Information JDK 1.5.0_04 Linux i386 RHEL3
Attached Files

- Relationships

- Notes
03-09-06 13:29

See 0000151. The new environment-system-properties in 3.0.19 can be disabled to allow jinfo to work.

- Issue History
Date Modified Username Field Change
10-03-05 00:00 sergek New Issue
03-09-06 13:29 ferg Note Added: 0000926
03-09-06 13:29 ferg Assigned To  => ferg
03-09-06 13:29 ferg Status acknowledged => closed
03-09-06 13:29 ferg Resolution open => fixed
03-09-06 13:29 ferg Fixed in Version  => 3.0.19

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed.
27 unique queries executed.
Powered by Mantis Bugtracker