列出 JMS 物理目标并将其添加到 GlassFish v3.1

发布于 2024-09-29 03:00:31 字数 589 浏览 2 评论 0原文

从管理控制台在资源/JMS 资源/目标资源中将目标(队列)添加到目标资源后,服务器(管理服务器)/JMS 物理目标中不显示任何物理目标> 。相反,标题下方会显示以下错误消息:

发生错误
无法列出 JMS 目标

此外,在尝试在服务器(管理服务器)/JMS 物理目标上添加“队列”类型的新物理目标时,会显示以下错误消息:

错误已经发生
无法创建 JMS 目标

尝试在命令行中使用 asadmin 添加物理目标时:

asadmin> create-jmsdest -T queue DemoQueue

显示以下错误:

remote failure: Unable to create JMS Destination.

Command create-jmsdest failed.

此处,GlassFish Server 开源版 3.1-b24 在内核为 2.6.28-11-server 的 Ubuntu 上运行。

任何帮助表示赞赏。

After adding a destination(Queue) to Destination Resources from Admin Console at Resources/JMS Resources/Destination Resources, no physical destinations are displayed at server(Admin Server)/JMS Physical Destinations .Instead, the following error message is displayed below the heading:

An error has occured
Unable to list JMS Destinations

Also, on trying to add a new Physical Destination at server(Admin Server)/JMS Physical Destinations, of type 'Queue', following error message is displayed:

An error has occured
Unable to create JMS Destination

On trying to add a Physical Destination using asadmin in command-line as:

asadmin> create-jmsdest -T queue DemoQueue

the following error is displayed:

remote failure: Unable to create JMS Destination.

Command create-jmsdest failed.

Here, GlassFish Server Open Source Edition 3.1-b24 is run on Ubuntu with kernel 2.6.28-11-server.

Any help is appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

撩人痒 2024-10-06 03:00:32

我认为您不应该手动创建物理目的地。要在 GlassFish 中设置 JMS 资源,您所需要做的就是定义连接工厂和目标 - 全部位于管理界面中的资源 - JMS 资源分支下。当您的目的地被使用时,将自动创建物理目的地。

I don't think that you should create physical destinations manually. All you need to do to set up JMS resources in GlassFish is defining a connection factory and destinations - all under Resources - JMS resources branch in admin interface. When your destinations are used physical destinations will be created automatically.

栩栩如生 2024-10-06 03:00:32

第一次让我很困惑,所以我同情

GFv2.1.1(并且我怀疑 v3)物理目的地 - mq.sys.dmq - 已经创建和配置,并且队列已在此处创建。消息传递服务器是 SunMQ,如果您打算使用这个开箱即用的服务器,那么您不需要创建另一个物理目的地。

如果您确实需要创建另一个物理目标,请启动 [path-to-glassfish]/imq/bin/imqadmin.exe(或 ubuntu 等效项)并在那里进行操作。

confused me to no end first time so I sympathise

For GFv2.1.1 (and I suspect for v3) a physical destination - mq.sys.dmq - is already created and configured and queues are created here. The messaging server is SunMQ and if it is your intention to use this out-of-the-box then you don't need to create another physical destination.

if you do indeed need to create another physical destination launch [path-to-glassfish]/imq/bin/imqadmin.exe (or ubuntu equiv) and do it there.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文