-
1. Re: Question about features list
joe.luo Apr 30, 2009 7:50 AM (in response to sudhirshakya)If you have installed Fues ESB 4.0.0.4 version, then a list of preconfigured repositories will be in your etc/org.apache.servicemix.features.cfg file, i.e.
By default, it will go over to intenet to download the feature xml files according to the repo list in the configure file. If your internet connection is down, then it will throw an exception of "ERROR UnknownHostException: svn.apache.org". Note, the first reposity in the list is "http://svn.apache.org/repos/asf..." and that was why you got UnknownHostException of "svn.apache.org".
With the internet connection still down, if you do the command "features list" the second time, it will work. The reason is that Maven will blacklist the repository and go to other local repositories instead. In this instace, it will go to your "fuse-esb-4.0.0.4\system" directory because your etc\org.ops4j.pax.url.mvn.cfg file defines your local maven repo as:
org.ops4j.pax.url.mvn.localRepository=file:${servicemix.home}/system@snapshots
Note, the Fuse ESB 4.0.0.4 is shipped with all the relevant libraries in the "system" directory including Fuse ESB 4.0.0.4 feature xml file and nmr feature xml file. It means that even without internet connection, it will work the second time.