camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (CAMEL-4302) RMI endpoint should be able to create a RMI registry if it doesn't exist
Date Fri, 21 Mar 2014 15:02:47 GMT

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

Jean-Baptiste Onofré reassigned CAMEL-4302:
-------------------------------------------

    Assignee: 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é
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.12.4, 2.13.1, 2.14.0
>
>
> 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)

Mime
View raw message