Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5610

CNFE: org.apache.el.ExpressionFactoryImpl not found via camel-dozer

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: jboss-fuse-6.3
    • Component/s: Examples, SwitchYard
    • Labels:
      None

      Description

      It seems to be related to CAMEL-9921 fix, but not sure yet.

      12:33:57,883 | WARN  | yard Extender: 3 | camel                            | 306 - org.jboss.logging.jboss-logging - 3.3.0.Final | SWITCHYARD013201: Unable to set camel context configuration [name = org.switchya
      rd.camel.CamelContextConfigurationXML, value = META-INF/camel-context.xml] : org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: dozer://xml2json?mappingFile=transformation.xml&marshalId
      =transform-json&sourceModel=org.switchyard.quickstarts.transform.datamapper.abcorder.ABCOrder&targetModel=org.switchyard.quickstarts.transform.datamapper.xyzorder.XyzOrder&unmarshalId=abcorder due to: Unable to 
      find ExpressionFactory of type: org.apache.el.ExpressionFactoryImpl
      12:33:57,883 | DEBUG | yard Extender: 3 | CamelContextConfigurator         | 306 - org.jboss.logging.jboss-logging - 3.3.0.Final | null
      org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: dozer://xml2json?mappingFile=transformation.xml&marshalId=transform-json&sourceModel=org.switchyard.quickstarts.transform.datamapper.a
      bcorder.ABCOrder&targetModel=org.switchyard.quickstarts.transform.datamapper.xyzorder.XyzOrder&unmarshalId=abcorder due to: Unable to find ExpressionFactory of type: org.apache.el.ExpressionFactoryImpl
              at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:588)[234:org.apache.camel.camel-core:2.17.0.redhat-630075]
              at org.apache.camel.core.xml.AbstractCamelEndpointFactoryBean.getObject(AbstractCamelEndpointFactoryBean.java:55)[240:org.apache.camel.camel-spring:2.17.0.redhat-630075]
              at org.apache.camel.spring.CamelEndpointFactoryBean.getObject(CamelEndpointFactoryBean.java:55)[240:org.apache.camel.camel-spring:2.17.0.redhat-630075]
              at org.switchyard.common.camel.CamelContextFactoryBeanDelegate.importConfiguration(CamelContextFactoryBeanDelegate.java:91)[326:org.switchyard.switchyard-common-camel:2.1.0.redhat-SNAPSHOT]
              at org.switchyard.common.camel.CamelModelFactory.importCamelContextFactoryBean(CamelModelFactory.java:157)[326:org.switchyard.switchyard-common-camel:2.1.0.redhat-SNAPSHOT]
              at org.switchyard.common.camel.CamelContextConfigurator.configureCamelContextXML(CamelContextConfigurator.java:146)[326:org.switchyard.switchyard-common-camel:2.1.0.redhat-SNAPSHOT]
              at org.switchyard.common.camel.CamelContextConfigurator.configure(CamelContextConfigurator.java:112)[326:org.switchyard.switchyard-common-camel:2.1.0.redhat-SNAPSHOT]
              at org.switchyard.common.camel.CamelContextConfigurator.configure(CamelContextConfigurator.java:90)[326:org.switchyard.switchyard-common-camel:2.1.0.redhat-SNAPSHOT]
              at org.switchyard.common.camel.CamelContextConfigurator.configure(CamelContextConfigurator.java:79)[326:org.switchyard.switchyard-common-camel:2.1.0.redhat-SNAPSHOT]
              at org.switchyard.common.camel.SwitchYardCamelContextImpl.applyConfiguration(SwitchYardCamelContextImpl.java:194)[326:org.switchyard.switchyard-common-camel:2.1.0.redhat-SNAPSHOT]
              at org.switchyard.common.camel.SwitchYardCamelContextImpl.start(SwitchYardCamelContextImpl.java:166)[326:org.switchyard.switchyard-common-camel:2.1.0.redhat-SNAPSHOT]
              at org.switchyard.bus.camel.CamelExchangeBus.start(CamelExchangeBus.java:77)[325:org.switchyard.switchyard-bus-camel:2.1.0.redhat-SNAPSHOT]
              at org.switchyard.internal.DomainImpl.init(DomainImpl.java:216)[331:org.switchyard.switchyard-runtime:2.1.0.redhat-SNAPSHOT]
              at org.switchyard.deploy.osgi.internal.OsgiDomainManager.createDomain(OsgiDomainManager.java:68)[338:org.switchyard.karaf.switchyard-karaf-deploy:2.1.0.redhat-SNAPSHOT]
              at org.switchyard.deploy.osgi.internal.SwitchYardContainerImpl.doStart(SwitchYardContainerImpl.java:299)[338:org.switchyard.karaf.switchyard-karaf-deploy:2.1.0.redhat-SNAPSHOT]
              at org.switchyard.deploy.osgi.base.SimpleExtension.start(SimpleExtension.java:77)[338:org.switchyard.karaf.switchyard-karaf-deploy:2.1.0.redhat-SNAPSHOT]
              at org.switchyard.deploy.osgi.base.CompoundExtension.doStart(CompoundExtension.java:40)[338:org.switchyard.karaf.switchyard-karaf-deploy:2.1.0.redhat-SNAPSHOT]
              at org.switchyard.deploy.osgi.base.SimpleExtension.start(SimpleExtension.java:77)[338:org.switchyard.karaf.switchyard-karaf-deploy:2.1.0.redhat-SNAPSHOT]
              at org.switchyard.deploy.osgi.base.AbstractExtender$1.run(AbstractExtender.java:289)[338:org.switchyard.karaf.switchyard-karaf-deploy:2.1.0.redhat-SNAPSHOT]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_79]
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_79]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)[:1.7.0_79]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)[:1.7.0_79]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_79]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_79]
              at java.lang.Thread.run(Thread.java:745)[:1.7.0_79]
      Caused by: javax.el.ELException: Unable to find ExpressionFactory of type: org.apache.el.ExpressionFactoryImpl
              at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:165)[276:org.ops4j.pax.web.pax-web-jsp:4.2.6]
              at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:104)[276:org.ops4j.pax.web.pax-web-jsp:4.2.6]
              at org.dozer.loader.xml.ELEngine.<init>(ELEngine.java:43)[310:net.sf.dozer.dozer-osgi:5.5.1]
              at org.apache.camel.component.dozer.DozerEndpoint.initELEngine(DozerEndpoint.java:163)[351:org.apache.camel.camel-dozer:2.17.0.redhat-630075]
              at org.apache.camel.component.dozer.DozerEndpoint.initDozerBeanContainerAndMapper(DozerEndpoint.java:134)[351:org.apache.camel.camel-dozer:2.17.0.redhat-630075]
              at org.apache.camel.component.dozer.DozerEndpoint.doStart(DozerEndpoint.java:119)[351:org.apache.camel.camel-dozer:2.17.0.redhat-630075]
              at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)[234:org.apache.camel.camel-core:2.17.0.redhat-630075]
              at org.apache.camel.impl.DefaultCamelContext.startService(DefaultCamelContext.java:3275)[234:org.apache.camel.camel-core:2.17.0.redhat-630075]
              at org.apache.camel.impl.DefaultCamelContext.doAddService(DefaultCamelContext.java:1243)[234:org.apache.camel.camel-core:2.17.0.redhat-630075]
              at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1204)[234:org.apache.camel.camel-core:2.17.0.redhat-630075]
              at org.apache.camel.impl.DefaultCamelContext.addService(DefaultCamelContext.java:1200)[234:org.apache.camel.camel-core:2.17.0.redhat-630075]
              at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:584)[234:org.apache.camel.camel-core:2.17.0.redhat-630075]
              ... 25 more
      Caused by: java.lang.ClassNotFoundException: org.apache.el.ExpressionFactoryImpl not found by org.switchyard.quickstarts.switchyard.transform.datamapper [353]
              at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1556)[org.apache.felix.framework-4.4.1.jar:]
              at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)[org.apache.felix.framework-4.4.1.jar:]
              at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)[org.apache.felix.framework-4.4.1.jar:]
              at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_79]
              at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1853)[org.apache.felix.framework-4.4.1.jar:]
              at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:958)[org.apache.felix.framework-4.4.1.jar:]
              at org.apache.xbean.osgi.bundle.util.DelegatingBundle.loadClass(DelegatingBundle.java:170)[111:org.apache.xbean.bundleutils:4.5.0]
              at org.ops4j.pax.swissbox.core.BundleClassLoader.findClass(BundleClassLoader.java:176)[32:org.ops4j.pax.swissbox.core:1.8.2]
              at org.ops4j.pax.swissbox.core.BundleClassLoader.loadClass(BundleClassLoader.java:194)[32:org.ops4j.pax.swissbox.core:1.8.2]
              at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_79]
              at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:158)[276:org.ops4j.pax.web.pax-web-jsp:4.2.6]
              ... 36 more
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  igarashitm tomohisa igarashi
                  Reporter:
                  igarashitm tomohisa igarashi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: