对Weblogic上的JMS进行故障排除

编程入门 行业动态 更新时间:2024-10-09 14:18:37
本文介绍了对Weblogic上的JMS进行故障排除的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我的应用程序将消息写入JMS队列. 我检查了调试器,确认所有内容均正确编写.

My application writes messages to the JMS queue. I checked with the debugger that everything is written properly.

在服务器控制台的JMS监视中,我可以看到Message Current的数量增加(从我的消息中得知).

On the server console, in JMS Monitoring I can see Message Current increases in number (from my message).

但是,应该有一个组件可以从队列中读取消息并在服务器计算机上写入文件,并且这种情况没有发生. 我还不熟悉JMS.

However, there is a component that is supposed to read messages from the queue and write a file on the server machine, and this is not occurring. I am not familiar with the JMS yet.

我该怎么做才能解决此问题?在知道不是第三方,而是我们自己的应用程序中的东西之前,我应该在配置中寻找什么?

What should I do to troubleshoot this? What should I look for in the configurations, before I know that is is not the 3rd parties, but something with our own application?

推荐答案

第一步是检查JMS队列中是否有使用者.

The first step would be to check to see if you have consumers on the JMS queue.

以下是您如何在JMS目的地上查看使用者的信息:

Here's how you can view the consumers on a JMS Destination:

步骤1-从主页或左侧导航栏中的服务"->消息传递"下选择"JMS服务器": 消息传递">

步骤2-为AdminServer或部署JMS队列的其中一台受管服务器选择"JMS服务器":

步骤3-选择监视"->活动目标".然后选择自定义此表",然后将当前消费者"和高消费者"添加到表中: 活动目标"">

第4步-如果看不到"Consumers Current"列,请向右滚动.如果应该读取消息的应用程序正在队列中侦听,则应该看到计数> 0.如果ConsumersCurrent == 0和ConsumersHigh == 0,则没有消费者连接到目标以读取消息:

如果没有使用方,请确保正确部署和/或配置了应该使用该消息的应用程序.

If there are no consumers, ensure that your application that is supposed to consume the message is deployed and/or configured properly.

更多推荐

对Weblogic上的JMS进行故障排除

本文发布于:2023-11-28 08:20:37,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1641644.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:故障排除   Weblogic   JMS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!