Apache ServiceMix 5.x完整版

R配音

我需要在没有直接连接到互联网的服务器上运行Apache ServiceMix。我找不到适用于Apache ServiceMix 5.1.4的“完整”程序集。较旧版本的ServiceMix(4.5.3)具有完整版本可供下载。

是否有5.1.4的完整版本,如果可以,在哪里?

http://servicemix.apache.org/downloads/servicemix-5.1.4.html http://servicemix.apache.org/downloads/servicemix-4.5.3.html

R配音

多亏KSobkowiak的回答为我指明了正确的方向。我发布了我用来启动和运行自定义ServiceMix 5.x的步骤,以防其他人需要这样做。这些说明假定使用Linux,但Windows步骤应相似。

1)下载并解压缩ServiceMix和Maven

cd /opt
unzip apache-servicemix-5.1.4.zip
unzip apache-maven-3.0.3.zip

2)配置Maven代理,如果需要的话:

3)创建一个maven项目目录

mkdir serviceMix_features
cd serviceMix_features

4)使用以下xml创建一个maven pom文件。我通过features:listurl在servicemix控制台中运行命令来获取描述符列表这些功能将是您自定义servicemix发行版中所需的功能,在这种情况下,我将添加webconsole和几个骆驼组件。

<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>my.group</groupId>
  <artifactId>custom-servicemix</artifactId>
  <version>1.0</version>
  <packaging>pom</packaging>
  <name>My custom service mix repository</name>
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.karaf.tooling</groupId>
        <artifactId>features-maven-plugin</artifactId>
        <version>2.3.9</version>
        <executions>
          <execution>
            <id>add-features-to-repo</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>add-features-to-repo</goal>
            </goals>
            <configuration>
              <descriptors>
                <descriptor>mvn:org.apache.camel.karaf/apache-camel/2.13.3/xml/features</descriptor>
                <descriptor>mvn:org.apache.servicemix/apache-servicemix/5.1.4/xml/internal</descriptor>
                <descriptor>mvn:org.apache.activemq/activemq-karaf/5.10.0/xml/features</descriptor>
                <descriptor>mvn:org.apache.karaf.assemblies.features/standard/2.3.9/xml/features</descriptor>
                <descriptor>mvn:org.apache.karaf.assemblies.features/enterprise/2.3.9/xml/features</descriptor>
                <descriptor>mvn:org.apache.jclouds.karaf/jclouds-karaf/1.7.2/xml/features</descriptor>
                <descriptor>mvn:org.apache.cxf.karaf/apache-cxf/2.7.13/xml/features</descriptor>
                <descriptor>mvn:org.apache.servicemix/apache-servicemix/5.1.4/xml/features</descriptor>
                <descriptor>mvn:org.apache.servicemix/apache-servicemix/5.1.4/xml/examples</descriptor>
                <descriptor>mvn:org.ops4j.pax.cdi/pax-cdi-features/0.8.0/xml/features</descriptor>
                <descriptor>mvn:org.apache.activemq/activemq-karaf/5.10.0/xml/features-core</descriptor>
              </descriptors>
               <features>
                <feature>webconsole</feature>
                <feature>camel-restlet</feature>
                <feature>camel-jackson</feature>
              </features>
              <repository>target/features-repo</repository>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
</project>

5)执行Maven项目。我注意到,有时行家会通过一部分而失败。重试后,我注意到它每次运行都拉入了其他的广口瓶,最后在第四次尝试中成功了。

/opt/apache-maven-3.0.3/bin/mvn install

6)将Maven文件覆盖在默认服务组合发行版上。

cp -Rvn target/features_repo/* /opt/apache-servicemix-5.1.4/system/

7)将您的自定义服务组合发行版压缩或压缩,然后将其移动到需要的位置。如果您使用的是代理,则可以取消配置Maven代理并清除Maven存储库,以验证是否已从服务组合控制台更新了服务组合。

features:install webconsole

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

Apache ServiceMix安装捆绑OSGI

来自分类Dev

Apache ServiceMix初学者

来自分类Dev

Apache ServiceMix安装捆绑OSGI

来自分类Dev

youtube视频完整版

来自分类Dev

Apache ServiceMix!请求重播Web服务消息

来自分类Dev

无法在 Apache ServiceMix 中启动 OSGI 包

来自分类Dev

Camel-NMR在Servicemix 5.x中不可用

来自分类Dev

XText禁用完整版本

来自分类Dev

在Apache Servicemix中以编程方式启动OSGI捆绑包

来自分类Dev

相同PHP组件的精简版和完整版

来自分类Dev

Android Jsoup获取网站的完整版本

来自分类Dev

USB记忆棒上的Kali Linux完整版

来自分类Dev

如何在 React 组件中使用 ckeditor 完整版

来自分类Dev

OSGi:java.lang.IllegalStateException:捆绑软件已卸载(org.apache.servicemix.bundles.drools)

来自分类Dev

将应用程序表单Wildfly迁移到Apache ServiceMix 5.1

来自分类Dev

apache.servicemix.bundles.quickfix-尝试创建独立的NewOrderSingle对象将引发异常

来自分类Dev

如何使用和使用org.apache.servicemix.bundles.poi osgi捆绑包

来自分类Dev

Apache ServiceMix 7,ScalaDSL,找不到与方案有关的组件:jetty

来自分类Dev

Gradle从完整版本中排除特定子项目

来自分类Dev

在Pelican中,如何将图像链接到完整版本?

来自分类Dev

Cake Build set完整版本,带有DotNetCoreBuild别名

来自分类Dev

自适应SVG在较大的屏幕尺寸下未显示完整版本

来自分类Dev

Scala二进制vs Scala完整版约定

来自分类Dev

使用crouton在Chrome操作系统上安装完整版本的Unity

来自分类Dev

OneNote的免费版本是否像OneNote的完整版本一样?

来自分类Dev

无法安装qt-components-ubuntu,因为我使用的是QT 5.0.0的完整版本

来自分类Dev

在Pelican中,如何将图像链接到完整版本?

来自分类Dev

如何使用Visual Studio 2012安装InstallShield 2010 SP1(完整版)

来自分类Dev

如何确定我是否已安装IIS Express或完整版?

Related 相关文章

  1. 1

    Apache ServiceMix安装捆绑OSGI

  2. 2

    Apache ServiceMix初学者

  3. 3

    Apache ServiceMix安装捆绑OSGI

  4. 4

    youtube视频完整版

  5. 5

    Apache ServiceMix!请求重播Web服务消息

  6. 6

    无法在 Apache ServiceMix 中启动 OSGI 包

  7. 7

    Camel-NMR在Servicemix 5.x中不可用

  8. 8

    XText禁用完整版本

  9. 9

    在Apache Servicemix中以编程方式启动OSGI捆绑包

  10. 10

    相同PHP组件的精简版和完整版

  11. 11

    Android Jsoup获取网站的完整版本

  12. 12

    USB记忆棒上的Kali Linux完整版

  13. 13

    如何在 React 组件中使用 ckeditor 完整版

  14. 14

    OSGi:java.lang.IllegalStateException:捆绑软件已卸载(org.apache.servicemix.bundles.drools)

  15. 15

    将应用程序表单Wildfly迁移到Apache ServiceMix 5.1

  16. 16

    apache.servicemix.bundles.quickfix-尝试创建独立的NewOrderSingle对象将引发异常

  17. 17

    如何使用和使用org.apache.servicemix.bundles.poi osgi捆绑包

  18. 18

    Apache ServiceMix 7,ScalaDSL,找不到与方案有关的组件:jetty

  19. 19

    Gradle从完整版本中排除特定子项目

  20. 20

    在Pelican中,如何将图像链接到完整版本?

  21. 21

    Cake Build set完整版本,带有DotNetCoreBuild别名

  22. 22

    自适应SVG在较大的屏幕尺寸下未显示完整版本

  23. 23

    Scala二进制vs Scala完整版约定

  24. 24

    使用crouton在Chrome操作系统上安装完整版本的Unity

  25. 25

    OneNote的免费版本是否像OneNote的完整版本一样?

  26. 26

    无法安装qt-components-ubuntu,因为我使用的是QT 5.0.0的完整版本

  27. 27

    在Pelican中,如何将图像链接到完整版本?

  28. 28

    如何使用Visual Studio 2012安装InstallShield 2010 SP1(完整版)

  29. 29

    如何确定我是否已安装IIS Express或完整版?

热门标签

归档