You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/05/04 10:24:16 UTC

[jira] [Updated] (CAMEL-4302) RMI endpoint should be able to create a RMI registry if it doesn't exist

     [ https://issues.apache.org/jira/browse/CAMEL-4302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-4302:
-------------------------------

    Fix Version/s:     (was: 2.12.4)
                       (was: 2.14.0)
                       (was: 2.13.1)
                   Future

> RMI endpoint should be able to create a RMI registry if it doesn't exist
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-4302
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4302
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-rmi
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: Future
>
>
> If you define a RMI endpoint like:
> <from uri="rmi://localhost:1299/net/nanthrax/test?remoteInterfaces=my.RemoteInterface"/>
> If a RMI registry is not already bound on port 1299, the RMI endpoint can't be registered:
> Caused by: java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
>         java.net.ConnectException: Connection refused
>         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:601)
>         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:198)
>         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:184)
>         at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:322)
>         at sun.rmi.registry.RegistryImpl_Stub.bind(Unknown Source)
> The RMI endpoint should be able to create a RMI registry on the given port if it doesn't exist.



--
This message was sent by Atlassian JIRA
(v6.2#6252)