jms - 功能安装错误 wmqjmsclient-1.1
问题描述
功能安装错误:
尝试按照文档启用此wmqjmsclient-1.1或wmqjmsclient-2.0功能来安装 JMS-MQ。两个版本都给出相同的错误,请让我知道如何安装/启用此功能。
[ERROR] Failed to execute goal io.openliberty.tools:liberty-maven-plugin:3.3.4:run (default-cli) on project CC: CWWKF1299E: The following features could not be obtained: wmqjmsclient-1.1. Ensure that the features are valid for Open Liberty. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
解决方案
wmqJmsClient
在 Open Liberty 中不可用,仅在 WebSphere Liberty 中可用。要将 MQ 与 Open Liberty 一起使用,您可以resourceAdapter
像本示例中那样创建一个元素 ( https://github.com/epomatti/openliberty-jms-mq-example/blob/47171bec7ef8a1e701ae363293a6cfd6a9bd5b32/liberty/server.xml#L12 )
<resourceAdapter id="wmqjmsra"
location="${server.config.dir}/wmq.jmsra.rar" />
确保选择wmqJms
与示例不同的 id,因为可能会出现问题。您将使用该名称来指定属性,例如同一个示例文件:
<jmsQueue id="jms/queue1" jndiName="jms/queue1">
<properties.wmqjmsra baseQueueManagerName="QM1"
baseQueueName="DEV.QUEUE.1" />
</jmsQueue>
jms-2.0
如果您没有任何其他功能将其引入,请确保启用该功能本身。
推荐阅读
- android - 签署 Android 白标应用程序
- angular - Angular CDK拖放添加新元素不移动
- c# - DataTable.Columns.Remove() 的时间/空间复杂度是多少?
- python - No Module Found python (在IDE之外运行)
- javascript - 禁用按钮,直到所有表单字段都填写在 Formik
- haskell - 我的最长公共子序列 Haskell 函数有什么问题?
- oauth-2.0 - Google OAuth2 Java 代码每次都询问权限
- html - 如何测试视口元标记的效果?
- ruby-on-rails - Ruby on rails 无法在 Windows 10 上运行
- angular - 如何在没有标志的情况下使用 ngx-bootstrap angular 折叠