Return-Path: Delivered-To: apmail-camel-users-archive@www.apache.org Received: (qmail 72938 invoked from network); 10 Jul 2009 14:00:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jul 2009 14:00:06 -0000 Received: (qmail 11492 invoked by uid 500); 10 Jul 2009 14:00:16 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 11454 invoked by uid 500); 10 Jul 2009 14:00:16 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 11444 invoked by uid 99); 10 Jul 2009 14:00:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jul 2009 14:00:16 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cmoulliard@gmail.com designates 209.85.218.214 as permitted sender) Received: from [209.85.218.214] (HELO mail-bw0-f214.google.com) (209.85.218.214) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jul 2009 14:00:06 +0000 Received: by bwz10 with SMTP id 10so738954bwz.20 for ; Fri, 10 Jul 2009 06:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=ewbRUGt2wJCJPoxFgSNAea2M0mRiB5nFqZ3S6H8TF54=; b=jY8VQmeM1ihVfJpInK+qI/ZAHtC8BrahCaAO52NEgrC32O9gLeHGHKdsZWXsZ1czPr rQ3Kfe1flZLDNjl25VYZDYMKLlutAtXQMXSU4j/z+xRZvc2untZlYyjvXww17LCosSnV gd++n9VjGIR3a70l6US+YE2b4aDd3uO7sR7Eo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=fgCc4sorKGb0z4f3ezEQ4s6uaIc2IftHPBxtl7DvVyRNdpTGyNRdoEKRkMkte6VlVH iFXTcqBATn8P/A+QOnbcymtmfPCdPxPIM7PAK8HpTLlmWBfJXoSRCGGVVbNHNdaluZ07 z5fTdxk0K25LOt/0swDXuFpv9q7q2YS9UHFtI= MIME-Version: 1.0 Received: by 10.103.192.2 with SMTP id u2mr1116488mup.31.1247234384260; Fri, 10 Jul 2009 06:59:44 -0700 (PDT) In-Reply-To: <24405219.post@talk.nabble.com> References: <24327596.post@talk.nabble.com> <24358669.post@talk.nabble.com> <24373875.post@talk.nabble.com> <24375817.post@talk.nabble.com> <24393218.post@talk.nabble.com> <24405219.post@talk.nabble.com> Date: Fri, 10 Jul 2009 15:59:44 +0200 Message-ID: Subject: Re: Have anybody here tried the tutorial-osgi-camel-part2? From: Charles Moulliard To: users@camel.apache.org Content-Type: multipart/alternative; boundary=001636a7dabf6cefd2046e5a620d X-Virus-Checked: Checked by ClamAV on apache.org --001636a7dabf6cefd2046e5a620d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Kevin, I have done a full installation and everything works fine. I have done some modifications (see remarks here after) 1) I have slightly modified the pom files to facilitate the maven build. Please have a look on the web site - wiki page of my tutorial 2) The features to be installed have been modified for Camel 2.0-M1 --> 2.0-M2 and Spring OSGI because the release used by SMX4 1.1. is 1.2.0-m2 3) Startup.property file must be modified to use the cglib version 2.1_3_2: org/apache/servicemix/bundles/org.apache.servicemix.bundles.cglib/2.1_3_2-SNAPSHOT/org.apache.servicemix.bundles.cglib-2.1_3_2-SNAPSHOT.jar=30 YOU HAVE ALSO TO COPY THE JAR INTO system folder Otherwise, I can zip the server and send it to you configured. I know this is difficult to install all the stuffs the first time and particularly in the current context because the project Apache ServiceMix kernel has moved to Apache Felix Karaf and no official build is available for the moment. You have to build it. Regards, Regards, Charles Moulliard Senior Enterprise Architect Apache Camel Committer ***************************** blog : http://cmoulliard.blogspot.com On Thu, Jul 9, 2009 at 9:07 AM, Kevin.Zhang wrote: > > Still cannot make it work. I might have to give up. If anybody can make it > work, please let me know. > > Charles, thank you so much for your help. If you have time, I would suggest > you to retest it on a clean machine which has no mvn, servicemix and other > modules installed. This tutorial is a great tutorial and I wish people > could > be benefited from it. > > -Kevin > > > cmoulliard wrote: > > > > Error appears in your copy/paste > > > > mvn:org.antlr/com.springsource.antlr/2.7 > > .7 > > > > You can't install a required bundle of Hibernate wich is antlr. > > > > I work on Windows XP > > > > Charles Moulliard > > Senior Enterprise Architect > > Apache Camel Committer > > > > ***************************** > > blog : http://cmoulliard.blogspot.com > > > > > > On Wed, Jul 8, 2009 at 5:47 PM, Kevin.Zhang > > wrote: > > > >> > >> Hi Charles, > >> > >> I installed > >> > >> > mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/1.6_2-SNAPSHOT. > >> After that I restarted servicemix. But I still have the same problem. > >> > >> Command osgi/list can show the new installed dom4j. > >> > >> [ 119] [Active ] [ ] [ 60] Apache ServiceMix Bundles: > >> dom4j-1.6 (1.6.0.SNAPSHOT) > >> > >> The features list command shows: > >> > >> [uninstalled] [ 0.0.0] hibernate > >> [uninstalled] [ 0.0.0] camel-velocity > >> [installed ] [ 0.0.0] web-core > >> [installed ] [ 2.2] cxf > >> [installed ] [ 0.0.0] common > >> [installed ] [ 0.0.0] transaction > >> [installed ] [ 0.0.0] camel-activemq > >> [installed ] [ 0.0.0] web > >> [uninstalled] [ 1.0] reportincident > >> [uninstalled] [ 0.0.0] camel-mail > >> [installed ] [ 0.0.0] cxf-osgi > >> [uninstalled] [ 0.0.0] spring-web > >> [installed ] [ 0.0.0] camel-spring > >> [installed ] [ 2.0-M1] camel > >> [installed ] [ 0.0.0] camel-core > >> [installed ] [ 0.0.0] camel-bindy > >> [installed ] [ 5.2.0] activemq > >> [installed ] [ 0.0.0] connector > >> [installed ] [ 0.0.0] camel-osgi > >> [installed ] [ 0.0.0] wicket > >> [uninstalled] [ 0.0.0] jdbc-driver > >> [installed ] [ 0.0.0] camel-jms > >> [installed ] [ 0.0.0] camel-cxf > >> > >> I tried to use features installed command "install hibernate". It gave > me > >> error: > >> > >> > >> smx@root:features> install hibernate > >> ERROR CommandLineExecutionFailed: > >> org.apache.geronimo.gshell.command.CommandException: > >> java.lang.RuntimeException: URL > [mvn:org.antlr/com.springsource.antlr/2.7 > >> .7] could not be resolved. (enable TRACE logging for details) > >> > >> > >> I'm using windows. Charles, what's your dev environment? > >> > >> Thanks a lot, > >> Kevin > >> > >> > >> cmoulliard wrote: > >> > > >> > Hi Kevin, > >> > > >> > Can you check if you can install manually dom4j jar : > >> > > >> > Here is the command to be used in osgi > >> > > >> > install - s > >> > > >> > mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.dom4j/1.6_2-SNAPSHOT > >> > > >> > If this command does not work, check in the following file > >> > etc/org.ops4j.pax.url.mvn.cfg that you point to your settings.xml > file > >> > configured for your local maven repository : > >> > > >> > org.ops4j.pax.url.mvn.settings=C:/Documents and > >> > Settings/chzhang/.m2/settings.xml > >> > > >> > next try to reinstall or use features command > >> > > >> > Regards, > >> > > >> > Charles Moulliard > >> > Senior Enterprise Architect > >> > Apache Camel Committer > >> > > >> > ***************************** > >> > blog : http://cmoulliard.blogspot.com > >> > > >> > > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/Have-anybody-here-tried-the-tutorial-osgi-camel-part2--tp24327596p24393218.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://www.nabble.com/Have-anybody-here-tried-the-tutorial-osgi-camel-part2--tp24327596p24405219.html > Sent from the Camel - Users mailing list archive at Nabble.com. > > --001636a7dabf6cefd2046e5a620d--