When you say you've installed it manually, does this mean you didn't use the Camel features file? If so, please double check if you have all required bundles installed. FOP requires quite a few dependencies. See the camel-fop feature: https://github.com/apache/camel/blob/master/platforms/karaf/features/src/main/resources/features.xml#L287
Regards, Richard http://richardlog.com On Mon, Mar 24, 2014 at 3:24 PM, Laurentiu Trica < laurentiu.tr...@moredevs.ro> wrote: > Hello, > > Nobody used this? Please help me if you can. > > Regards, > Laurentiu > > > On Thu, Mar 13, 2014 at 2:24 PM, Laurentiu Trica < > laurentiu.tr...@moredevs.ro> wrote: > > > Hello, > > > > I'm trying to use Camel FOP component in Servicemix 4.5.3. > > I manually installed Apache XMLGraphics bundle and Commons.io, but I get > > this error when deploying a route: > > > > 2014-03-13 14:21:36,564 | ERROR | ExtenderThread-6 | > ContextLoaderListener > > | 82 - org.springframework.osgi.extender - 1.2.1 | Application > > context refresh failed > > (OsgiBundleXmlApplicationContext(bundle=camel-context-fop.xml, > > config=osgibundle:/META-INF/spring/*.xml)) > > java.lang.NoClassDefFoundError: org/apache/fop/apps/FopFactory > > at org.apache.camel.component.fop.FopEndpoint.<init>(FopEndpoint.java:44) > > at > > > org.apache.camel.component.fop.FopComponent.createEndpoint(FopComponent.java:31) > > at > > > org.apache.camel.impl.DefaultComponent.createEndpoint(DefaultComponent.java:91) > > at > > > org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:470) > > at > > > org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint(CamelContextHelper.java:50) > > at > > > org.apache.camel.model.RouteDefinition.resolveEndpoint(RouteDefinition.java:187) > > at > > > org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:108) > > at > > > org.apache.camel.impl.DefaultRouteContext.resolveEndpoint(DefaultRouteContext.java:114) > > at > > > org.apache.camel.model.SendDefinition.resolveEndpoint(SendDefinition.java:61) > > at > > > org.apache.camel.model.SendDefinition.createProcessor(SendDefinition.java:55) > > at > > > org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:461) > > at > > > org.apache.camel.model.ProcessorDefinition.addRoutes(ProcessorDefinition.java:179) > > at > > > org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:876) > > at > > > org.apache.camel.model.RouteDefinition.addRoutes(RouteDefinition.java:172) > > at > > > org.apache.camel.impl.DefaultCamelContext.startRoute(DefaultCamelContext.java:732) > > at > > > org.apache.camel.impl.DefaultCamelContext.startRouteDefinitions(DefaultCamelContext.java:1814) > > at > > > org.apache.camel.impl.DefaultCamelContext.doStartCamel(DefaultCamelContext.java:1600) > > at > > > org.apache.camel.impl.DefaultCamelContext.doStart(DefaultCamelContext.java:1475) > > at > > > org.apache.camel.spring.SpringCamelContext.doStart(SpringCamelContext.java:179) > > at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61) > > at > > > org.apache.camel.impl.DefaultCamelContext.start(DefaultCamelContext.java:1443) > > at > > > org.apache.camel.spring.SpringCamelContext.maybeStart(SpringCamelContext.java:228) > > at > > > org.apache.camel.spring.SpringCamelContext.onApplicationEvent(SpringCamelContext.java:118) > > at > > > org.apache.camel.spring.CamelContextFactoryBean.onApplicationEvent(CamelContextFactoryBean.java:285) > > at > > > org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:97)[73:org.springframework.context:3.0.7.RELEASE] > > at > > > org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)[73:org.springframework.context:3.0.7.RELEASE] > > at > > > org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)[73:org.springframework.context:3.0.7.RELEASE] > > at > > > org.springframework.osgi.context.support.AbstractOsgiBundleApplicationContext.finishRefresh(AbstractOsgiBundleApplicationContext.java:235)[79:org.springframework.osgi.core:1.2.1] > > at > > > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:358)[79:org.springframework.osgi.core:1.2.1] > > at > > > org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[79:org.springframework.osgi.core:1.2.1] > > at > > > org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[79:org.springframework.osgi.core:1.2.1] > > at > > > org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[82:org.springframework.osgi.extender:1.2.1] > > at java.lang.Thread.run(Thread.java:744)[:1.7.0_51] > > > > Any help is very much appreciated! > > Laurentiu > > > > > > On Fri, Feb 14, 2014 at 6:56 PM, Maruan Sahyoun <sahy...@fileaffairs.de > >wrote: > > > >> Hi, > >> > >> it worked for me in Karaf. I can't say anything about ServiceMix as I'm > >> not using it. > >> > >> BR > >> Maruan Sahyoun > >> > >> Am 13.02.2014 um 20:26 schrieb subrata.sar...@oup.com: > >> > >> > Hi Maruan, > >> > > >> > Could you please guide me in this? Is this now working in SMX 4.5.3. > >> Can you > >> > send me a sample? > >> > > >> > Thanks > >> > > >> > > >> > > >> > -- > >> > View this message in context: > >> > http://camel.465427.n5.nabble.com/Apache-Karaf-and-camel-fop-tp5719011p5747274.html > >> > Sent from the Camel - Users mailing list archive at Nabble.com. > >> > >> >