Running a camel blueprint.xml fails with the java.rmi.AlreadyBoundException: jmxrmi/camel

Solution In Progress - Updated -

Issue

  • If I run a camel blueprint.xml couple of times as a Local Camel Context (without tests) - it fails with the java.rmi.AlreadyBoundException: jmxrmi/camel. I have to restart the JBoss Dev Studio to bypass the issue.

  • When I run the code I get Cannot bind to URL [rmi://localhost:1099/jmxrmi/camel]: javax.naming.NameAlreadyBoundException in local Eclipse environment.

Environment

  • Red Hat JBoss Fuse 6.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.