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 2015/07/12 00:00:05 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:
-------------------------------
Assignee: (was: Jean-Baptiste Onofré)
> 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é
> Priority: Minor
> 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.3.4#6332)