You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Maruan Sahyoun <sa...@fileaffairs.de> on 2012/09/10 10:38:45 UTC
Apache Karaf and camel-fop
Hi,
I'm trying to use camel-fop from within Apache Karaf. But I'm getting an error message about a missing class
Caused by: java.lang.NoClassDefFoundError: org/apache/xmlgraphics/image/loader/ImageContext
Apache Karaf is 2.29
Apache Camel is 2.10.0 (I also tried 2.10.1)
features installed are camel-core, camel-blueprint, camel-fop
Did anyone experience the same issue?
Thanks for your help
Maureen
Re: Apache Karaf and camel-fop
Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
done . see SMX4-1249Today 12:25
With kind regards
Maruan Sahyoun
Am 26.09.2012 um 12:56 schrieb Babak Vahdat <ba...@swissonline.ch>:
>
>
> Am 26.09.12 11:15 schrieb "Maruan Sahyoun" unter <sa...@fileaffairs.de>:
>
>> Hi there,
>>
>> it seems that the META-INF/services entries of fop
>> (http://svn.apache.org/viewvc/xmlgraphics/fop/tags/fop-1_0/src/java/META-I
>> NF/services/) are missing in the ServiceMix bundle. Is there a way to get
>> these entries in?
>
> Hi,
>
> Well spotted. While ago we realized the same problem with another SMX
> bundle (for Saxon). Would you mind to raise a ticket for this?
>
> https://issues.apache.org/jira/browse/SMX4
>
> Babak
>
>>
>> With kind regards.
>>
>> Maruan Sahyoun
>>
>
>
Re: Apache Karaf and camel-fop
Posted by Babak Vahdat <ba...@swissonline.ch>.
Am 26.09.12 11:15 schrieb "Maruan Sahyoun" unter <sa...@fileaffairs.de>:
>Hi there,
>
>it seems that the META-INF/services entries of fop
>(http://svn.apache.org/viewvc/xmlgraphics/fop/tags/fop-1_0/src/java/META-I
>NF/services/) are missing in the ServiceMix bundle. Is there a way to get
>these entries in?
Hi,
Well spotted. While ago we realized the same problem with another SMX
bundle (for Saxon). Would you mind to raise a ticket for this?
https://issues.apache.org/jira/browse/SMX4
Babak
>
>With kind regards.
>
>Maruan Sahyoun
>
Re: Apache Karaf and camel-fop
Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
Hi there,
it seems that the META-INF/services entries of fop (http://svn.apache.org/viewvc/xmlgraphics/fop/tags/fop-1_0/src/java/META-INF/services/) are missing in the ServiceMix bundle. Is there a way to get these entries in?
With kind regards.
Maruan Sahyoun
Re: Apache Karaf and camel-fop
Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
quick update on the topic as part of my conversation on the fop mailing list.
Q:
If I understood you correctly a) fop won't work without modifications in an OSGI environment and b) there is no quick fix to resolve that. Is that correct?
A:
yes, that's about it. You could combine XGC, Batik and FOP to one OSGi
bundle (if you're careful about merging all META-INF/services files) and
just add OSGi metadata. That could avoid the plug-in detection problems.
As I already tested the ServiceMix bundle it might be worth reviewing how that was build as there might be an issue with that.
Maruan
Re: Apache Karaf and camel-fop
Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
as a quick update - I asked on the fop mailing list about the state of Apache fop and OSGI before further digging into the issue
Maruan
Re: Apache Karaf and camel-fop
Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
Hi Charles,
thanks for giving me that hint. I now installed xmlgraphics-commons as well as commons-io but now when fop is trying to process the input file no renderer is found
java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer could be found for this output format.
at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:361)[72:org.apache.servicemix.bundles.fop:1.0.0.2]
Something else missing?
With kind regards
Maruan Sahyoun
Am 10.09.2012 um 13:12 schrieb Charles Moulliard:
> Hi,
>
> Have you deployed the bundle of Apache XMLGraphics ?
>
> Regards,
>
> Charles
>
> On Mon, Sep 10, 2012 at 10:38 AM, Maruan Sahyoun <sa...@fileaffairs.de>wrote:
>
>> Hi,
>>
>> I'm trying to use camel-fop from within Apache Karaf. But I'm getting an
>> error message about a missing class
>> Caused by: java.lang.NoClassDefFoundError:
>> org/apache/xmlgraphics/image/loader/ImageContext
>>
>> Apache Karaf is 2.29
>> Apache Camel is 2.10.0 (I also tried 2.10.1)
>>
>> features installed are camel-core, camel-blueprint, camel-fop
>>
>> Did anyone experience the same issue?
>>
>> Thanks for your help
>>
>> Maureen
>>
>>
>
>
> --
> Charles Moulliard
> Apache Committer / Sr. Pr. Consultant at FuseSource.com
> Twitter : @cmoulliard
> Blog : http://cmoulliard.blogspot.com
Re: Apache Karaf and camel-fop
Posted by Laurentiu Trica <la...@finalfolder.biz>.
Hi Richard,
I did install Camel Fop using the Camel features command in Service Mix:
features:install camel-fop
And then I manually installed the Apache XMLGraphics bundle and Commons.io
because otherwise the route would complain about the missing dependencies.
I don't get this: installing using features:install shouldn't automatically
add any required dependencies? It seems odd to have to install dozens of
bundles in order to run FOP in Camel.
Thank you!
Laurentiu
On Tue, Mar 25, 2014 at 9:47 AM, Richard Kettelerij <
richardkettelerij@gmail.com> wrote:
> 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.trica@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.trica@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 <
> sahyoun@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.sarkar@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.
> > >>
> > >>
> >
>
Re: Apache Karaf and camel-fop
Posted by Richard Kettelerij <ri...@gmail.com>.
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.trica@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.trica@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 <sahyoun@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.sarkar@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.
> >>
> >>
>
Re: Apache Karaf and camel-fop
Posted by Laurentiu Trica <la...@moredevs.ro>.
Hello,
Nobody used this? Please help me if you can.
Regards,
Laurentiu
On Thu, Mar 13, 2014 at 2:24 PM, Laurentiu Trica <
laurentiu.trica@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 <sa...@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.sarkar@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.
>>
>>
Re: Apache Karaf and camel-fop
Posted by Laurentiu Trica <la...@moredevs.ro>.
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 <sa...@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.sarkar@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.
>
>
Re: Apache Karaf and camel-fop
Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
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.sarkar@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.
Re: Apache Karaf and camel-fop
Posted by "subrata.sarkar@oup.com" <su...@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.
Re: Apache Karaf and camel-fop
Posted by Babak Vahdat <ba...@swissonline.ch>.
Am 03.01.2013 um 18:41 schrieb Maruan Sahyoun <sa...@fileaffairs.de>:
> as a quick update - using the latest ServiceMix Bundles I was able to successfully use camel and camel-fop within Karaf.
>
Hi
Thanks for the update.
Babak
> Thanks for fixing the SMX bundles and making that possible.
>
> Maruan
>
> Am 15.09.2012 um 08:55 schrieb Maruan Sahyoun <sa...@fileaffairs.de>:
>
>> Hi Claus,
>>
>> thanks for your reply and your input. I'll try to come up with a solution, maybe a quick workaround to start with, and post my findings.
>>
>> Maruan Sahyoun
>>
>> Am 15.09.2012 um 08:32 schrieb Claus Ibsen <cl...@gmail.com>:
>>
>>> On Fri, Sep 14, 2012 at 9:41 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
>>>> I should have mentioned that I did as you suggested using features:install for camel and camel-fop (as well as camel-blueprint etc.)
>>>
>>> Yeah I am not sure what to do than other than digging into it, there
>>> may be some of the OSGi bundles that needs to have their MANIFEST.MF
>>> files tweaked to get them working properly.
>>>
>>> But also the FOP library itself may do some class-loading tricks that
>>> don't work well with OSGi. And then its often harder to get working.
>>>
>>> Another approach that people have done is to put together an uber JAR
>>> with all the smaller JARs and then deploy that (for example with wrap)
>>> then that seems to work. Although that goes against the idea of OSGi
>>> modularity and bundles a bit.
>>>
>>> And possibly there may be FAB which could make it work. For example
>>> people using Hibernate get this working much easier with FAB;
>>> Hibernate being one of the toughest piece to get working with OSGi.
>>> http://www.davsclaus.com/2012/08/osgi-deployment-made-easy-with-fab.html
>>>
>>> At the Apache communities we love help and contributions, so if you
>>> got the need and time for FOP, then we would love help with getting
>>> the camel-fop feature to run out of the box in the Apache products.
>>>
>>>>
>>>>
>>>> Am 14.09.2012 um 09:36 schrieb Claus Ibsen:
>>>>
>>>>> Hi
>>>>>
>>>>> If you use Karaf / SMX then there is a camel-fop feature you can use
>>>>> to install. That is the recommended approach for installing Camel
>>>>> components.
>>>>>
>>>>> features:install camel
>>>>> features:install camel-fop
>>>>>
>>>>> Though the camel-fop feature may not yet 100% work. As you say below,
>>>>> classloading from non-OSGi friendly JARs is not easy to get working
>>>>> seamless with OSGi.
>>>>>
>>>>>
>>>>> On Fri, Sep 14, 2012 at 9:32 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
>>>>>> I installed the dependencies via osgi:install from that repository which enabled the Camel route to deploy (defined via Blueprint xml). But when I tried to submit data I got the error
>>>>>>
>>>>>> java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer could be found for this output format.
>>>>>> at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:361)[72:org.apache.servicemix.bundles.fop:1.0.0.2]
>>>>>>
>>>>>> So I think it doesn't find the Renderers. As far as I understand the mechanism fop is using for getting it's renderers it depends on Java class loading.
>>>>>>
>>>>>> Maruan
>>>>>>
>>>>>>
>>>>>> Am 14.09.2012 um 09:24 schrieb Claus Ibsen:
>>>>>>
>>>>>>> On Fri, Sep 14, 2012 at 9:19 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
>>>>>>>> OK - some further testing shows that camel-fop works fine if you run camel standalone. So the issue is when running inside an OSGI container. I'll do some more investigation. Is there someone around using camel-fop inside Karaf or ServiceMix? Any hints?
>>>>>>>>
>>>>>>>> Thanks for all the help so far. I'm very glad that I found Camel - nice piece of software and very helpful community.
>>>>>>>
>>>>>>> I think some of the FOP JARs and its dependencies is being created as
>>>>>>> OSGi wrapped bundles, which will get published to the maven repo at
>>>>>>> http://repo2.maven.org/maven2/org/apache/servicemix/bundles/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>> Maruan Sahyoun
>>>>>>>>
>>>>>>>>
>>>>>>>> Am 10.09.2012 um 13:12 schrieb Charles Moulliard:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Have you deployed the bundle of Apache XMLGraphics ?
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>>
>>>>>>>>> Charles
>>>>>>>>>
>>>>>>>>> On Mon, Sep 10, 2012 at 10:38 AM, Maruan Sahyoun <sa...@fileaffairs.de>wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I'm trying to use camel-fop from within Apache Karaf. But I'm getting an
>>>>>>>>>> error message about a missing class
>>>>>>>>>> Caused by: java.lang.NoClassDefFoundError:
>>>>>>>>>> org/apache/xmlgraphics/image/loader/ImageContext
>>>>>>>>>>
>>>>>>>>>> Apache Karaf is 2.29
>>>>>>>>>> Apache Camel is 2.10.0 (I also tried 2.10.1)
>>>>>>>>>>
>>>>>>>>>> features installed are camel-core, camel-blueprint, camel-fop
>>>>>>>>>>
>>>>>>>>>> Did anyone experience the same issue?
>>>>>>>>>>
>>>>>>>>>> Thanks for your help
>>>>>>>>>>
>>>>>>>>>> Maureen
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Charles Moulliard
>>>>>>>>> Apache Committer / Sr. Pr. Consultant at FuseSource.com
>>>>>>>>> Twitter : @cmoulliard
>>>>>>>>> Blog : http://cmoulliard.blogspot.com
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Claus Ibsen
>>>>>>> -----------------
>>>>>>> FuseSource
>>>>>>> Email: cibsen@fusesource.com
>>>>>>> Web: http://fusesource.com
>>>>>>> Twitter: davsclaus, fusenews
>>>>>>> Blog: http://davsclaus.com
>>>>>>> Author of Camel in Action: http://www.manning.com/ibsen
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Claus Ibsen
>>>>> -----------------
>>>>> FuseSource
>>>>> Email: cibsen@fusesource.com
>>>>> Web: http://fusesource.com
>>>>> Twitter: davsclaus, fusenews
>>>>> Blog: http://davsclaus.com
>>>>> Author of Camel in Action: http://www.manning.com/ibsen
>>>
>>>
>>>
>>> --
>>> Claus Ibsen
>>> -----------------
>>> FuseSource
>>> Email: cibsen@fusesource.com
>>> Web: http://fusesource.com
>>> Twitter: davsclaus, fusenews
>>> Blog: http://davsclaus.com
>>> Author of Camel in Action: http://www.manning.com/ibsen
>
Re: Apache Karaf and camel-fop
Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
as a quick update - using the latest ServiceMix Bundles I was able to successfully use camel and camel-fop within Karaf.
Thanks for fixing the SMX bundles and making that possible.
Maruan
Am 15.09.2012 um 08:55 schrieb Maruan Sahyoun <sa...@fileaffairs.de>:
> Hi Claus,
>
> thanks for your reply and your input. I'll try to come up with a solution, maybe a quick workaround to start with, and post my findings.
>
> Maruan Sahyoun
>
> Am 15.09.2012 um 08:32 schrieb Claus Ibsen <cl...@gmail.com>:
>
>> On Fri, Sep 14, 2012 at 9:41 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
>>> I should have mentioned that I did as you suggested using features:install for camel and camel-fop (as well as camel-blueprint etc.)
>>>
>>
>> Yeah I am not sure what to do than other than digging into it, there
>> may be some of the OSGi bundles that needs to have their MANIFEST.MF
>> files tweaked to get them working properly.
>>
>> But also the FOP library itself may do some class-loading tricks that
>> don't work well with OSGi. And then its often harder to get working.
>>
>> Another approach that people have done is to put together an uber JAR
>> with all the smaller JARs and then deploy that (for example with wrap)
>> then that seems to work. Although that goes against the idea of OSGi
>> modularity and bundles a bit.
>>
>> And possibly there may be FAB which could make it work. For example
>> people using Hibernate get this working much easier with FAB;
>> Hibernate being one of the toughest piece to get working with OSGi.
>> http://www.davsclaus.com/2012/08/osgi-deployment-made-easy-with-fab.html
>>
>> At the Apache communities we love help and contributions, so if you
>> got the need and time for FOP, then we would love help with getting
>> the camel-fop feature to run out of the box in the Apache products.
>>
>>>
>>>
>>> Am 14.09.2012 um 09:36 schrieb Claus Ibsen:
>>>
>>>> Hi
>>>>
>>>> If you use Karaf / SMX then there is a camel-fop feature you can use
>>>> to install. That is the recommended approach for installing Camel
>>>> components.
>>>>
>>>> features:install camel
>>>> features:install camel-fop
>>>>
>>>> Though the camel-fop feature may not yet 100% work. As you say below,
>>>> classloading from non-OSGi friendly JARs is not easy to get working
>>>> seamless with OSGi.
>>>>
>>>>
>>>> On Fri, Sep 14, 2012 at 9:32 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
>>>>> I installed the dependencies via osgi:install from that repository which enabled the Camel route to deploy (defined via Blueprint xml). But when I tried to submit data I got the error
>>>>>
>>>>> java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer could be found for this output format.
>>>>> at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:361)[72:org.apache.servicemix.bundles.fop:1.0.0.2]
>>>>>
>>>>> So I think it doesn't find the Renderers. As far as I understand the mechanism fop is using for getting it's renderers it depends on Java class loading.
>>>>>
>>>>> Maruan
>>>>>
>>>>>
>>>>> Am 14.09.2012 um 09:24 schrieb Claus Ibsen:
>>>>>
>>>>>> On Fri, Sep 14, 2012 at 9:19 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
>>>>>>> OK - some further testing shows that camel-fop works fine if you run camel standalone. So the issue is when running inside an OSGI container. I'll do some more investigation. Is there someone around using camel-fop inside Karaf or ServiceMix? Any hints?
>>>>>>>
>>>>>>> Thanks for all the help so far. I'm very glad that I found Camel - nice piece of software and very helpful community.
>>>>>>>
>>>>>>
>>>>>> I think some of the FOP JARs and its dependencies is being created as
>>>>>> OSGi wrapped bundles, which will get published to the maven repo at
>>>>>> http://repo2.maven.org/maven2/org/apache/servicemix/bundles/
>>>>>>
>>>>>>
>>>>>>
>>>>>>> Maruan Sahyoun
>>>>>>>
>>>>>>>
>>>>>>> Am 10.09.2012 um 13:12 schrieb Charles Moulliard:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Have you deployed the bundle of Apache XMLGraphics ?
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> Charles
>>>>>>>>
>>>>>>>> On Mon, Sep 10, 2012 at 10:38 AM, Maruan Sahyoun <sa...@fileaffairs.de>wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I'm trying to use camel-fop from within Apache Karaf. But I'm getting an
>>>>>>>>> error message about a missing class
>>>>>>>>> Caused by: java.lang.NoClassDefFoundError:
>>>>>>>>> org/apache/xmlgraphics/image/loader/ImageContext
>>>>>>>>>
>>>>>>>>> Apache Karaf is 2.29
>>>>>>>>> Apache Camel is 2.10.0 (I also tried 2.10.1)
>>>>>>>>>
>>>>>>>>> features installed are camel-core, camel-blueprint, camel-fop
>>>>>>>>>
>>>>>>>>> Did anyone experience the same issue?
>>>>>>>>>
>>>>>>>>> Thanks for your help
>>>>>>>>>
>>>>>>>>> Maureen
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Charles Moulliard
>>>>>>>> Apache Committer / Sr. Pr. Consultant at FuseSource.com
>>>>>>>> Twitter : @cmoulliard
>>>>>>>> Blog : http://cmoulliard.blogspot.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Claus Ibsen
>>>>>> -----------------
>>>>>> FuseSource
>>>>>> Email: cibsen@fusesource.com
>>>>>> Web: http://fusesource.com
>>>>>> Twitter: davsclaus, fusenews
>>>>>> Blog: http://davsclaus.com
>>>>>> Author of Camel in Action: http://www.manning.com/ibsen
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Claus Ibsen
>>>> -----------------
>>>> FuseSource
>>>> Email: cibsen@fusesource.com
>>>> Web: http://fusesource.com
>>>> Twitter: davsclaus, fusenews
>>>> Blog: http://davsclaus.com
>>>> Author of Camel in Action: http://www.manning.com/ibsen
>>>
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> FuseSource
>> Email: cibsen@fusesource.com
>> Web: http://fusesource.com
>> Twitter: davsclaus, fusenews
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
Re: Apache Karaf and camel-fop
Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
Hi Claus,
thanks for your reply and your input. I'll try to come up with a solution, maybe a quick workaround to start with, and post my findings.
Maruan Sahyoun
Am 15.09.2012 um 08:32 schrieb Claus Ibsen <cl...@gmail.com>:
> On Fri, Sep 14, 2012 at 9:41 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
>> I should have mentioned that I did as you suggested using features:install for camel and camel-fop (as well as camel-blueprint etc.)
>>
>
> Yeah I am not sure what to do than other than digging into it, there
> may be some of the OSGi bundles that needs to have their MANIFEST.MF
> files tweaked to get them working properly.
>
> But also the FOP library itself may do some class-loading tricks that
> don't work well with OSGi. And then its often harder to get working.
>
> Another approach that people have done is to put together an uber JAR
> with all the smaller JARs and then deploy that (for example with wrap)
> then that seems to work. Although that goes against the idea of OSGi
> modularity and bundles a bit.
>
> And possibly there may be FAB which could make it work. For example
> people using Hibernate get this working much easier with FAB;
> Hibernate being one of the toughest piece to get working with OSGi.
> http://www.davsclaus.com/2012/08/osgi-deployment-made-easy-with-fab.html
>
> At the Apache communities we love help and contributions, so if you
> got the need and time for FOP, then we would love help with getting
> the camel-fop feature to run out of the box in the Apache products.
>
>>
>>
>> Am 14.09.2012 um 09:36 schrieb Claus Ibsen:
>>
>>> Hi
>>>
>>> If you use Karaf / SMX then there is a camel-fop feature you can use
>>> to install. That is the recommended approach for installing Camel
>>> components.
>>>
>>> features:install camel
>>> features:install camel-fop
>>>
>>> Though the camel-fop feature may not yet 100% work. As you say below,
>>> classloading from non-OSGi friendly JARs is not easy to get working
>>> seamless with OSGi.
>>>
>>>
>>> On Fri, Sep 14, 2012 at 9:32 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
>>>> I installed the dependencies via osgi:install from that repository which enabled the Camel route to deploy (defined via Blueprint xml). But when I tried to submit data I got the error
>>>>
>>>> java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer could be found for this output format.
>>>> at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:361)[72:org.apache.servicemix.bundles.fop:1.0.0.2]
>>>>
>>>> So I think it doesn't find the Renderers. As far as I understand the mechanism fop is using for getting it's renderers it depends on Java class loading.
>>>>
>>>> Maruan
>>>>
>>>>
>>>> Am 14.09.2012 um 09:24 schrieb Claus Ibsen:
>>>>
>>>>> On Fri, Sep 14, 2012 at 9:19 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
>>>>>> OK - some further testing shows that camel-fop works fine if you run camel standalone. So the issue is when running inside an OSGI container. I'll do some more investigation. Is there someone around using camel-fop inside Karaf or ServiceMix? Any hints?
>>>>>>
>>>>>> Thanks for all the help so far. I'm very glad that I found Camel - nice piece of software and very helpful community.
>>>>>>
>>>>>
>>>>> I think some of the FOP JARs and its dependencies is being created as
>>>>> OSGi wrapped bundles, which will get published to the maven repo at
>>>>> http://repo2.maven.org/maven2/org/apache/servicemix/bundles/
>>>>>
>>>>>
>>>>>
>>>>>> Maruan Sahyoun
>>>>>>
>>>>>>
>>>>>> Am 10.09.2012 um 13:12 schrieb Charles Moulliard:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Have you deployed the bundle of Apache XMLGraphics ?
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Charles
>>>>>>>
>>>>>>> On Mon, Sep 10, 2012 at 10:38 AM, Maruan Sahyoun <sa...@fileaffairs.de>wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I'm trying to use camel-fop from within Apache Karaf. But I'm getting an
>>>>>>>> error message about a missing class
>>>>>>>> Caused by: java.lang.NoClassDefFoundError:
>>>>>>>> org/apache/xmlgraphics/image/loader/ImageContext
>>>>>>>>
>>>>>>>> Apache Karaf is 2.29
>>>>>>>> Apache Camel is 2.10.0 (I also tried 2.10.1)
>>>>>>>>
>>>>>>>> features installed are camel-core, camel-blueprint, camel-fop
>>>>>>>>
>>>>>>>> Did anyone experience the same issue?
>>>>>>>>
>>>>>>>> Thanks for your help
>>>>>>>>
>>>>>>>> Maureen
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Charles Moulliard
>>>>>>> Apache Committer / Sr. Pr. Consultant at FuseSource.com
>>>>>>> Twitter : @cmoulliard
>>>>>>> Blog : http://cmoulliard.blogspot.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Claus Ibsen
>>>>> -----------------
>>>>> FuseSource
>>>>> Email: cibsen@fusesource.com
>>>>> Web: http://fusesource.com
>>>>> Twitter: davsclaus, fusenews
>>>>> Blog: http://davsclaus.com
>>>>> Author of Camel in Action: http://www.manning.com/ibsen
>>>>
>>>
>>>
>>>
>>> --
>>> Claus Ibsen
>>> -----------------
>>> FuseSource
>>> Email: cibsen@fusesource.com
>>> Web: http://fusesource.com
>>> Twitter: davsclaus, fusenews
>>> Blog: http://davsclaus.com
>>> Author of Camel in Action: http://www.manning.com/ibsen
>>
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: cibsen@fusesource.com
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
Re: Apache Karaf and camel-fop
Posted by Claus Ibsen <cl...@gmail.com>.
On Fri, Sep 14, 2012 at 9:41 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
> I should have mentioned that I did as you suggested using features:install for camel and camel-fop (as well as camel-blueprint etc.)
>
Yeah I am not sure what to do than other than digging into it, there
may be some of the OSGi bundles that needs to have their MANIFEST.MF
files tweaked to get them working properly.
But also the FOP library itself may do some class-loading tricks that
don't work well with OSGi. And then its often harder to get working.
Another approach that people have done is to put together an uber JAR
with all the smaller JARs and then deploy that (for example with wrap)
then that seems to work. Although that goes against the idea of OSGi
modularity and bundles a bit.
And possibly there may be FAB which could make it work. For example
people using Hibernate get this working much easier with FAB;
Hibernate being one of the toughest piece to get working with OSGi.
http://www.davsclaus.com/2012/08/osgi-deployment-made-easy-with-fab.html
At the Apache communities we love help and contributions, so if you
got the need and time for FOP, then we would love help with getting
the camel-fop feature to run out of the box in the Apache products.
>
>
> Am 14.09.2012 um 09:36 schrieb Claus Ibsen:
>
>> Hi
>>
>> If you use Karaf / SMX then there is a camel-fop feature you can use
>> to install. That is the recommended approach for installing Camel
>> components.
>>
>> features:install camel
>> features:install camel-fop
>>
>> Though the camel-fop feature may not yet 100% work. As you say below,
>> classloading from non-OSGi friendly JARs is not easy to get working
>> seamless with OSGi.
>>
>>
>> On Fri, Sep 14, 2012 at 9:32 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
>>> I installed the dependencies via osgi:install from that repository which enabled the Camel route to deploy (defined via Blueprint xml). But when I tried to submit data I got the error
>>>
>>> java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer could be found for this output format.
>>> at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:361)[72:org.apache.servicemix.bundles.fop:1.0.0.2]
>>>
>>> So I think it doesn't find the Renderers. As far as I understand the mechanism fop is using for getting it's renderers it depends on Java class loading.
>>>
>>> Maruan
>>>
>>>
>>> Am 14.09.2012 um 09:24 schrieb Claus Ibsen:
>>>
>>>> On Fri, Sep 14, 2012 at 9:19 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
>>>>> OK - some further testing shows that camel-fop works fine if you run camel standalone. So the issue is when running inside an OSGI container. I'll do some more investigation. Is there someone around using camel-fop inside Karaf or ServiceMix? Any hints?
>>>>>
>>>>> Thanks for all the help so far. I'm very glad that I found Camel - nice piece of software and very helpful community.
>>>>>
>>>>
>>>> I think some of the FOP JARs and its dependencies is being created as
>>>> OSGi wrapped bundles, which will get published to the maven repo at
>>>> http://repo2.maven.org/maven2/org/apache/servicemix/bundles/
>>>>
>>>>
>>>>
>>>>> Maruan Sahyoun
>>>>>
>>>>>
>>>>> Am 10.09.2012 um 13:12 schrieb Charles Moulliard:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Have you deployed the bundle of Apache XMLGraphics ?
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> Charles
>>>>>>
>>>>>> On Mon, Sep 10, 2012 at 10:38 AM, Maruan Sahyoun <sa...@fileaffairs.de>wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I'm trying to use camel-fop from within Apache Karaf. But I'm getting an
>>>>>>> error message about a missing class
>>>>>>> Caused by: java.lang.NoClassDefFoundError:
>>>>>>> org/apache/xmlgraphics/image/loader/ImageContext
>>>>>>>
>>>>>>> Apache Karaf is 2.29
>>>>>>> Apache Camel is 2.10.0 (I also tried 2.10.1)
>>>>>>>
>>>>>>> features installed are camel-core, camel-blueprint, camel-fop
>>>>>>>
>>>>>>> Did anyone experience the same issue?
>>>>>>>
>>>>>>> Thanks for your help
>>>>>>>
>>>>>>> Maureen
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Charles Moulliard
>>>>>> Apache Committer / Sr. Pr. Consultant at FuseSource.com
>>>>>> Twitter : @cmoulliard
>>>>>> Blog : http://cmoulliard.blogspot.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Claus Ibsen
>>>> -----------------
>>>> FuseSource
>>>> Email: cibsen@fusesource.com
>>>> Web: http://fusesource.com
>>>> Twitter: davsclaus, fusenews
>>>> Blog: http://davsclaus.com
>>>> Author of Camel in Action: http://www.manning.com/ibsen
>>>
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> FuseSource
>> Email: cibsen@fusesource.com
>> Web: http://fusesource.com
>> Twitter: davsclaus, fusenews
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
>
--
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Re: Apache Karaf and camel-fop
Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
I should have mentioned that I did as you suggested using features:install for camel and camel-fop (as well as camel-blueprint etc.)
Am 14.09.2012 um 09:36 schrieb Claus Ibsen:
> Hi
>
> If you use Karaf / SMX then there is a camel-fop feature you can use
> to install. That is the recommended approach for installing Camel
> components.
>
> features:install camel
> features:install camel-fop
>
> Though the camel-fop feature may not yet 100% work. As you say below,
> classloading from non-OSGi friendly JARs is not easy to get working
> seamless with OSGi.
>
>
> On Fri, Sep 14, 2012 at 9:32 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
>> I installed the dependencies via osgi:install from that repository which enabled the Camel route to deploy (defined via Blueprint xml). But when I tried to submit data I got the error
>>
>> java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer could be found for this output format.
>> at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:361)[72:org.apache.servicemix.bundles.fop:1.0.0.2]
>>
>> So I think it doesn't find the Renderers. As far as I understand the mechanism fop is using for getting it's renderers it depends on Java class loading.
>>
>> Maruan
>>
>>
>> Am 14.09.2012 um 09:24 schrieb Claus Ibsen:
>>
>>> On Fri, Sep 14, 2012 at 9:19 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
>>>> OK - some further testing shows that camel-fop works fine if you run camel standalone. So the issue is when running inside an OSGI container. I'll do some more investigation. Is there someone around using camel-fop inside Karaf or ServiceMix? Any hints?
>>>>
>>>> Thanks for all the help so far. I'm very glad that I found Camel - nice piece of software and very helpful community.
>>>>
>>>
>>> I think some of the FOP JARs and its dependencies is being created as
>>> OSGi wrapped bundles, which will get published to the maven repo at
>>> http://repo2.maven.org/maven2/org/apache/servicemix/bundles/
>>>
>>>
>>>
>>>> Maruan Sahyoun
>>>>
>>>>
>>>> Am 10.09.2012 um 13:12 schrieb Charles Moulliard:
>>>>
>>>>> Hi,
>>>>>
>>>>> Have you deployed the bundle of Apache XMLGraphics ?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Charles
>>>>>
>>>>> On Mon, Sep 10, 2012 at 10:38 AM, Maruan Sahyoun <sa...@fileaffairs.de>wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I'm trying to use camel-fop from within Apache Karaf. But I'm getting an
>>>>>> error message about a missing class
>>>>>> Caused by: java.lang.NoClassDefFoundError:
>>>>>> org/apache/xmlgraphics/image/loader/ImageContext
>>>>>>
>>>>>> Apache Karaf is 2.29
>>>>>> Apache Camel is 2.10.0 (I also tried 2.10.1)
>>>>>>
>>>>>> features installed are camel-core, camel-blueprint, camel-fop
>>>>>>
>>>>>> Did anyone experience the same issue?
>>>>>>
>>>>>> Thanks for your help
>>>>>>
>>>>>> Maureen
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Charles Moulliard
>>>>> Apache Committer / Sr. Pr. Consultant at FuseSource.com
>>>>> Twitter : @cmoulliard
>>>>> Blog : http://cmoulliard.blogspot.com
>>>>
>>>
>>>
>>>
>>> --
>>> Claus Ibsen
>>> -----------------
>>> FuseSource
>>> Email: cibsen@fusesource.com
>>> Web: http://fusesource.com
>>> Twitter: davsclaus, fusenews
>>> Blog: http://davsclaus.com
>>> Author of Camel in Action: http://www.manning.com/ibsen
>>
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: cibsen@fusesource.com
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
Re: Apache Karaf and camel-fop
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
If you use Karaf / SMX then there is a camel-fop feature you can use
to install. That is the recommended approach for installing Camel
components.
features:install camel
features:install camel-fop
Though the camel-fop feature may not yet 100% work. As you say below,
classloading from non-OSGi friendly JARs is not easy to get working
seamless with OSGi.
On Fri, Sep 14, 2012 at 9:32 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
> I installed the dependencies via osgi:install from that repository which enabled the Camel route to deploy (defined via Blueprint xml). But when I tried to submit data I got the error
>
> java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer could be found for this output format.
> at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:361)[72:org.apache.servicemix.bundles.fop:1.0.0.2]
>
> So I think it doesn't find the Renderers. As far as I understand the mechanism fop is using for getting it's renderers it depends on Java class loading.
>
> Maruan
>
>
> Am 14.09.2012 um 09:24 schrieb Claus Ibsen:
>
>> On Fri, Sep 14, 2012 at 9:19 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
>>> OK - some further testing shows that camel-fop works fine if you run camel standalone. So the issue is when running inside an OSGI container. I'll do some more investigation. Is there someone around using camel-fop inside Karaf or ServiceMix? Any hints?
>>>
>>> Thanks for all the help so far. I'm very glad that I found Camel - nice piece of software and very helpful community.
>>>
>>
>> I think some of the FOP JARs and its dependencies is being created as
>> OSGi wrapped bundles, which will get published to the maven repo at
>> http://repo2.maven.org/maven2/org/apache/servicemix/bundles/
>>
>>
>>
>>> Maruan Sahyoun
>>>
>>>
>>> Am 10.09.2012 um 13:12 schrieb Charles Moulliard:
>>>
>>>> Hi,
>>>>
>>>> Have you deployed the bundle of Apache XMLGraphics ?
>>>>
>>>> Regards,
>>>>
>>>> Charles
>>>>
>>>> On Mon, Sep 10, 2012 at 10:38 AM, Maruan Sahyoun <sa...@fileaffairs.de>wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I'm trying to use camel-fop from within Apache Karaf. But I'm getting an
>>>>> error message about a missing class
>>>>> Caused by: java.lang.NoClassDefFoundError:
>>>>> org/apache/xmlgraphics/image/loader/ImageContext
>>>>>
>>>>> Apache Karaf is 2.29
>>>>> Apache Camel is 2.10.0 (I also tried 2.10.1)
>>>>>
>>>>> features installed are camel-core, camel-blueprint, camel-fop
>>>>>
>>>>> Did anyone experience the same issue?
>>>>>
>>>>> Thanks for your help
>>>>>
>>>>> Maureen
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Charles Moulliard
>>>> Apache Committer / Sr. Pr. Consultant at FuseSource.com
>>>> Twitter : @cmoulliard
>>>> Blog : http://cmoulliard.blogspot.com
>>>
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> FuseSource
>> Email: cibsen@fusesource.com
>> Web: http://fusesource.com
>> Twitter: davsclaus, fusenews
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
>
--
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Re: Apache Karaf and camel-fop
Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
I installed the dependencies via osgi:install from that repository which enabled the Camel route to deploy (defined via Blueprint xml). But when I tried to submit data I got the error
java.lang.UnsupportedOperationException: Don't know how to handle "application/pdf" as an output format. Neither an FOEventHandler, nor a Renderer could be found for this output format.
at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFactory.java:361)[72:org.apache.servicemix.bundles.fop:1.0.0.2]
So I think it doesn't find the Renderers. As far as I understand the mechanism fop is using for getting it's renderers it depends on Java class loading.
Maruan
Am 14.09.2012 um 09:24 schrieb Claus Ibsen:
> On Fri, Sep 14, 2012 at 9:19 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
>> OK - some further testing shows that camel-fop works fine if you run camel standalone. So the issue is when running inside an OSGI container. I'll do some more investigation. Is there someone around using camel-fop inside Karaf or ServiceMix? Any hints?
>>
>> Thanks for all the help so far. I'm very glad that I found Camel - nice piece of software and very helpful community.
>>
>
> I think some of the FOP JARs and its dependencies is being created as
> OSGi wrapped bundles, which will get published to the maven repo at
> http://repo2.maven.org/maven2/org/apache/servicemix/bundles/
>
>
>
>> Maruan Sahyoun
>>
>>
>> Am 10.09.2012 um 13:12 schrieb Charles Moulliard:
>>
>>> Hi,
>>>
>>> Have you deployed the bundle of Apache XMLGraphics ?
>>>
>>> Regards,
>>>
>>> Charles
>>>
>>> On Mon, Sep 10, 2012 at 10:38 AM, Maruan Sahyoun <sa...@fileaffairs.de>wrote:
>>>
>>>> Hi,
>>>>
>>>> I'm trying to use camel-fop from within Apache Karaf. But I'm getting an
>>>> error message about a missing class
>>>> Caused by: java.lang.NoClassDefFoundError:
>>>> org/apache/xmlgraphics/image/loader/ImageContext
>>>>
>>>> Apache Karaf is 2.29
>>>> Apache Camel is 2.10.0 (I also tried 2.10.1)
>>>>
>>>> features installed are camel-core, camel-blueprint, camel-fop
>>>>
>>>> Did anyone experience the same issue?
>>>>
>>>> Thanks for your help
>>>>
>>>> Maureen
>>>>
>>>>
>>>
>>>
>>> --
>>> Charles Moulliard
>>> Apache Committer / Sr. Pr. Consultant at FuseSource.com
>>> Twitter : @cmoulliard
>>> Blog : http://cmoulliard.blogspot.com
>>
>
>
>
> --
> Claus Ibsen
> -----------------
> FuseSource
> Email: cibsen@fusesource.com
> Web: http://fusesource.com
> Twitter: davsclaus, fusenews
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen
Re: Apache Karaf and camel-fop
Posted by Claus Ibsen <cl...@gmail.com>.
On Fri, Sep 14, 2012 at 9:19 AM, Maruan Sahyoun <sa...@fileaffairs.de> wrote:
> OK - some further testing shows that camel-fop works fine if you run camel standalone. So the issue is when running inside an OSGI container. I'll do some more investigation. Is there someone around using camel-fop inside Karaf or ServiceMix? Any hints?
>
> Thanks for all the help so far. I'm very glad that I found Camel - nice piece of software and very helpful community.
>
I think some of the FOP JARs and its dependencies is being created as
OSGi wrapped bundles, which will get published to the maven repo at
http://repo2.maven.org/maven2/org/apache/servicemix/bundles/
> Maruan Sahyoun
>
>
> Am 10.09.2012 um 13:12 schrieb Charles Moulliard:
>
>> Hi,
>>
>> Have you deployed the bundle of Apache XMLGraphics ?
>>
>> Regards,
>>
>> Charles
>>
>> On Mon, Sep 10, 2012 at 10:38 AM, Maruan Sahyoun <sa...@fileaffairs.de>wrote:
>>
>>> Hi,
>>>
>>> I'm trying to use camel-fop from within Apache Karaf. But I'm getting an
>>> error message about a missing class
>>> Caused by: java.lang.NoClassDefFoundError:
>>> org/apache/xmlgraphics/image/loader/ImageContext
>>>
>>> Apache Karaf is 2.29
>>> Apache Camel is 2.10.0 (I also tried 2.10.1)
>>>
>>> features installed are camel-core, camel-blueprint, camel-fop
>>>
>>> Did anyone experience the same issue?
>>>
>>> Thanks for your help
>>>
>>> Maureen
>>>
>>>
>>
>>
>> --
>> Charles Moulliard
>> Apache Committer / Sr. Pr. Consultant at FuseSource.com
>> Twitter : @cmoulliard
>> Blog : http://cmoulliard.blogspot.com
>
--
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
Re: Apache Karaf and camel-fop
Posted by Maruan Sahyoun <sa...@fileaffairs.de>.
OK - some further testing shows that camel-fop works fine if you run camel standalone. So the issue is when running inside an OSGI container. I'll do some more investigation. Is there someone around using camel-fop inside Karaf or ServiceMix? Any hints?
Thanks for all the help so far. I'm very glad that I found Camel - nice piece of software and very helpful community.
Maruan Sahyoun
Am 10.09.2012 um 13:12 schrieb Charles Moulliard:
> Hi,
>
> Have you deployed the bundle of Apache XMLGraphics ?
>
> Regards,
>
> Charles
>
> On Mon, Sep 10, 2012 at 10:38 AM, Maruan Sahyoun <sa...@fileaffairs.de>wrote:
>
>> Hi,
>>
>> I'm trying to use camel-fop from within Apache Karaf. But I'm getting an
>> error message about a missing class
>> Caused by: java.lang.NoClassDefFoundError:
>> org/apache/xmlgraphics/image/loader/ImageContext
>>
>> Apache Karaf is 2.29
>> Apache Camel is 2.10.0 (I also tried 2.10.1)
>>
>> features installed are camel-core, camel-blueprint, camel-fop
>>
>> Did anyone experience the same issue?
>>
>> Thanks for your help
>>
>> Maureen
>>
>>
>
>
> --
> Charles Moulliard
> Apache Committer / Sr. Pr. Consultant at FuseSource.com
> Twitter : @cmoulliard
> Blog : http://cmoulliard.blogspot.com
Re: Apache Karaf and camel-fop
Posted by Charles Moulliard <ch...@gmail.com>.
Hi,
Have you deployed the bundle of Apache XMLGraphics ?
Regards,
Charles
On Mon, Sep 10, 2012 at 10:38 AM, Maruan Sahyoun <sa...@fileaffairs.de>wrote:
> Hi,
>
> I'm trying to use camel-fop from within Apache Karaf. But I'm getting an
> error message about a missing class
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/xmlgraphics/image/loader/ImageContext
>
> Apache Karaf is 2.29
> Apache Camel is 2.10.0 (I also tried 2.10.1)
>
> features installed are camel-core, camel-blueprint, camel-fop
>
> Did anyone experience the same issue?
>
> Thanks for your help
>
> Maureen
>
>
--
Charles Moulliard
Apache Committer / Sr. Pr. Consultant at FuseSource.com
Twitter : @cmoulliard
Blog : http://cmoulliard.blogspot.com