Re: Camel-ftp component problem
Hi You are right. Those lines have been removed from config.properties of Karaf but not from Servicemix version. So remove them, Kind regards, Charles Moulliard Senior Enterprise Architect (J2EE, .NET, SOA) Expert : ServiceMix, CXF, ActiveMq, Fuse, ESB, EAI, Spring, Struts, Wicket, Jquery, JPA, Hibernate Apache Camel Committer *** - Blog : http://cmoulliard.blogspot.com - Twitter : http://twitter.com/cmoulliard - Linkedlin : http://www.linkedin.com/in/charlesmoulliard On Wed, Apr 14, 2010 at 10:42 AM, olamalam ilker.cikrikc...@aspone.co.ukwrote: Hi Charles, I'm using JDK 6 but I couldn't see those lines you mentioned in etc/config.properties I've updated that file and added javax.xml.bind... lines but this time I'm getting this exception at startup: ERROR: Error parsing system bundle export statement: ... org.apache.felix.karaf.version; version=1.4.0 (java.lang.IllegalArgumentException: No paths specified in header: ) java.lang.IllegalArgumentException: No paths specified in header: ps. When I try to install activemq-camel component by: osgi:install -s mvn:org.apache.activemq/activemq-camel/5.2.0 I get another unresolved constraint exception for package javax.jms which is not included in etc/config.properties either. Sorry for bothering too much, best regards Ilker cmoulliard wrote: Which version of Java are you using (5 or 6) ? If you use JDK 6, those classes are provided by the jdk To allow the osgi server (felix) to load at the startup the javax.xml.bind classes, you must uncomment the following line under the file etc/config.properties # javax.xml.bind, \ # javax.xml.bind.annotation, \ # javax.xml.bind.annotation.adapters, \ # javax.xml.bind.attachment, \ # javax.xml.bind.helpers, \ # javax.xml.bind.util, \ Kind regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com twitter : http://twitter.com/cmoulliard Linkedlin : http://www.linkedin.com/in/charlesmoulliard Apache Camel Group : http://www.linkedin.com/groups?home=gid=2447439trk=anet_ug_hm On Tue, Apr 13, 2010 at 5:29 PM, olamalam ilker.cikrikc...@aspone.co.ukwrote: Hello again Willem, I tried to install camel-ftp in Felix Karaf 1.4.0 too but it is requesting some libraries (for ex: javax.xml.bind) included in Java sdk. Should I also install those bundles too? Please note that I run this command: osgi:install -s mvn:org.apache.camel/camel-ftp/2.2.0 Thanks willem.jiang wrote: Can you also try Felix Karaf 1.4.0 which is latest release version of ServiceMix kernel ? And using feature:install camel-ftp to install the bundle for camel-ftp. Willem olamalam wrote: Hi willem, I uninstalled camel-spring camel-osgi and installed camel-spring-osgi. but I'm still getting the same exception. willem.jiang wrote: Hi, Please make sure you didn't install camel-spring-osgi and camel-spring bundle at the same time. We merged the camel-sping and camel-osgi bundle into camel-spring-osgi in Camel 2.2, so you just need to install camel-spring-osgi bundle instead of camel-spring and camel-osgi. Willem olamalam wrote: Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://test@ 127.0.0.1:21/?password=test); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28231893.html Sent from the Camel - Users mailing list archive at Nabble.com. - Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/ -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28239946.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel-ftp component problem
OK, I'll remove those lines but should I install those features included in JDK 6 (like javax.xml.bind or javax.jms) to karaf? I think there is something wrong with it. Thanks cmoulliard wrote: Hi You are right. Those lines have been removed from config.properties of Karaf but not from Servicemix version. So remove them, Kind regards, Charles Moulliard Senior Enterprise Architect (J2EE, .NET, SOA) Expert : ServiceMix, CXF, ActiveMq, Fuse, ESB, EAI, Spring, Struts, Wicket, Jquery, JPA, Hibernate Apache Camel Committer *** - Blog : http://cmoulliard.blogspot.com - Twitter : http://twitter.com/cmoulliard - Linkedlin : http://www.linkedin.com/in/charlesmoulliard On Wed, Apr 14, 2010 at 10:42 AM, olamalam ilker.cikrikc...@aspone.co.ukwrote: Hi Charles, I'm using JDK 6 but I couldn't see those lines you mentioned in etc/config.properties I've updated that file and added javax.xml.bind... lines but this time I'm getting this exception at startup: ERROR: Error parsing system bundle export statement: ... org.apache.felix.karaf.version; version=1.4.0 (java.lang.IllegalArgumentException: No paths specified in header: ) java.lang.IllegalArgumentException: No paths specified in header: ps. When I try to install activemq-camel component by: osgi:install -s mvn:org.apache.activemq/activemq-camel/5.2.0 I get another unresolved constraint exception for package javax.jms which is not included in etc/config.properties either. Sorry for bothering too much, best regards Ilker cmoulliard wrote: Which version of Java are you using (5 or 6) ? If you use JDK 6, those classes are provided by the jdk To allow the osgi server (felix) to load at the startup the javax.xml.bind classes, you must uncomment the following line under the file etc/config.properties # javax.xml.bind, \ # javax.xml.bind.annotation, \ # javax.xml.bind.annotation.adapters, \ # javax.xml.bind.attachment, \ # javax.xml.bind.helpers, \ # javax.xml.bind.util, \ Kind regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com twitter : http://twitter.com/cmoulliard Linkedlin : http://www.linkedin.com/in/charlesmoulliard Apache Camel Group : http://www.linkedin.com/groups?home=gid=2447439trk=anet_ug_hm On Tue, Apr 13, 2010 at 5:29 PM, olamalam ilker.cikrikc...@aspone.co.ukwrote: Hello again Willem, I tried to install camel-ftp in Felix Karaf 1.4.0 too but it is requesting some libraries (for ex: javax.xml.bind) included in Java sdk. Should I also install those bundles too? Please note that I run this command: osgi:install -s mvn:org.apache.camel/camel-ftp/2.2.0 Thanks willem.jiang wrote: Can you also try Felix Karaf 1.4.0 which is latest release version of ServiceMix kernel ? And using feature:install camel-ftp to install the bundle for camel-ftp. Willem olamalam wrote: Hi willem, I uninstalled camel-spring camel-osgi and installed camel-spring-osgi. but I'm still getting the same exception. willem.jiang wrote: Hi, Please make sure you didn't install camel-spring-osgi and camel-spring bundle at the same time. We merged the camel-sping and camel-osgi bundle into camel-spring-osgi in Camel 2.2, so you just need to install camel-spring-osgi bundle instead of camel-spring and camel-osgi. Willem olamalam wrote: Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://test@ 127.0.0.1:21/?password=test); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28231893.html Sent from the Camel - Users mailing list archive at Nabble.com. - Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/ -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28239946.html Sent from the Camel - Users mailing list archive at Nabble.com. - Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/ -- View this message
Re: Camel-ftp component problem
You don't need to install the bundle for javax.xml.bind if it's included in the system packages. Even you installed the bundle, OSGi platform will resolve it from the system packages first. Willem olamalam wrote: OK, I'll remove those lines but should I install those features included in JDK 6 (like javax.xml.bind or javax.jms) to karaf? I think there is something wrong with it. Thanks cmoulliard wrote: Hi You are right. Those lines have been removed from config.properties of Karaf but not from Servicemix version. So remove them, Kind regards, Charles Moulliard Senior Enterprise Architect (J2EE, .NET, SOA) Expert : ServiceMix, CXF, ActiveMq, Fuse, ESB, EAI, Spring, Struts, Wicket, Jquery, JPA, Hibernate Apache Camel Committer *** - Blog : http://cmoulliard.blogspot.com - Twitter : http://twitter.com/cmoulliard - Linkedlin : http://www.linkedin.com/in/charlesmoulliard On Wed, Apr 14, 2010 at 10:42 AM, olamalam ilker.cikrikc...@aspone.co.ukwrote: Hi Charles, I'm using JDK 6 but I couldn't see those lines you mentioned in etc/config.properties I've updated that file and added javax.xml.bind... lines but this time I'm getting this exception at startup: ERROR: Error parsing system bundle export statement: ... org.apache.felix.karaf.version; version=1.4.0 (java.lang.IllegalArgumentException: No paths specified in header: ) java.lang.IllegalArgumentException: No paths specified in header: ps. When I try to install activemq-camel component by: osgi:install -s mvn:org.apache.activemq/activemq-camel/5.2.0 I get another unresolved constraint exception for package javax.jms which is not included in etc/config.properties either. Sorry for bothering too much, best regards Ilker cmoulliard wrote: Which version of Java are you using (5 or 6) ? If you use JDK 6, those classes are provided by the jdk To allow the osgi server (felix) to load at the startup the javax.xml.bind classes, you must uncomment the following line under the file etc/config.properties # javax.xml.bind, \ # javax.xml.bind.annotation, \ # javax.xml.bind.annotation.adapters, \ # javax.xml.bind.attachment, \ # javax.xml.bind.helpers, \ # javax.xml.bind.util, \ Kind regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com twitter : http://twitter.com/cmoulliard Linkedlin : http://www.linkedin.com/in/charlesmoulliard Apache Camel Group : http://www.linkedin.com/groups?home=gid=2447439trk=anet_ug_hm On Tue, Apr 13, 2010 at 5:29 PM, olamalam ilker.cikrikc...@aspone.co.ukwrote: Hello again Willem, I tried to install camel-ftp in Felix Karaf 1.4.0 too but it is requesting some libraries (for ex: javax.xml.bind) included in Java sdk. Should I also install those bundles too? Please note that I run this command: osgi:install -s mvn:org.apache.camel/camel-ftp/2.2.0 Thanks willem.jiang wrote: Can you also try Felix Karaf 1.4.0 which is latest release version of ServiceMix kernel ? And using feature:install camel-ftp to install the bundle for camel-ftp. Willem olamalam wrote: Hi willem, I uninstalled camel-spring camel-osgi and installed camel-spring-osgi. but I'm still getting the same exception. willem.jiang wrote: Hi, Please make sure you didn't install camel-spring-osgi and camel-spring bundle at the same time. We merged the camel-sping and camel-osgi bundle into camel-spring-osgi in Camel 2.2, so you just need to install camel-spring-osgi bundle instead of camel-spring and camel-osgi. Willem olamalam wrote: Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://test@ 127.0.0.1:21/?password=test); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28231893.html Sent from the Camel - Users mailing list archive at Nabble.com. - Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/ -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28239946.html Sent from the Camel - Users mailing list archive at Nabble.com. - Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/
Re: Camel-ftp component problem
*** - Blog : http://cmoulliard.blogspot.com - Twitter : http://twitter.com/cmoulliard - Linkedlin : http://www.linkedin.com/in/charlesmoulliard On Wed, Apr 14, 2010 at 10:52 AM, olamalam ilker.cikrikc...@aspone.co.ukwrote: OK, I'll remove those lines but should I install those features included in JDK 6 (like javax.xml.bind or javax.jms) to karaf? I think there is something wrong with it. Thanks cmoulliard wrote: Hi You are right. Those lines have been removed from config.properties of Karaf but not from Servicemix version. So remove them, Kind regards, Charles Moulliard Senior Enterprise Architect (J2EE, .NET, SOA) Expert : ServiceMix, CXF, ActiveMq, Fuse, ESB, EAI, Spring, Struts, Wicket, Jquery, JPA, Hibernate Apache Camel Committer *** - Blog : http://cmoulliard.blogspot.com - Twitter : http://twitter.com/cmoulliard - Linkedlin : http://www.linkedin.com/in/charlesmoulliard On Wed, Apr 14, 2010 at 10:42 AM, olamalam ilker.cikrikc...@aspone.co.ukwrote: Hi Charles, I'm using JDK 6 but I couldn't see those lines you mentioned in etc/config.properties I've updated that file and added javax.xml.bind... lines but this time I'm getting this exception at startup: ERROR: Error parsing system bundle export statement: ... org.apache.felix.karaf.version; version=1.4.0 (java.lang.IllegalArgumentException: No paths specified in header: ) java.lang.IllegalArgumentException: No paths specified in header: ps. When I try to install activemq-camel component by: osgi:install -s mvn:org.apache.activemq/activemq-camel/5.2.0 I get another unresolved constraint exception for package javax.jms which is not included in etc/config.properties either. Sorry for bothering too much, best regards Ilker cmoulliard wrote: Which version of Java are you using (5 or 6) ? If you use JDK 6, those classes are provided by the jdk To allow the osgi server (felix) to load at the startup the javax.xml.bind classes, you must uncomment the following line under the file etc/config.properties # javax.xml.bind, \ # javax.xml.bind.annotation, \ # javax.xml.bind.annotation.adapters, \ # javax.xml.bind.attachment, \ # javax.xml.bind.helpers, \ # javax.xml.bind.util, \ Kind regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com twitter : http://twitter.com/cmoulliard Linkedlin : http://www.linkedin.com/in/charlesmoulliard Apache Camel Group : http://www.linkedin.com/groups?home=gid=2447439trk=anet_ug_hm On Tue, Apr 13, 2010 at 5:29 PM, olamalam ilker.cikrikc...@aspone.co.ukwrote: Hello again Willem, I tried to install camel-ftp in Felix Karaf 1.4.0 too but it is requesting some libraries (for ex: javax.xml.bind) included in Java sdk. Should I also install those bundles too? Please note that I run this command: osgi:install -s mvn:org.apache.camel/camel-ftp/2.2.0 Thanks willem.jiang wrote: Can you also try Felix Karaf 1.4.0 which is latest release version of ServiceMix kernel ? And using feature:install camel-ftp to install the bundle for camel-ftp. Willem olamalam wrote: Hi willem, I uninstalled camel-spring camel-osgi and installed camel-spring-osgi. but I'm still getting the same exception. willem.jiang wrote: Hi, Please make sure you didn't install camel-spring-osgi and camel-spring bundle at the same time. We merged the camel-sping and camel-osgi bundle into camel-spring-osgi in Camel 2.2, so you just need to install camel-spring-osgi bundle instead of camel-spring and camel-osgi. Willem olamalam wrote: Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://test@ 127.0.0.1:21/?password=test); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28231893.html Sent from the Camel - Users mailing list archive
Re: Camel-ftp component problem
wrote: Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://test@ 127.0.0.1:21/?password=test); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28231893.html Sent from the Camel - Users mailing list archive at Nabble.com. - Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/ -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28239946.html Sent from the Camel - Users mailing list archive at Nabble.com. - Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/ -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28240026.html Sent from the Camel - Users mailing list archive at Nabble.com. - Charles Moulliard SOA Architect My Blog : http://cmoulliard.blogspot.com/ -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28242162.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel-ftp component problem
Hi Willem, I've downloaded Felix Karaf 1.4.0 and will try to solve the same problem with it but even if it works on Felix Karaf 1.4.0 we may not migrate from serviceMix Kernel 1.1 to Felix Karaf 1.4.0. right now. So I'm still trying to find a workaround for serviceMix Kernel. willem.jiang wrote: Can you also try Felix Karaf 1.4.0 which is latest release version of ServiceMix kernel ? And using feature:install camel-ftp to install the bundle for camel-ftp. Willem olamalam wrote: Hi willem, I uninstalled camel-spring camel-osgi and installed camel-spring-osgi. but I'm still getting the same exception. willem.jiang wrote: Hi, Please make sure you didn't install camel-spring-osgi and camel-spring bundle at the same time. We merged the camel-sping and camel-osgi bundle into camel-spring-osgi in Camel 2.2, so you just need to install camel-spring-osgi bundle instead of camel-spring and camel-osgi. Willem olamalam wrote: Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://t...@127.0.0.1:21/?password=test;); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28229325.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel-ftp component problem
Hi Christian, Previously I run these commands to install camel-ftp: osgi:install -s mvn:org.apache.camel/camel-core/2.2.0 osgi:install -s mvn:org.fusesource.commonman/commons-management/1.0 osgi:install -s mvn:org.apache.camel/camel-spring-osgi/2.2.0 osgi:install -s mvn:org.apache.commons/commons-net/2.0 osgi:install -s mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jsch/0.1.31_1 osgi:install -s mvn:org.apache.camel/camel-ftp/2.2.0 After your advice, I uninstalled camel-ftp bundle and when I try to run (on both SMX kernel and karaf) : features:install camel-ftp I get: ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandExce ption: java.lang.Exception: No feature named 'camel-ftp' with version '0.0.0' available or features:install camel-ftp 2.2.0 ERROR CommandLineExecutionFailed: org.apache.geronimo.gshell.command.CommandExce ption: java.lang.Exception: No feature named 'camel-ftp' with version '2.2.0' available What am I doing wrong? Christian Mueller wrote: I think Claus said to run the following command: features:install camel-ftp And in http://svn.apache.org/viewvc/camel/trunk/platforms/karaf/features/src/main/resources/features.xml?view=markupyou can see, that the camel-ftp feature installs the following bundles/features: feature name='camel-ftp' version='${pom.version}' bundlemvn:commons-net/commons-net/${commons-net-version}/bundle feature version='${pom.version}'camel-core/feature bundlemvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jsch/${jsch-bundle-version}/bundle bundlemvn:org.apache.camel/camel-ftp/${pom.version}/bundle /feature Regards, Christian -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28229527.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel-ftp component problem
Hello again Willem, I tried to install camel-ftp in Felix Karaf 1.4.0 too but it is requesting some libraries (for ex: javax.xml.bind) included in Java sdk. Should I also install those bundles too? Please note that I run this command: osgi:install -s mvn:org.apache.camel/camel-ftp/2.2.0 Thanks willem.jiang wrote: Can you also try Felix Karaf 1.4.0 which is latest release version of ServiceMix kernel ? And using feature:install camel-ftp to install the bundle for camel-ftp. Willem olamalam wrote: Hi willem, I uninstalled camel-spring camel-osgi and installed camel-spring-osgi. but I'm still getting the same exception. willem.jiang wrote: Hi, Please make sure you didn't install camel-spring-osgi and camel-spring bundle at the same time. We merged the camel-sping and camel-osgi bundle into camel-spring-osgi in Camel 2.2, so you just need to install camel-spring-osgi bundle instead of camel-spring and camel-osgi. Willem olamalam wrote: Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://t...@127.0.0.1:21/?password=test;); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28231893.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel-ftp component problem
Which version of Java are you using (5 or 6) ? If you use JDK 6, those classes are provided by the jdk To allow the osgi server (felix) to load at the startup the javax.xml.bind classes, you must uncomment the following line under the file etc/config.properties # javax.xml.bind, \ # javax.xml.bind.annotation, \ # javax.xml.bind.annotation.adapters, \ # javax.xml.bind.attachment, \ # javax.xml.bind.helpers, \ # javax.xml.bind.util, \ Kind regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer * blog : http://cmoulliard.blogspot.com twitter : http://twitter.com/cmoulliard Linkedlin : http://www.linkedin.com/in/charlesmoulliard Apache Camel Group : http://www.linkedin.com/groups?home=gid=2447439trk=anet_ug_hm On Tue, Apr 13, 2010 at 5:29 PM, olamalam ilker.cikrikc...@aspone.co.ukwrote: Hello again Willem, I tried to install camel-ftp in Felix Karaf 1.4.0 too but it is requesting some libraries (for ex: javax.xml.bind) included in Java sdk. Should I also install those bundles too? Please note that I run this command: osgi:install -s mvn:org.apache.camel/camel-ftp/2.2.0 Thanks willem.jiang wrote: Can you also try Felix Karaf 1.4.0 which is latest release version of ServiceMix kernel ? And using feature:install camel-ftp to install the bundle for camel-ftp. Willem olamalam wrote: Hi willem, I uninstalled camel-spring camel-osgi and installed camel-spring-osgi. but I'm still getting the same exception. willem.jiang wrote: Hi, Please make sure you didn't install camel-spring-osgi and camel-spring bundle at the same time. We merged the camel-sping and camel-osgi bundle into camel-spring-osgi in Camel 2.2, so you just need to install camel-spring-osgi bundle instead of camel-spring and camel-osgi. Willem olamalam wrote: Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://test@ 127.0.0.1:21/?password=test); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28231893.html Sent from the Camel - Users mailing list archive at Nabble.com.
Camel-ftp component problem
Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://t...@127.0.0.1:21/?password=test;); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28218210.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel-ftp component problem
Hi Did you deploy it to SMX by installing the camel-ftp feature? You should install features when using camel components, as it will ensure all the other bundles get installed as well. You can find SMX 4 / FUSE ESB 4.2 documentation at http://fusesource.com/products/enterprise-servicemix4/#documentation For example: http://fusesource.com/docs/esb/4.2/deploy_osgi/index.html On Mon, Apr 12, 2010 at 4:04 PM, olamalam ilker.cikrikc...@aspone.co.uk wrote: Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://t...@127.0.0.1:21/?password=test;); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28218210.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
Re: Camel-ftp component problem
Hi, Please make sure you didn't install camel-spring-osgi and camel-spring bundle at the same time. We merged the camel-sping and camel-osgi bundle into camel-spring-osgi in Camel 2.2, so you just need to install camel-spring-osgi bundle instead of camel-spring and camel-osgi. Willem olamalam wrote: Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://t...@127.0.0.1:21/?password=test;); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance
Re: Camel-ftp component problem
Hi Claus, I installed camel-ftp by running this command: install -s mvn:org.apache.camel/camel-ftp/2.2.0 before running it SMX forced me to install other related bundles as well. (jsch, commons net, ...) So now I'm sure that necessary bundles are installed and active. Claus Ibsen-2 wrote: Hi Did you deploy it to SMX by installing the camel-ftp feature? You should install features when using camel components, as it will ensure all the other bundles get installed as well. You can find SMX 4 / FUSE ESB 4.2 documentation at http://fusesource.com/products/enterprise-servicemix4/#documentation For example: http://fusesource.com/docs/esb/4.2/deploy_osgi/index.html On Mon, Apr 12, 2010 at 4:04 PM, olamalam ilker.cikrikc...@aspone.co.uk wrote: Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://t...@127.0.0.1:21/?password=test;); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28218210.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28218409.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel-ftp component problem
Hi willem, I uninstalled camel-spring camel-osgi and installed camel-spring-osgi. but I'm still getting the same exception. willem.jiang wrote: Hi, Please make sure you didn't install camel-spring-osgi and camel-spring bundle at the same time. We merged the camel-sping and camel-osgi bundle into camel-spring-osgi in Camel 2.2, so you just need to install camel-spring-osgi bundle instead of camel-spring and camel-osgi. Willem olamalam wrote: Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://t...@127.0.0.1:21/?password=test;); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28218621.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel-ftp component problem
On Mon, Apr 12, 2010 at 4:36 PM, olamalam ilker.cikrikc...@aspone.co.uk wrote: Hi willem, I uninstalled camel-spring camel-osgi and installed camel-spring-osgi. but I'm still getting the same exception. There is also some SMX data cache directory. You should stop SMX, delete this cache. willem.jiang wrote: Hi, Please make sure you didn't install camel-spring-osgi and camel-spring bundle at the same time. We merged the camel-sping and camel-osgi bundle into camel-spring-osgi in Camel 2.2, so you just need to install camel-spring-osgi bundle instead of camel-spring and camel-osgi. Willem olamalam wrote: Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://t...@127.0.0.1:21/?password=test;); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28218621.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
Re: Camel-ftp component problem
I've already did that. I've deleted the uninstalled cache folders and restarted SMX. but I still get the same exception :( Claus Ibsen-2 wrote: On Mon, Apr 12, 2010 at 4:36 PM, olamalam ilker.cikrikc...@aspone.co.uk wrote: Hi willem, I uninstalled camel-spring camel-osgi and installed camel-spring-osgi. but I'm still getting the same exception. There is also some SMX data cache directory. You should stop SMX, delete this cache. willem.jiang wrote: Hi, Please make sure you didn't install camel-spring-osgi and camel-spring bundle at the same time. We merged the camel-sping and camel-osgi bundle into camel-spring-osgi in Camel 2.2, so you just need to install camel-spring-osgi bundle instead of camel-spring and camel-osgi. Willem olamalam wrote: Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://t...@127.0.0.1:21/?password=test;); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28218621.html Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus -- View this message in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28219141.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Camel-ftp component problem
I think Claus said to run the following command: features:install camel-ftp And in http://svn.apache.org/viewvc/camel/trunk/platforms/karaf/features/src/main/resources/features.xml?view=markupyou can see, that the camel-ftp feature installs the following bundles/features: feature name='camel-ftp' version='${pom.version}' bundlemvn:commons-net/commons-net/${commons-net-version}/bundle feature version='${pom.version}'camel-core/feature bundlemvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jsch/${jsch-bundle-version}/bundle bundlemvn:org.apache.camel/camel-ftp/${pom.version}/bundle /feature Regards, Christian
Re: Camel-ftp component problem
Can you also try Felix Karaf 1.4.0 which is latest release version of ServiceMix kernel ? And using feature:install camel-ftp to install the bundle for camel-ftp. Willem olamalam wrote: Hi willem, I uninstalled camel-spring camel-osgi and installed camel-spring-osgi. but I'm still getting the same exception. willem.jiang wrote: Hi, Please make sure you didn't install camel-spring-osgi and camel-spring bundle at the same time. We merged the camel-sping and camel-osgi bundle into camel-spring-osgi in Camel 2.2, so you just need to install camel-spring-osgi bundle instead of camel-spring and camel-osgi. Willem olamalam wrote: Hi to all, I'm trying to develop a hello world bundle for serviceMix kernel (1.1) which uses camel-ftp component. My aim is to run this route: from(file://../data?noop=true).to(ftp://t...@127.0.0.1:21/?password=test;); Although this route runs without problem in a stand alone application, when i deploy it in serviceMix kernel I get FailedToCreateRouteException due to No component found with scheme: ftp. To solve the problem what i did so far are: 1- deployed camel-ftp 2.2 bundle to serviceMix. 2- added camel-ftp package (org.apache.camel.component.file.remote) to import-packages. now when I run headers bundle# in serviceMix I can see this imported package. What else I can do? Thanks in advance