Updating JBoss SOA-P 5.3.0 to 5.3.1 causes org.jboss.soa.esb.actions.ActionLifecycleException: org.apache.camel.RuntimeCamelException: org.apache.camel. TypeConverterLoaderException to be thrown

Solution Verified - Updated -

Issue

  • We are getting following exception when performing an upgrade:
Caused by: org.jboss.soa.esb.actions.ActionLifecycleException: org.apache.camel.RuntimeCamelException: org.apache.camel.
TypeConverterLoaderException: Failed to load type converters because of: Cannot find any type converter classes from the
 following packages: [org.milyn.smooks.camel.converters]
        at fi.logica.bis.heracles.esb.actions.AbstractAuditLoggingAction.initialise(AbstractAuditLoggingAction.java:102)

        at sun.reflect.GeneratedMethodAccessor410.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.jboss.soa.esb.configure.Configurator.invoke(Configurator.java:311)
        at org.jboss.soa.esb.configure.Configurator.initialise(Configurator.java:287)
        at org.jboss.soa.esb.listeners.message.BeanContainerAction.initialise(BeanContainerAction.java:158)
        at org.jboss.soa.esb.listeners.message.ActionProcessingPipeline.initialise(ActionProcessingPipeline.java:398)
        ... 89 more
Caused by: org.apache.camel.RuntimeCamelException: org.apache.camel.TypeConverterLoaderException: Failed to load type co
nverters because of: Cannot find any type converter classes from the following packages: [org.milyn.smooks.camel.convert
ers]
        at org.apache.camel.util.ObjectHelper.wrapRuntimeCamelException(ObjectHelper.java:1270)
        at org.apache.camel.impl.DefaultCamelContext.getTypeConverter(DefaultCamelContext.java:1057)
        at org.apache.camel.impl.DefaultCamelContext.getTypeConverterRegistry(DefaultCamelContext.java:1072)
        at fi.logica.bis.heracles.esb.actions.routing.output.HeraclesCamelOutputGateway.onInitialise(HeraclesCamelOutput
Gateway.java:37)
        at fi.logica.bis.heracles.esb.actions.AbstractAuditLoggingAction.initialise(AbstractAuditLoggingAction.java:99)
        ... 96 more
Caused by: org.apache.camel.TypeConverterLoaderException: Failed to load type converters because of: Cannot find any typ
e converter classes from the following packages: [org.milyn.smooks.camel.converters]
        at org.apache.camel.impl.converter.AnnotationTypeConverterLoader.load(AnnotationTypeConverterLoader.java:117)
        at org.apache.camel.impl.converter.BaseTypeConverterRegistry.loadTypeConverters(BaseTypeConverterRegistry.java:4
89)
        at org.apache.camel.impl.converter.DefaultTypeConverter.doStart(DefaultTypeConverter.java:42)
        at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:60)
        at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:1763)
        at org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamelContext.java:931)
        at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:892)
        at org.apache.camel.impl.DefaultCamelContext.getTypeConverter(DefaultCamelContext.java:1055)
        ... 99 more

The lines that cause the issue are:

        CamelContext camelContext = new DefaultCamelContext();
        camelContext.start();

Environment

  • JBoss Enterprise SOA Platform 5.3.1

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.