1 Reply Latest reply on Sep 9, 2011 1:02 AM by Willem Jiang

    ClassNotFoundException: CamelVelocityClasspathResourceLoader

    Lekan Omotayo Expert

      Hi all,

       

      I am trying to run use velocity endpoint on Fuse SMX 4.4 and I got this error:

       

      09:49:43,778 | VelocityEndpoint                 | 62 - org.apache.servicemix.bundles.velocity - 1.7.0.1 | Problem instantiating the template loader: org.apache.camel.component.velocity.CamelVelocityClasspathResourceLoader.

      Look at your properties file and make sure the

      name of the template loader is correct.

      java.lang.ClassNotFoundException: org.apache.camel.component.velocity.CamelVelocityClasspathResourceLoader not found by org.apache.servicemix.bundles.velocity

           at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812)

           at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72)

           at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1806)

           at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_21-ea]

           at java.lang.Class.forName0(Native Method)[:1.6.0_21-ea]

           at java.lang.Class.forName(Class.java:169)[:1.6.0_21-ea]

           at org.apache.velocity.util.ClassUtils.getClass(ClassUtils.java:86)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.util.ClassUtils.getNewInstance(ClassUtils.java:105)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory.getLoader(ResourceLoaderFactory.java:46)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(ResourceManagerImpl.java:130)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager(RuntimeInstance.java:730)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:263)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:646)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:116)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.camel.component.velocity.VelocityEndpoint.getVelocityEngine(VelocityEndpoint.java:96)[318:org.apache.camel.camel-velocity:2.7.1.fuse-00-43]

           at org.apache.camel.component.velocity.VelocityEndpoint.onExchange(VelocityEndpoint.java:188)[318:org.apache.camel.camel-velocity:2.7.1.fuse-00-43]

           at org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:72)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:104)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:272)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:174)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.fabric.FabricTraceProcessor.process(FabricTraceProcessor.java:70)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:314)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:209)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:269)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline.process(Pipeline.java:125)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler.deliverToFailureProcessor(RedeliveryErrorHandler.java:654)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:257)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:209)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:269)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline.process(Pipeline.java:125)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline.access$100(Pipeline.java:43)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:143)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DefaultChannel$1.done(DefaultChannel.java:275)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:326)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java:83)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:156)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DefaultChannel$1.done(DefaultChannel.java:275)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:326)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java:83)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.component.jms.reply.ReplyManagerSupport.processReply(ReplyManagerSupport.java:150)[91:org.apache.camel.camel-jms:2.7.1.fuse-00-43]

           at org.apache.camel.component.jms.reply.TemporaryQueueReplyHandler.onReply(TemporaryQueueReplyHandler.java:52)[91:org.apache.camel.camel-jms:2.7.1.fuse-00-43]

           at org.apache.camel.component.jms.reply.TemporaryQueueReplyManager.handleReplyMessage(TemporaryQueueReplyManager.java:64)[91:org.apache.camel.camel-jms:2.7.1.fuse-00-43]

           at org.apache.camel.component.jms.reply.ReplyManagerSupport.onMessage(ReplyManagerSupport.java:110)[91:org.apache.camel.camel-jms:2.7.1.fuse-00-43]

           at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)[92:org.springframework.jms:3.0.5.RELEASE]

           at java.lang.Thread.run(Thread.java:619)[:1.6.0_21-ea]

      09:49:43,794 | DefaultErrorHandler              | 77 - org.apache.camel.camel-core - 2.7.1.fuse-00-43 | Failed delivery for exchangeId: ID:TestESB-4047-1315464089423-32:16:1:1:1. Exhausted after delivery attempt: 1 caught: org.apache.velocity.exception.VelocityException: Problem instantiating the template loader: org.apache.camel.component.velocity.CamelVelocityClasspathResourceLoader.

      Look at your properties file and make sure the

      name of the template loader is correct.

      org.apache.velocity.exception.VelocityException: Problem instantiating the template loader: org.apache.camel.component.velocity.CamelVelocityClasspathResourceLoader.

      Look at your properties file and make sure the

      name of the template loader is correct.

           at org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory.getLoader(ResourceLoaderFactory.java:60)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(ResourceManagerImpl.java:130)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager(RuntimeInstance.java:730)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:263)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:646)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:116)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.camel.component.velocity.VelocityEndpoint.getVelocityEngine(VelocityEndpoint.java:96)[318:org.apache.camel.camel-velocity:2.7.1.fuse-00-43]

           at org.apache.camel.component.velocity.VelocityEndpoint.onExchange(VelocityEndpoint.java:188)[318:org.apache.camel.camel-velocity:2.7.1.fuse-00-43]

           at org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:72)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:104)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:272)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:174)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.fabric.FabricTraceProcessor.process(FabricTraceProcessor.java:70)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:314)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:209)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:269)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline.process(Pipeline.java:125)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler.deliverToFailureProcessor(RedeliveryErrorHandler.java:654)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:257)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:209)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:269)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline.process(Pipeline.java:125)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline.access$100(Pipeline.java:43)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:143)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DefaultChannel$1.done(DefaultChannel.java:275)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:326)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java:83)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:156)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DefaultChannel$1.done(DefaultChannel.java:275)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:326)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java:83)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.component.jms.reply.ReplyManagerSupport.processReply(ReplyManagerSupport.java:150)[91:org.apache.camel.camel-jms:2.7.1.fuse-00-43]

           at org.apache.camel.component.jms.reply.TemporaryQueueReplyHandler.onReply(TemporaryQueueReplyHandler.java:52)[91:org.apache.camel.camel-jms:2.7.1.fuse-00-43]

           at org.apache.camel.component.jms.reply.TemporaryQueueReplyManager.handleReplyMessage(TemporaryQueueReplyManager.java:64)[91:org.apache.camel.camel-jms:2.7.1.fuse-00-43]

           at org.apache.camel.component.jms.reply.ReplyManagerSupport.onMessage(ReplyManagerSupport.java:110)[91:org.apache.camel.camel-jms:2.7.1.fuse-00-43]

           at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)[92:org.springframework.jms:3.0.5.RELEASE]

           at java.lang.Thread.run(Thread.java:619)[:1.6.0_21-ea]

      Caused by: java.lang.ClassNotFoundException: org.apache.camel.component.velocity.CamelVelocityClasspathResourceLoader not found by org.apache.servicemix.bundles.velocity

           at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812)

           at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72)

           at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1806)

           at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_21-ea]

           at java.lang.Class.forName0(Native Method)[:1.6.0_21-ea]

           at java.lang.Class.forName(Class.java:169)[:1.6.0_21-ea]

           at org.apache.velocity.util.ClassUtils.getClass(ClassUtils.java:86)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.util.ClassUtils.getNewInstance(ClassUtils.java:105)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory.getLoader(ResourceLoaderFactory.java:46)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           ... 57 more

      09:49:43,794 | JmsMessageListenerContainer      | 92 - org.springframework.jms - 3.0.5.RELEASE | Execution of JMS message listener failed, and no ErrorHandler has been set.

      org.apache.camel.RuntimeCamelException: org.apache.velocity.exception.VelocityException: Problem instantiating the template loader: org.apache.camel.component.velocity.CamelVelocityClasspathResourceLoader.

      Look at your properties file and make sure the

      name of the template loader is correct.

           at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1139)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:122)[91:org.apache.camel.camel-jms:2.7.1.fuse-00-43]

           at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)[92:org.springframework.jms:3.0.5.RELEASE]

           at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_21-ea]

           at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_21-ea]

           at java.lang.Thread.run(Thread.java:619)[:1.6.0_21-ea]

      Caused by: org.apache.velocity.exception.VelocityException: Problem instantiating the template loader: org.apache.camel.component.velocity.CamelVelocityClasspathResourceLoader.

      Look at your properties file and make sure the

      name of the template loader is correct.

           at org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory.getLoader(ResourceLoaderFactory.java:60)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.runtime.resource.ResourceManagerImpl.initialize(ResourceManagerImpl.java:130)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.runtime.RuntimeInstance.initializeResourceManager(RuntimeInstance.java:730)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:263)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:646)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:116)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.camel.component.velocity.VelocityEndpoint.getVelocityEngine(VelocityEndpoint.java:96)[318:org.apache.camel.camel-velocity:2.7.1.fuse-00-43]

           at org.apache.camel.component.velocity.VelocityEndpoint.onExchange(VelocityEndpoint.java:188)[318:org.apache.camel.camel-velocity:2.7.1.fuse-00-43]

           at org.apache.camel.impl.ProcessorEndpoint$1.process(ProcessorEndpoint.java:72)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:104)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:272)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.interceptor.TraceInterceptor.process(TraceInterceptor.java:174)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.fabric.FabricTraceProcessor.process(FabricTraceProcessor.java:70)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:314)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:209)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:269)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline.process(Pipeline.java:125)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline.process(Pipeline.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler.deliverToFailureProcessor(RedeliveryErrorHandler.java:654)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler.processErrorHandler(RedeliveryErrorHandler.java:257)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:209)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DefaultChannel.process(DefaultChannel.java:269)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:80)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline.process(Pipeline.java:125)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline.access$100(Pipeline.java:43)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:143)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DefaultChannel$1.done(DefaultChannel.java:275)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:326)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java:83)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.Pipeline$1.done(Pipeline.java:156)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.DefaultChannel$1.done(DefaultChannel.java:275)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.processor.RedeliveryErrorHandler$1.done(RedeliveryErrorHandler.java:326)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.management.InstrumentationProcessor$1.done(InstrumentationProcessor.java:83)[77:org.apache.camel.camel-core:2.7.1.fuse-00-43]

           at org.apache.camel.component.jms.reply.ReplyManagerSupport.processReply(ReplyManagerSupport.java:150)[91:org.apache.camel.camel-jms:2.7.1.fuse-00-43]

           at org.apache.camel.component.jms.reply.TemporaryQueueReplyHandler.onReply(TemporaryQueueReplyHandler.java:52)[91:org.apache.camel.camel-jms:2.7.1.fuse-00-43]

           at org.apache.camel.component.jms.reply.TemporaryQueueReplyManager.handleReplyMessage(TemporaryQueueReplyManager.java:64)[91:org.apache.camel.camel-jms:2.7.1.fuse-00-43]

           at org.apache.camel.component.jms.reply.ReplyManagerSupport.onMessage(ReplyManagerSupport.java:110)[91:org.apache.camel.camel-jms:2.7.1.fuse-00-43]

           at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:560)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:498)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:467)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:325)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:263)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:1058)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:1050)[92:org.springframework.jms:3.0.5.RELEASE]

           at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:947)[92:org.springframework.jms:3.0.5.RELEASE]

           ... 1 more

      Caused by: java.lang.ClassNotFoundException: org.apache.camel.component.velocity.CamelVelocityClasspathResourceLoader not found by org.apache.servicemix.bundles.velocity

           at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:812)

           at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72)

           at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1806)

           at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_21-ea]

           at java.lang.Class.forName0(Native Method)[:1.6.0_21-ea]

           at java.lang.Class.forName(Class.java:169)[:1.6.0_21-ea]

           at org.apache.velocity.util.ClassUtils.getClass(ClassUtils.java:86)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.util.ClassUtils.getNewInstance(ClassUtils.java:105)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           at org.apache.velocity.runtime.resource.loader.ResourceLoaderFactory.getLoader(ResourceLoaderFactory.java:46)[62:org.apache.servicemix.bundles.velocity:1.7.0.1]

           ... 57 more

      09:49:43,809 | TemporaryQueueReplyManager       | 91 - org.apache.camel.camel-jms - 2.7.1.fuse-00-43 | Reply received for unknown correlationID ID:TestESB-4047-1315464089423-32:16:1:1:1 -> ActiveMQTextMessage {commandId = 65, responseRequired = true, messageId = ID:TestESB-4047-1315464089423-6:1:15:1:1, originalDestination = null, originalTransactionId = null, producerId = ID:TestESB-4047-1315464089423-6:1:15:1, destination = temp-queue://ID:TestESB-4047-1315464089423-44:1:1, transactionId = null, expiration = 0, timestamp = 1315471783731, arrival = 0, brokerInTime = 1315471783731, brokerOutTime = 1315471783731, correlationId = ID:TestESB-4047-1315464089423-32:16:1:1:1, replyTo = temp-queue://ID:TestESB-4047-1315464089423-44:1:1, persistent = true, type = null, priority = 9, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = null, marshalledProperties = org.apache.activemq.util.ByteSequence@97aa4b, dataStructure = null, redeliveryCounter = 0, size = 0, properties = {hosturl=http://172.25.20.21:8080/, GemaltoPassword=password1, ResponseCode=1, GemaltoUsername=admin, CamelBeanMethodName=process, Server=[Apache-Coyote/1.1], ResponseMessage=axstatus=ERROR,axerrormsg="Insufficient privilege to perform requested action.",axerrorcode=100001, RESPONSE_CODE=200, JMSXGroupFirstForConsumer=true, userID=card_51, Set_HYPHEN_Cookie=[JSESSIONID=ABBBE69F4129D3FA534774F9BA1ACA5C; Path=/saserver], Date=[Thu, 08 Sep 2011 08:49:43 GMT], apps=/saserver/api/auth/logout, service=gemaltoSa, PIN=?, CamelJmsDeliveryMode=2}, readOnlyProperties = true, readOnlyBody = true, droppable = false, text = }

       

       

      What could be the problem?