【问题标题】:Install Wildfly using Galleon使用 Galleon 安装 Wildfly
【发布时间】:2019-08-29 02:23:59
【问题描述】:

我通过以下命令使用 Galleon 安装了最小的 Wildfly 发行版

galleon.sh install wildfly:current --layers=jaxrs,cdi,web-server,logging,management,core-management --dir=wildfly

Bellow 是我在应用服务器中获得的组件

<extension module="org.jboss.as.deployment-scanner"/>
<extension module="org.jboss.as.ee"/>
<extension module="org.jboss.as.jaxrs"/>
<extension module="org.jboss.as.jmx"/>
<extension module="org.jboss.as.logging"/>
<extension module="org.jboss.as.naming"/>
<extension module="org.jboss.as.weld"/>
<extension module="org.wildfly.extension.bean-validation"/>
<extension module="org.wildfly.extension.core-management"/>
<extension module="org.wildfly.extension.elytron"/>
<extension module="org.wildfly.extension.io"/>
<extension module="org.wildfly.extension.request-controller"/>
<extension module="org.wildfly.extension.security.manager"/>
<extension module="org.wildfly.extension.undertow"/>

发现配置文件“standalone.xml”中没有ejb3,transactions

org.jboss.as.ejb3
org.jboss.as.transactions

我研究并阅读了 Galleon 中的所有文档,我找不到安装 ejb3 和事务的正确语法 我尝试了以下命令

galleon.sh install wildfly:current --layers=jaxrs,cdi,web-server,ejb3,transactions,logging,management,core-management --dir=wildfly

但 Galloen 没有识别 ejb3 和事务

我可以看看使用 ejb3 疯狂安装并使用 Galleon 进行交易的任何想法或来源?

  • 加隆版本:3.0.2
  • Wildfly 版本:16.0.0 最终版

【问题讨论】:

    标签: transactions ejb wildfly


    【解决方案1】:

    如果您使用“jpa”层,交易将被拉出。 对于 ejb3,我在任何层配置中都没有看到它。

    【讨论】:

      【解决方案2】:

      我们没有用于 ejb3 的层。我们定义了层来处理轻量级服务器。 jaxrs 和 cdi 层依赖于 web-server,你不需要安装它,当你包含 jaxrs 或 cdi 时会包含它。

      【讨论】:

      • 谢谢@jean-francois Denise。这意味着如果我想使用 EJB3,我无法使用 Galleon 进行安装。我需要使用从这里wildfly.org/downloads 下载的完整 Java EE Wildfly 分发版本?
      • 您可以使用 Galleon 安装:galeon install wildfly:current --dir=myserver,这将安装所有配置。如果您只需要standalone.xml,请使用选项--default-configs=standalone/standalone.xml
      • 嗨@jean-francois Denise 我认为您错过了上述问题的重点。我想构建一个最小的 Widfly 发行版。此命令 galleon install wildfly:current --dir=myserver --default-configs=standalone/standalone.xm install full distribution for Standalone。
      • 对于最少的安装,您需要层。所以是的,你不能。
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-12-10
      • 2014-12-24
      • 1970-01-01
      • 2017-07-06
      • 2018-02-05
      • 2023-04-04
      • 1970-01-01
      相关资源
      最近更新 更多