activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nageswara P Nakarikanti (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (AMQ-1751) ActiveMQ not sending messages to consumers
Date Tue, 01 Mar 2011 13:02:37 GMT

    [ https://issues.apache.org/jira/browse/AMQ-1751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000860#comment-13000860
] 

Nageswara P Nakarikanti edited comment on AMQ-1751 at 3/1/11 1:01 PM:
----------------------------------------------------------------------

Hi,

Providing Attachments as Requested by Gary Tully.

My Environment:: ActiveMQ 5.2.0 - PERSISTENT MODE, Windows 2003 Server, Oracle 10

I have successful simple producer and consumer programs I always use for my test.(FYI: I can
configure it to change No.Of Producers, No.of Consumers, and No.of Messages)

In our application, developers reporting to me of a particular job that it is not getting
2 paticular messages from activeMQ to complete the Job Process.
Not always but some times.

I saw them pending in ActiveMQ Admin Pages - queue browser.
==========================================
First test run:
==========================================
I sent a simple text message "NNP Message" to that same queue, and my consumer is waiting
to receive them
Whereas Queue browser is showing them as sent and received but no pending.

Program Output:
	Connection Established :: ID:DWD51075520-3438-1298909628155-1:1

	ActiveMQ Machine : tcp://DWDAPPP05PW:63616
	ActiveMQ Queue : UIMJobQueuePreProdTax
	I AM  :: Thread-5

	Consumer STARTED
	Sending Message - 1
	Sending Message - 2
	Sending Message - 3  ...........................and keep on waiting
==========================================
Second test run:
==========================================
Same Program, Same Active MQ, But I sent to "different queue" now. Successfully Received those
Messages

	Connection Established :: ID:DWD51075520-3767-1298911642514-1:1

	ActiveMQ Machine : tcp://DWDAPPP05PW:63616
	ActiveMQ Queue : TestTestTestQ

	I AM  :: Thread-5

	Consumer STARTED
	Sending Message - 1
	Sending Message - 2

	FOUND SOME MESSAGE - 1

	I AM ::Thread-7   Received NNP Message - 1

	FOUND SOME MESSAGE - 1

	I AM ::Thread-7   Received NNP Message - 2

	FOUND SOME MESSAGE - 1

	I AM ::Thread-7   Received NNP Message - 3
	Sending Message - 3


After reading this Bug scenario...I can also consider "After running for several days" situation
and applying to my issue. The attachment provided can be used as a test case requested by
Gary Tully

This is really giving us a big problem, as that job is very crucial to be completed in time,
and due to this problem it is keep on waiting.

I can not suspect their consumer program OR their JMS type of that message, as the same thing
is happening to my message and program.

I am attaching the ActiveMQ Log snippet, My Testing Programs, Please analyse it and help me,
I am clue less and very urgent.


Thank You,
Nageswara P Nakarikanti.

      was (Author: nnprasad):
    Hi,

ActiveMQ 5.2.0 - PERSISTENT MODE, Windows 2003 Server, Oracle 10

I have successful simple producer and consumer programs I always use for my test.(FYI: I can
configure it to change No.Of Producers, No.of Consumers, and No.of Messages)

In our application, developers reporting to me of a particular job that it is not getting
2 paticular messages from activeMQ to complete the Job Process.
Not always but some times.

I saw them pending in ActiveMQ Admin Pages - queue browser.

First test run:

I sent a simple text message "NNP Message" to that same queue, and my consumer is waiting
to receive them
Whereas Queue browser is showing them as sent and received but no pending.

Program Output:
	Connection Established :: ID:DWD51075520-3438-1298909628155-1:1

	ActiveMQ Machine : tcp://DWDAPPP05PW:63616
	ActiveMQ Queue : UIMJobQueuePreProdTax
	I AM  :: Thread-5

	Consumer STARTED
	Sending Message - 1
	Sending Message - 2
	Sending Message - 3

Second test run:

Same Program, Same Active MQ, But I sent to "different queue" now. Successfully Received those
Messages

	Connection Established :: ID:DWD51075520-3767-1298911642514-1:1

	ActiveMQ Machine : tcp://DWDAPPP05PW:63616
	ActiveMQ Queue : TestTestTestQ

	I AM  :: Thread-5

	Consumer STARTED
	Sending Message - 1
	Sending Message - 2

	FOUND SOME MESSAGE - 1

	I AM ::Thread-7   Received NNP Message - 1

	FOUND SOME MESSAGE - 1

	I AM ::Thread-7   Received NNP Message - 2

	FOUND SOME MESSAGE - 1

	I AM ::Thread-7   Received NNP Message - 3
	Sending Message - 3


This is really giving us a big problem, as that job is very crucial to be completed in time,
and due to this problem it is keep on waiting.

I can not suspect their consumer program OR their JMS type of that message, as the same thing
is happening to my message and program.

I am attaching the ActiveMQ Log snippet, My Testing Programs, Please analyse it and help me,
I am clue less and very urgent.


Thank You,
Nageswara P Nakarikanti.
  
> ActiveMQ not sending messages to consumers
> ------------------------------------------
>
>                 Key: AMQ-1751
>                 URL: https://issues.apache.org/jira/browse/AMQ-1751
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 5.1.0
>            Reporter: Chris Josephes
>             Fix For: NEEDS_REVIEWED
>
>         Attachments: AMQConsumer.java, AMQProCon.java, AMQProducer.java, ActiveMQIssueDebugLog.log
>
>
> After many days of normal operation, the ActiveMQ broker was no longer sending messages
to our consumer agents.  Messages eventually would up accumulating in the dead letter queue.
 The behavior was only corrected after I made a backup of the data directory, wiped out the
original data, and restarted ActiveMQ.  The environment is using the amqPersistanceAdapter.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message