IBM Support

IV95331: HEALTHCENTER AGENT FAILS TO START WITH -XHEALTHCENTER JAVA COMMAND LINE OPTION

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: Mar 31, 2017 2:47:11 PM
    com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean
    <init>
    INFO: Agent version "3.0.11.20161017"
    Mar 31, 2017 2:47:11 PM
    com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean
    createJMXConnector
    INFO: IIOP will be listening on the next available system
    assigned port. Use
    com.ibm.java.diagnostics.healthcenter.agent.iiop.port to specify
    a port
    Mar 31, 2017 2:47:11 PM java.io.ObjectInputStream filterCheck
    INFO: ObjectInputFilter REJECTED: class javax.rmi.CORBA.Stub,
    array length: -1, nRefs: 5, depth: 2, bytes: 157, ex: n/a
    Mar 31, 2017 2:47:11 PM
    com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean
    createJMXConnector
    SEVERE: Health Center agent failed to start.
    java.io.IOException: Cannot bind to URL
    <OSB>rmi://localhost:1972/jmxrmi<CSB>
    .
    Stack Trace: java.io.IOException: Cannot bind to URL
    <OSB>rmi://localhost:1972/jmxrmi<CSB>:
    javax.naming.CommunicationException <OSB>Root exception is
    java.rmi.ServerException: RemoteException occurred in server
    thread; nested exception is:
        java.rmi.UnmarshalException: error unmarshalling arguments;
    nested exception is:
        java.io.InvalidClassException: filter status: REJECTED<CSB>
        at
    javax.management.remote.rmi.RMIConnectorServer.newIOException(RM
    IConnectorServer.java:838)
        at
    javax.management.remote.rmi.RMIConnectorServer.start(RMIConnecto
    rServer.java:443)
        at
    com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean.
    createJMXConnector(HCLaunchMBean.java:678)
        at
    com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean.
    startMBeanServer(HCLaunchMBean.java:462)
        at
    com.ibm.java.diagnostics.healthcenter.agent.mbean.HCLaunchMBean$
    JmxStarterThread.run(HCLaunchMBean.java:267)
    Caused by: javax.naming.CommunicationException <OSB>Root
    exception is java.rmi.ServerException: RemoteException occurred
    in server thread; nested exception is:
        java.rmi.UnmarshalException: error unmarshalling arguments;
    nested exception is:
        java.io.InvalidClassException: filter status: REJECTED<CSB>
        at
    com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.j
    ava:173)
        at
    com.sun.jndi.toolkit.url.GenericURLContext.bind(GenericURLContex
    t.java:240)
        at javax.naming.InitialContext.bind(InitialContext.java:436)
        at
    javax.management.remote.rmi.RMIConnectorServer.bind(RMIConnector
    Server.java:655)
        at
    javax.management.remote.rmi.RMIConnectorServer.start(RMIConnecto
    rServer.java:438)
        ... 3 more
    Caused by: java.rmi.ServerException: RemoteException occurred in
    server thread; nested exception is:
        java.rmi.UnmarshalException: error unmarshalling arguments;
    nested exception is:
        java.io.InvalidClassException: filter status: REJECTED
        at
    sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.jav
    a:477)
        at
    sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:3
    11)
        at sun.rmi.transport.Transport$1.run(Transport.java:212)
        at sun.rmi.transport.Transport$1.run(Transport.java:209)
        at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:686)
        at
    sun.rmi.transport.Transport.serviceCall(Transport.java:208)
        at
    sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.j
    ava:580)
        at
    sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTra
    nsport.java:838)
        at
    sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$
    0(TCPTransport.java:695)
        at
    sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$7.0
    0000000AC0030F0.run(Unknown Source)
        at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:620)
        at
    sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTran
    sport.java:694)
        at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec
    utor.java:1153)
        at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe
    cutor.java:628)
        at java.lang.Thread.run(Thread.java:785)
        at
    sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(S
    treamRemoteCall.java:288)
        at
    sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.
    java:265)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:391)
        at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
        at
    com.sun.jndi.rmi.registry.RegistryContext.bind(RegistryContext.j
    ava:167)
        ... 7 more
    Caused by: java.rmi.UnmarshalException: error unmarshalling
    arguments; nested exception is:
        java.io.InvalidClassException: filter status: REJECTED
        at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown
    Source)
        at
    sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.jav
    a:467)
        at
    sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:3
    11)
        at sun.rmi.transport.Transport$1.run(Transport.java:212)
        at sun.rmi.transport.Transport$1.run(Transport.java:209)
        at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:686)
        at
    sun.rmi.transport.Transport.serviceCall(Transport.java:208)
        at
    sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.j
    ava:580)
        at
    sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTra
    nsport.java:838)
        at
    sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$
    0(TCPTransport.java:695)
        at
    sun.rmi.transport.tcp.TCPTransport$ConnectionHandler$$Lambda$7.0
    0000000AC0030F0.run(Unknown Source)
        at
    java.security.AccessController.doPrivileged(AccessController.jav
    a:620)
        at
    sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTran
    sport.java:694)
        at
    java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec
    utor.java:1153)
        at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExe
    cutor.java:628)
        at java.lang.Thread.run(Thread.java:785)
    Caused by: java.io.InvalidClassException: filter status:
    REJECTED
        at
    java.io.ObjectInputStream.filterCheck(ObjectInputStream.java:139
    3)
        at
    java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.jav
    a:1986)
        at
    java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1
    862)
        at
    java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.jav
    a:1993)
        at
    java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1
    862)
        at
    java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.j
    ava:2152)
        at
    java.io.ObjectInputStream.readObject0(ObjectInputStream.java:168
    4)
        at
    java.io.ObjectInputStream.readObjectImpl(ObjectInputStream.java:
    531)
        at
    java.io.ObjectInputStream.readObject(ObjectInputStream.java:466)
        ... 16 more
    .
    

Local fix

  • Add -Dsun.rmi.registry.registryFilter=javax.rmi.CORBA.Stub to
    java command line option along with -Xhealthcenter
    or
    Update JAVA_HOME/jre/lib/security/java.security file to add
    "sun.rmi.registry.registryFilter=javax.rmi.CORBA.Stub"
    

Problem summary

  • The problem is caused because javax.rmi.CORBA.Stub is not added
    to in-built rmi registry whitelist.
    

Problem conclusion

  • The JVM has been updated to add javax.rmi.CORBA.Stub to rmi
    registry whitelist.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR4 FP5   (8.0.4.5)
       6 R1 SR8 FP45  (6.1.8.45)
       6    SR16 FP45 (6.0.16.45)
       7    SR10 FP5  (7.0.10.5)
       7 R1 SR4 FP5   (7.1.4.5)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV95331

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-04-21

  • Closed date

    2017-04-21

  • Last modified date

    2017-04-21

  • 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

  • R800 PSY

       UP

  • R600 PSY

       UP

  • R700 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Java Class Libraries

Software version: 800

Reference #: IV95331

Modified date: 21 April 2017