IBM Support

IV42366: JCMD INVOCATION WILL THROW EXCEPTION IBM JDK7 PACKAGE

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Error Message: java.lang.ClassCastException:
    ibm.tools.attach.J9VirtualMachine incompatible with
    sun.tools.attach.HotSpotVirtualMachine
    at sun.tools.jcmd.JCmd.executeCommandForPid(JCmd.java:156)
    at sun.tools.jcmd.JCmd.main(JCmd.java:141)
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • JCmd was introduced by Oracle with 7u4 specifically written for
    Hotspot JVM. This tool have JVM internal dependency and need to
    be supported by IBM J9 VM as most of the functionality like to
    query JVM state, GC state, running thread information etc need
    IBM J9VM specific support.
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR5
    .
    JCmd tool is currently being removed from IBM JDK7 package. This
    tool will be introduced back into IBM JDK7 package while the
    tools gets specifically implemented for IBM J9 JVM.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV42366

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    700

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-05-11

  • Closed date

    2013-05-13

  • Last modified date

    2013-05-25

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R700 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Java Class Libraries

Software version: 700

Reference #: IV42366

Modified date: 25 May 2013