对Weblogic上的JMS进行故障排除 [英] Troubleshooting JMS on weblogic

查看:840
本文介绍了对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进行故障排除的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆