Re: Camel-ftp component problem

2010-04-14 Thread olamalam
Hi Charles, Yes, this solves my problem. Thank you very much. I could install those bundles you've listed by running these commands: features:install spring features:install spring-dm features:install http features:install war features:addUrl mvn:org.apache.camel.karaf/apache-camel/2.2.0/xml/fea

Re: Camel-ftp component problem

2010-04-14 Thread cmoulliard
I have been able to make a test using apache felix karaf 2.0 Here is the list of the bundles deployed : ka...@root> list START LEVEL 100 ID State Blueprint SpringLevel Name [ 0] [Active ] [] [ ] [0] System Bundle (2.0.4) [ 1] [Active ] [

Re: Camel-ftp component problem

2010-04-14 Thread Willem Jiang
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

Re: Camel-ftp component problem

2010-04-14 Thread Charles Moulliard
Those packages are present in the JDK 6 and should be loaded automatically by karaf (felix) at the startup. Can you send me in a separate email (using my gmail address) your camel route to allow me to make a test with the components that you would like to test (camel-ftp, ...) Kind regards, Char

Re: Camel-ftp component problem

2010-04-14 Thread olamalam
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

Re: Camel-ftp component problem

2010-04-14 Thread Charles Moulliard
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

Re: Camel-ftp component problem

2010-04-14 Thread olamalam
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;

Re: Camel-ftp component problem

2010-04-13 Thread Charles Moulliard
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.bin

Re: Camel-ftp component problem

2010-04-13 Thread olamalam
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

Re: Camel-ftp component problem

2010-04-13 Thread olamalam
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

Re: Camel-ftp component problem

2010-04-13 Thread olamalam
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

Re: Camel-ftp component problem

2010-04-12 Thread Willem Jiang
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 t

Re: Camel-ftp component problem

2010-04-12 Thread Christian Müller
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: mvn:commons-net

Re: Camel-ftp component problem

2010-04-12 Thread olamalam
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 > wrote: >> >> Hi willem, >> >> I uninstalled camel-spring & camel-osgi and installed camel-spring-osgi.

Re: Camel-ftp component problem

2010-04-12 Thread Claus Ibsen
On Mon, Apr 12, 2010 at 4:36 PM, olamalam 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

Re: Camel-ftp component problem

2010-04-12 Thread olamalam
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 cam

Re: Camel-ftp component problem

2010-04-12 Thread olamalam
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: > >

Re: Camel-ftp component problem

2010-04-12 Thread Willem Jiang
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 olamal

Re: Camel-ftp component problem

2010-04-12 Thread Claus Ibsen
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/#docu