java.io.IOException

Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: non-JRMP server at remote endpoint]

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web24932

  • via Coderanch by Georg Joo, 7 months ago
    Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: non-JRMP server at remote endpoint]
  • Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: non-JRMP server at remote endpoint]
  • Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: non-JRMP server at remote endpoint]
  • Stack trace

    • java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.CommunicationException [Root exception is java.rmi.ConnectIOException: non-JRMP server at remote endpoint] at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:369)[na:1.8.0_45] at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)[na:1.8.0_45] at kafka.manager.jmx.KafkaJMX$.doWithConnection(KafkaJMX.scala:50)[kafka-manager.kafka-manager-1.3.0.8.1-sans-externalized.jar:na] at kafka.manager.actor.cluster.BrokerViewCacheActor$$anonfun$kafka$manager$actor$cluster$BrokerViewCacheActor$$updateBrokerMetrics$1$$anonfun$apply$27$$anonfun$apply$3.apply$mcV$sp(BrokerViewCacheActor.scala:358)[kafka-manager.kafka-manager-1.3.0.8.1-sans-externalized.jar:na] at kafka.manager.actor.cluster.BrokerViewCacheActor$$anonfun$kafka$manager$actor$cluster$BrokerViewCacheActor$$updateBrokerMetrics$1$$anonfun$apply$27$$anonfun$apply$3.apply(BrokerViewCacheActor.scala:355)[kafka-manager.kafka-manager-1.3.0.8.1-sans-externalized.jar:na] at kafka.manager.actor.cluster.BrokerViewCacheActor$$anonfun$kafka$manager$actor$cluster$BrokerViewCacheActor$$updateBrokerMetrics$1$$anonfun$apply$27$$anonfun$apply$3.apply(BrokerViewCacheActor.scala:355)[kafka-manager.kafka-manager-1.3.0.8.1-sans-externalized.jar:na] at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24)[org.scala-lang.scala-library-2.11.7.jar:na] at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24)[org.scala-lang.scala-library-2.11.7.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_45] Caused by: javax.naming.CommunicationException: null at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:122)[na:1.8.0_45] at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:205)[na:1.8.0_45] at javax.naming.InitialContext.lookup(InitialContext.java:417)[na:1.8.0_45] at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1957)[na:1.8.0_45] at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1924)[na:1.8.0_45] at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:287)[na:1.8.0_45] at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270)[na:1.8.0_45] at kafka.manager.jmx.KafkaJMX$.doWithConnection(KafkaJMX.scala:50)[kafka-manager.kafka-manager-1.3.0.8.1-sans-externalized.jar:na] at kafka.manager.actor.cluster.BrokerViewCacheActor$$anonfun$kafka$manager$actor$cluster$BrokerViewCacheActor$$updateBrokerMetrics$1$$anonfun$apply$27$$anonfun$apply$3.apply$mcV$sp(BrokerViewCacheActor.scala:358)[kafka-manager.kafka-manager-1.3.0.8.1-sans-externalized.jar:na] at kafka.manager.actor.cluster.BrokerViewCacheActor$$anonfun$kafka$manager$actor$cluster$BrokerViewCacheActor$$updateBrokerMetrics$1$$anonfun$apply$27$$anonfun$apply$3.apply(BrokerViewCacheActor.scala:355)[kafka-manager.kafka-manager-1.3.0.8.1-sans-externalized.jar:na] Caused by: java.rmi.ConnectIOException: non-JRMP server at remote endpoint at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:248)[na:1.8.0_45] at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)[na:1.8.0_45] at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:342)[na:1.8.0_45] at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)[na:1.8.0_45] at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:118)[na:1.8.0_45] at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:205)[na:1.8.0_45] at javax.naming.InitialContext.lookup(InitialContext.java:417)[na:1.8.0_45] at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1957)[na:1.8.0_45] at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1924)[na:1.8.0_45] at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:287)[na:1.8.0_45]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 2 years ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    2 more bugmates