Troubleshooting JMS on weblogic

人走茶凉 提交于 2019-12-13 18:16:33

问题


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

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

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?


回答1:


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

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

Step 1 - Select 'JMS Servers' under Services->Messaging from the home page or the left-nav bar:

Step 2 - Select the 'JMS Server' for the AdminServer or one of the Managed Servers where your JMS Queue is deployed:

Step 3 - Select Monitoring->Active Destinations. Then select 'Customize this Table' and add the 'Consumers Current' and optionally 'Consumers High' to the table:

Step 4 - Scroll to the right if you cannot see the 'Consumers Current' column. You should see a count >0 if your application that is supposed to read the message is listening on the queue. If ConsumersCurrent==0 and ConsumersHigh==0 then no consumers ever connected to the destination to read messages:

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



来源:https://stackoverflow.com/questions/11780706/troubleshooting-jms-on-weblogic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!