camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin.Zhang" <zhangyongji...@yahoo.com>
Subject Re: Have anybody here tried the tutorial-osgi-camel-part2?
Date Wed, 08 Jul 2009 15:47:19 GMT

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.


Mime
View raw message