camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: camel 2.10 & Spring 3.0.7 issue on Karaf 2.3.0
Date Thu, 10 Jan 2013 12:30:22 GMT
On Thu, Jan 10, 2013 at 1:21 PM, Charles Moulliard <ch007m@gmail.com> wrote:
> Claus,
>
> I'm using Fuse ESB 7 and create a container using Fabric -->
>
> FuseESB:karaf@fuse-aviva> info
> Karaf
>   Karaf version               2.3.0.fuse-71-047
>   Karaf home
>  /Users/chmoulli/Fuse/servers/fuse-esb-7.1.0.fuse-047
>   Karaf base
>  /Users/chmoulli/Fuse/servers/fuse-esb-7.1.0.fuse-047
>   OSGi Framework              org.apache.felix.framework - 4.0.3.fuse-71-047
>
> [ 234] [Active     ] [Created     ] [       ] [   60] camel-blueprint
> (2.10.0.fuse-71-047)
> [ 240] [Active     ] [            ] [       ] [   60] camel-core
> (2.10.0.fuse-71-047)
> [ 243] [Active     ] [            ] [       ] [   60] camel-spring
> (2.10.0.fuse-71-047)
> [ 247] [Active     ] [Created     ] [       ] [   60] camel-karaf-commands
> (2.10.0.fuse-71-047)
> [ 286] [Active     ] [Created     ] [       ] [   60] camel-cxf
> (2.10.0.fuse-71-047)
>
> [ 242] [Active     ] [            ] [       ] [   60] Spring Context
> (3.0.7.RELEASE)
>
> [ 245] [Active     ] [            ] [       ] [   60] spring-osgi-core
> (1.2.1)
> [ 246] [Active     ] [            ] [       ] [   60] spring-osgi-io (1.2.1)
>
> So if camel 2.10 does not work fine with karaf 2.3. Why have we package
> like that ?
>

Use the fuse forums for talking about fuse.
Or make it clear from the very start that you are using Fuse, when you
talk on the *Apache* forums.

When you say Camel 2.10, I assume you use Apache Camel.
Not Fuse Camel.

There is a difference.

Fuse Camel 2.10 has been upgraded to Aries 1.0 and OSGi 4.3 et all.
Where as Apache has not (eg that happens in Camel 2.11).


> Regards,
>
> Charles
>
>
> On Thu, Jan 10, 2013 at 1:16 PM, Claus Ibsen <claus.ibsen@gmail.com> wrote:
>
>> Hi
>>
>> You would need Camel 2.11 to run on Karaf 2.3.x.
>>
>> Camel 2.10 does not support it to well. As its tied to Aries 0.3, and OSGi
>> 4.2.
>> Where as Karaf is Aries 1.0, and OSGi 4.3 etc.
>>
>>
>>
>> On Thu, Jan 10, 2013 at 1:13 PM, Charles Moulliard <ch007m@gmail.com>
>> wrote:
>> > Hi,
>> >
>> > When I deploy a camel project as a bundle on Karaf 2.3.0, Spring
>> generates
>> > the following error that I don't really understand as classes are well
>> > packaged in the bundle
>> >
>> > 2013-01-10 13:04:26,204 | ERROR | ExtenderThread-2 |
>> ContextLoaderListener
>> >            | ?                                   ? | 235 -
>> > org.springframework.osgi.extender - 1.2.1 | Application context refresh
>> > failed
>> (OsgiBundleXmlApplicationContext(bundle=camel-exercises-webservice,
>> > config=osgibundle:/META-INF/spring/*.xml))
>> > org.springframework.beans.factory.BeanCreationException: Error creating
>> > bean with name 'enrich' defined in URL
>> > [bundle://311.0:0/META-INF/spring/CamelContext.xml]: Instantiation of
>> bean
>> > failed; nested exception is
>> > org.springframework.beans.BeanInstantiationException: Could not
>> instantiate
>> > bean class [com.fusesource.training.camel.Enrich]: Constructor threw
>> > exception; nested exception is java.lang.Error: Unresolved compilation
>> > problems:
>> > Customer cannot be resolved to a type
>> > Customer cannot be resolved to a type
>> > SaveCustomer cannot be resolved to a type
>> > Customer cannot be resolved to a type
>> > Customer cannot be resolved to a type
>> > CustomerType cannot be resolved to a variable
>> > SaveCustomer cannot be resolved to a type
>> > SaveCustomer cannot be resolved to a type
>> > GetAllCustomersResponse cannot be resolved to a type
>> > GetAllCustomersResponse cannot be resolved to a type
>> > GetAllCustomersResponse cannot be resolved to a type
>> >
>> > Code has been compiled usin maven 3.0.2 / JDK 1.6 and server runs using
>> JDK
>> > 1.6
>> >
>> > Regards,
>> >
>> > --
>> > Charles Moulliard
>> > Apache Committer / Sr. Enterprise Architect (RedHat)
>> > Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com
>>
>>
>>
>> --
>> Claus Ibsen
>> -----------------
>> Red Hat, Inc.
>> FuseSource is now part of Red Hat
>> Email: cibsen@redhat.com
>> Web: http://fusesource.com
>> Twitter: davsclaus
>> Blog: http://davsclaus.com
>> Author of Camel in Action: http://www.manning.com/ibsen
>>
>
>
>
> --
> Charles Moulliard
> Apache Committer / Sr. Enterprise Architect (RedHat)
> Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cibsen@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message