Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-07 Thread Willem Jiang
I'm sorry to hear that. If you have time , please try to exclude the package of org.apache.camel.osgi. This package includes lots of OSGi magic :) Willem otech wrote: Thanks for the advice. Bundle-ActivationPolicy: lazy is the only way in Eclipse according to what I found. The Bundle-Activat

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-07 Thread otech
>>>> Bundle-ActivationPolicy: lazy >>>> Bundle-ClassPath: libs/glazedlists-1.8.0_java15.jar, >>>> libs/net.sourceforge.nattable.core_2.0.0.200906211946.jar, >>>> >>>> libs/net.sourceforge.nattable.extension.glazedlists_2.0.0.20090621194

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread Willem Jiang
Hi, Can you change this property in your MANIFEST.MF ? Bundle-ActivationPolicy: lazy Willem otech wrote: I have moved the osgi jar before camel-spring jar. But the problem still exits. Thank you for all the help. Logs: 2009-08-06 11:12:20,308 INFO [org.springframework.beans.factory.xml.XmlBea

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread otech
>>>  libs/commons-beanutils-1.8.0.jar, >>>>  libs/commons-logging-1.1.1.jar, >>>>  libs/log4j-1.2.14.jar, >>>>  libs/spring-beans-2.5.6.jar, >>>>  libs/spring-context-2.5.6.jar, >>>>  libs/spring-core-2.5.6.jar, >>>>  libs/spring-jms-2.5.6.jar, >>>>  libs/spring-tx-2.5.6.jar, >>>>  libs/xbean-spring-3.2.jar, >>>>  libs/k170-1.0.jar, >>>>  libs/spring-aop-2.0.8.jar, >>>>  libs/camel-jms-2.0-M3.jar, >>>>  libs/jencks-2.0.jar, >>>>  libs/jencks-amqpool-2.0.jar, >>>>  libs/commons-pool-1.5.2.jar, >>>>  libs/camel-core-2.0-M3.jar, >>>>  libs/camel-spring-2.0-M3.jar, >>>>  libs/activemq-camel-5.2.0.jar, >>>>  libs/camel-osgi-2.0-M3.jar >>>> >>>> >>>> >>>> >>>> willem.jiang wrote: >>>>> I didn't find the camel-osgi-2.0-M3.jar in the MANIFEST.MF file. >>>>> >>> >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Camel-OSGI-is-not-working-in-Eclipse-RCP-3.5-tp24835236p24848513.html >> Sent from the Camel - Users mailing list archive at Nabble.com. >> >> > > > > -- > Claus Ibsen > Apache Camel Committer > > Open Source Integration: http://fusesource.com > Blog: http://davsclaus.blogspot.com/ > Twitter: http://twitter.com/davsclaus > > -- View this message in context: http://www.nabble.com/Camel-OSGI-is-not-working-in-Eclipse-RCP-3.5-tp24835236p24849418.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread Claus Ibsen
-all-5.2.0.jar, >>>  libs/commons-beanutils-1.8.0.jar, >>>  libs/commons-logging-1.1.1.jar, >>>  libs/log4j-1.2.14.jar, >>>  libs/spring-beans-2.5.6.jar, >>>  libs/spring-context-2.5.6.jar, >>>  libs/spring-core-2.5.6.jar, >>>  libs/spri

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread otech
libs/k170-1.0.jar, >> libs/spring-aop-2.0.8.jar, >> libs/camel-jms-2.0-M3.jar, >> libs/jencks-2.0.jar, >> libs/jencks-amqpool-2.0.jar, >> libs/commons-pool-1.5.2.jar, >> libs/camel-core-2.0-M3.jar, >> libs/camel-spring-2.0-M3.jar, >> libs/activemq-camel-5.2.0.jar, >> libs/camel-osgi-2.0-M3.jar >> >> >> >> >> willem.jiang wrote: >>> I didn't find the camel-osgi-2.0-M3.jar in the MANIFEST.MF file. >>> > > -- View this message in context: http://www.nabble.com/Camel-OSGI-is-not-working-in-Eclipse-RCP-3.5-tp24835236p24848513.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread Willem Jiang
Can you move the camel-osgi-2.0-M3.jar before the camel-spring-2.0-M3.jar? It will do a trick to let camel-spring find the camel-osgi module before it register the spring handler to parser camelContext element. Willem otech wrote: Sorry, I have edited the previous post. The actual file is: Ma

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread otech
dler(RedeliveryErrorHandler.java:155) >>>>at >>>> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:88) >>>>at >>>> org.apache.camel.processor.DefaultErrorHandler.process(DefaultErrorHandler.java:49) >

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread Willem Jiang
r.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876) at java.lang.Thread.run(Unknown Source) -- View this message in context: http://www.nabble.com/Camel-OSGI-is-not-working-in-Eclipse-RCP-3.5-tp24835236p24835236.html Sent from the Camel - Users mai

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread Willem Jiang
To be honest, I know nothing about how to use Eclipse RCP project to create a bundle. But here are some basic knowledges about the OSGi bundle. The bundle is like the usual jar, the only difference is it has sepecial META-INF/MANIFEST.MF file ,which contains the Import-Package: and Export-Packa

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread otech
;>        at >>>> org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:88) >>>>        at >>>> org.apache.camel.processor.DefaultErrorHandler.process(DefaultErrorHandler.java:49) >>>>        at >>>> or

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread Claus Ibsen
camel.component.jms.EndpointMessageListener.onMessage(EndpointMessageListener.java:83) >>>        at >>> org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:543) >>>        at >>> org.springf

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread otech
geListenerContainer.invokeListener(AbstractMessageListenerContainer.java:482) >>        at >> org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:451) >>        at >> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doRec

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread Claus Ibsen
istenerContainer.java:982) >        at > org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974) >        at > org.springframework.jms.listener.DefaultMessageListenerContainer$

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-06 Thread otech
gMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:323) >> at >> org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:261) >> at >> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:982) >> at >> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.executeOngoingLoop(DefaultMessageListenerContainer.java:974) >> at >> org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:876) >> at java.lang.Thread.run(Unknown Source) > > > -- View this message in context: http://www.nabble.com/Camel-OSGI-is-not-working-in-Eclipse-RCP-3.5-tp24835236p24846250.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel OSGI is not working in Eclipse RCP 3.5

2009-08-05 Thread Willem Jiang
We did some enhancement[1] on this issue two month ago. If you don't want to Camel 2.0M3 or Camel 1.6.2-SNAPSHOT, here is way to walk around this issue. Please try to import the org/apache/activemq/camel/converter package in your camel context bundle. Willem [1] https://issues.apache.org/acti

Camel OSGI is not working in Eclipse RCP 3.5

2009-08-05 Thread otech
(DefaultMessageListenerContainer.java:876) at java.lang.Thread.run(Unknown Source) -- View this message in context: http://www.nabble.com/Camel-OSGI-is-not-working-in-Eclipse-RCP-3.5-tp24835236p24835236.html Sent from the Camel - Users mailing list archive at Nabble.com.