在没配置DNS的linux上发布ServiceMix

在没配置DNS的linux上发布ServiceMix

在没有配置DNS的linux上发布ServiceMix
没有DNS,ServiceMix无法自动下载相关Service的依赖包(dependencies).一时无法穷举所有dependencies以及dependencies的dependencies的respository的域名以及ip.
所采用的方案是:
  1.用其它机器生成本地库(local repository)
    按照
http://fusesource.com/docs/esb/4.4/esb_deploy_osgi/Locate.html这篇文章的指导,一步步完成本地库。
    a:   Create a POM file.(见附件)
    b:  Add the features-maven-plugin.
    c:  Specify the features to download.
    d:  Specify the feature repositories.
    e:  Specify the Fuse ESB system repository.
    f:  Specify the remote repositories.
    g:  Generate the offline repository.
    h:  Install the offline repository.

  2.在Linux的/etc/hosts加入已知的域名及IP
   140.211.11.57   repository.apache.org
   207.223.241.90  repo1.maven.org
   85.25.5.69      repository.ops4j.org
   192.87.106.227  svn.apache.org
   140.211.11.131  karaf.apache.org
   140.211.11.131  aries.apache.org
   207.171.187.118 repository.springsource.com
   140.211.11.131  servicemix.apache.org(xbean.xml里schema用到的域名)
   110.75.27.15    gw.api.taobao.com(使用到的淘宝OpenAPI)
   205.140.197.88  www.springframework.org(xbean.xml里的schema要用到的域名)
   128.30.52.37    www.w3.org(xbean.xml里要用到的schema域名)
  

   

在没配置DNS的linux上发布ServiceMix

相关文章:

你感兴趣的文章:

标签云: