Camel Route throws a NoClassDefFoundError and camel context suddenly disappears

Solution Unverified - Updated -

Issue

Camel Route throws a NoClassDefFoundError and camel context suddenly disappears.

2013-04-03 15:34:20,093 | WARN | tenerContainer-1 | DefaultMessageListenerContainer | 84 - org.springframework.jms - 2.5.6.SEC01 | Execution of JMS message listener failed
java.lang.NoClassDefFoundError: Lorg/apache/activemq/broker/region/Destination;
    at java.lang.Class.getDeclaredFields0(Native Method)[:1.6.0_29]
    at java.lang.Class.privateGetDeclaredFields(Class.java:2291)[:1.6.0_29]
    at java.lang.Class.getDeclaredFields(Class.java:1743)[:1.6.0_29]
    at org.apache.activemq.util.IntrospectionSupport.addFields(IntrospectionSupport.java:307)
    at org.apache.activemq.util.IntrospectionSupport.addFields(IntrospectionSupport.java:304)
    at org.apache.activemq.util.IntrospectionSupport.addFields(IntrospectionSupport.java:304)
    at org.apache.activemq.util.IntrospectionSupport.toString(IntrospectionSupport.java:251)
    at org.apache.activemq.command.BaseCommand.toString(BaseCommand.java:69)
    at org.apache.activemq.command.Message.toString(Message.java:729)
    at org.apache.activemq.command.ActiveMQTextMessage.toString(ActiveMQTextMessage.java:160)
    at java.lang.String.valueOf(String.java:2826)[:1.6.0_29]

Environment

  • Fuse ESB Enterprise 7.1.x
  • JBoss Fuse ESB 6.0.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