You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/04/15 08:54:16 UTC

[jira] [Commented] (CAMEL-6279) camel-example-osgi-rmi failed

    [ https://issues.apache.org/jira/browse/CAMEL-6279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13631541#comment-13631541 ] 

Willem Jiang commented on CAMEL-6279:
-------------------------------------

I cannot reproduce this error.
Before running the client, you need to start the server by using "mvn camel:run" or deploying the bundle into Karaf.
                
> camel-example-osgi-rmi failed
> -----------------------------
>
>                 Key: CAMEL-6279
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6279
>             Project: Camel
>          Issue Type: Bug
>          Components: examples
>    Affects Versions: 2.11.0
>            Reporter: Christian Müller
>            Assignee: Willem Jiang
>             Fix For: 2.11.1, 2.12.0
>
>
> If the server is running and I start the client, I get the following exception:
> {noformat}
> cmueller$ mvn exec:java -PClient
> ...
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:java (default-cli) on project camel-example-osgi-rmi: An exception occured while executing the Java class. null: InvocationTargetException: Connection refused to host: localhost; nested exception is:
> [ERROR] java.net.ConnectException: Connection refused
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira