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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content