Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4920147

JSR160 - Unexpected javax.management.remote.generic.ConnectionClosedException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.0
    • 1.0
    • core-svc
    • None
    • 1.0
    • unknown
    • generic
    • Verified

      b28

      That problem is responsible for some test case(s) of the TCK test api/javax/management/remote/loading/optional/index.html#JmxmpClientDefaultClassLoaderTest to fail.
      The error is not solid as it seems linked to race conditions.
      Has been seen failing on a Sparc dual processors (U60) system.

      Got unexpected exception: javax.management.remote.generic.ConnectionClosedException: The connection has been closed by the server.
      javax.management.remote.generic.ConnectionClosedException: The connection has been closed by the server.
      at com.sun.jmx.remote.generic.SynchroMessageConnectionImpl.connect(SynchroMessageConnectionImpl.java:94)
      at javax.management.remote.generic.GenericConnector.reconnect(GenericConnector.java:695)
      at javax.management.remote.generic.ClientIntermediary$GenericClientCommunicatorAdmin.doStart(ClientIntermediary.java:787)
      at com.sun.jmx.remote.opt.internal.ClientCommunicatorAdmin.restart(ClientCommunicatorAdmin.java:118)
      at com.sun.jmx.remote.opt.internal.ClientCommunicatorAdmin.gotIOException(ClientCommunicatorAdmin.java:39)
      at javax.management.remote.generic.GenericConnector$RequestHandler.execute(GenericConnector.java:602)
      at com.sun.jmx.remote.generic.SynchroMessageConnectionImpl$RemoteJob.run(SynchroMessageConnectionImpl.java:448)
      at com.sun.jmx.remote.util.ThreadService$ThreadServiceJob.run(ThreadService.java:199)
      at com.sun.jmx.remote.util.JobExecutor.run(JobExecutor.java:60)
      JMXConnectorFactory0004: Failed. Got unexpected exception: javax.management.remote.generic.ConnectionClosedException: The connection has been closed by the server.


      ###@###.### 2003-09-15 {
      Update using delivery b29.
      The exception is the same but the stack not :

      Sep 15, 2003 1:26:48 AM GenericConnectorServer ClientCreation.run
      SEVERE: Failed to open connection: java.io.IOException: Unexpected message: javax.management.remote.message.MBeanServerRequestMessage
      Sep 15, 2003 1:26:48 AM ClientCommunicatorAdmin restart
      SEVERE: Failed to restart.
      java.io.IOException: Unexpected message: javax.management.remote.message.MBeanServerRequestMessage
      at com.sun.jmx.remote.security.AdminClient.connectionOpen(AdminClient.java:178)
      at javax.management.remote.generic.GenericConnector.reconnect(GenericConnector.java:693)
      at javax.management.remote.generic.ClientIntermediary$GenericClientCommunicatorAdmin.doStart(ClientIntermediary.java:787)
      at com.sun.jmx.remote.opt.internal.ClientCommunicatorAdmin.restart(ClientCommunicatorAdmin.java:101)
      at com.sun.jmx.remote.opt.internal.ClientCommunicatorAdmin.gotIOException(ClientCommunicatorAdmin.java:37)
      at javax.management.remote.generic.GenericConnector$RequestHandler.execute(GenericConnector.java:601)
      at com.sun.jmx.remote.generic.SynchroMessageConnectionImpl$RemoteJob.run(SynchroMessageConnectionImpl.java:501)
      at com.sun.jmx.remote.util.ThreadService$ThreadServiceJob.run(ThreadService.java:199)
      at com.sun.jmx.remote.util.JobExecutor.run(JobExecutor.java:60)
      java.io.IOException:
      at javax.management.remote.generic.GenericConnector$RequestHandler.execute(GenericConnector.java:601)
      at com.sun.jmx.remote.generic.SynchroMessageConnectionImpl$RemoteJob.run(SynchroMessageConnectionImpl.java:501)
      at com.sun.jmx.remote.util.ThreadService$ThreadServiceJob.run(ThreadService.java:199)
      at com.sun.jmx.remote.util.JobExecutor.run(JobExecutor.java:60)
      Got unexpected exception: javax.management.remote.generic.ConnectionClosedException: The connection has been closed by the server.
      javax.management.remote.generic.ConnectionClosedException: The connection has been closed by the server.
      at com.sun.jmx.remote.generic.SynchroMessageConnectionImpl.close(SynchroMessageConnectionImpl.java:343)
      at javax.management.remote.generic.GenericConnector.close(GenericConnector.java:270)
      at javax.management.remote.generic.GenericConnector.access$200(GenericConnector.java:65)
      at javax.management.remote.generic.GenericConnector$RequestHandler.execute(GenericConnector.java:612)
      at com.sun.jmx.remote.generic.SynchroMessageConnectionImpl$RemoteJob.run(SynchroMessageConnectionImpl.java:501)
      at com.sun.jmx.remote.util.ThreadService$ThreadServiceJob.run(ThreadService.java:199)
      at com.sun.jmx.remote.util.JobExecutor.run(JobExecutor.java:60)
      JMXConnectorFactory0006: Failed. Got unexpected exception: javax.management.remote.generic.ConnectionClosedException: The connection has been closed by the server.
      }

            sjiang Shanliang Jiang (Inactive)
            yjoan Yves Joan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: