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 > <[email protected]>wrote: > >> >> 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=2447439&trk=anet_ug_hm >> > >> > >> > On Tue, Apr 13, 2010 at 5:29 PM, olamalam >> > <[email protected]>wrote: >> > >> >> >> >> 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 in context: http://old.nabble.com/Camel-ftp-component-problem-tp28218210p28240026.html Sent from the Camel - Users mailing list archive at Nabble.com.
