Forum Home » Fuse Distributions » Fuse ESB

Thread: installing features camel-servlet on FUSE esb servicemix-4.4.1-fuse-03-06

 

Permlink Replies: 6 - Last Post: May 15, 2012 8:00 AM Last Post By: ffang
mathieuj

Posts: 24
Registered: 04/19/12
installing features camel-servlet on FUSE esb servicemix-4.4.1-fuse-03-06
Posted: May 14, 2012 3:02 PM
  Click to reply to this thread Reply
dear,

i would like install the feature camel-servlet on my FUSE esb,

but i get an error message which says:

Error executing command: URL mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.commons-httpclient/3.1_6 could not be resolved.

if someone has an idea how to resolved that.

thank you.

Mathieu

ffang

Posts: 1,320
Registered: 12/24/07
Re: installing features camel-servlet on FUSE esb servicemix-4.4.1-fuse-03-06
Posted: May 15, 2012 12:07 AM   in response to: mathieuj in response to: mathieuj
  Click to reply to this thread Reply
Hi,

camel-servlet isn't the default installed feature, so when you install camel-servlet, it will download some artifacts from remote maven repo, ensure your machine has internet connection or you have set up some proxy server like nexus.

Freeman
mathieuj

Posts: 24
Registered: 04/19/12
Re: installing features camel-servlet on FUSE esb servicemix-4.4.1-fuse-03-06
Posted: May 15, 2012 7:22 AM   in response to: ffang in response to: ffang
  Click to reply to this thread Reply
thank's for your answer.

Yes, my company is behind a proxy, but i don't know how to update the settings of Fuse ESB for it passes by this proxy.
njiang

Posts: 572
Registered: 09/17/07
Re: installing features camel-servlet on FUSE esb servicemix-4.4.1-fuse-03-06
Posted: May 15, 2012 3:28 AM   in response to: mathieuj in response to: mathieuj
  Click to reply to this thread Reply
That bundle should be download from maven central, please double check the mvn setting as Freeman suggested.
ffang

Posts: 1,320
Registered: 12/24/07
Re: installing features camel-servlet on FUSE esb servicemix-4.4.1-fuse-03-06
Posted: May 15, 2012 7:31 AM   in response to: njiang in response to: njiang
  Click to reply to this thread Reply
Hi,

You can configure maven proxy in .m2/settings.xml, that could be picked up by pax-url, take a look at [1] to get more details.

[1]http://team.ops4j.org/wiki/display/paxurl/Mvn+Protocol

Freeman
mathieuj

Posts: 24
Registered: 04/19/12
Re: installing features camel-servlet on FUSE esb servicemix-4.4.1-fuse-03-06
Posted: May 15, 2012 7:50 AM   in response to: ffang in response to: ffang
  Click to reply to this thread Reply
thank you,

i have found in org.ops4j.pax.url.mvn.cfg:

#
  1. Uncomment if you are behind a web proxy. PAX URL will use the proxy settings
  2. from the Maven conf/settings.xml file
#
org.ops4j.pax.url.mvn.proxySupport=true

and i put it on true;

but for this:

#
  1. Path to the local maven settings file.
  2. The repositories defined in this file will be automatically added to the list
  3. of default repositories if the 'org.ops4j.pax.url.mvn.repositories' property
  4. below is not set.
  5. The following locations are checked for the existence of the settings.xml file
  6. * 1. looks for the specified url
  7. * 2. if not found looks for ${user.home}/.m2/settings.xml
  8. * 3. if not found looks for ${maven.home}/conf/settings.xml
  9. * 4. if not found looks for ${M2_HOME}/conf/settings.xml
#
#org.ops4j.pax.url.mvn.settings=

i don't find the file .m2/settings.xml on my computer
ffang

Posts: 1,320
Registered: 12/24/07
Re: installing features camel-servlet on FUSE esb servicemix-4.4.1-fuse-03-06
Posted: May 15, 2012 8:00 AM   in response to: mathieuj in response to: mathieuj
  Click to reply to this thread Reply
Hi,

It could be also in
${maven.home}/conf/settings.xml
${M2_HOME}/conf/settings.xml
check your maven installation folder, you probably can find it if you're not on *nix/mac

Freeman