| Summary: | MDB suddenly stops processing messages | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Martin Vecera <mvecera> | ||||||
| Component: | qpid-java | Assignee: | messaging-bugs <messaging-bugs> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | MRG Quality Engineering <mrgqe-bugs> | ||||||
| Severity: | urgent | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 2.0 | CC: | astitcher, wprice | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-12-07 17:41:18 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
|
Description
Martin Vecera
2011-09-20 11:19:34 UTC
Is this a duplicate of bug 739332? No, different issue. The deadlock issue of bug 739322 is only applicable for endpointActivation on startup, not after a listener (MDB) is deployed and running. The above issue appears to be purely performance based. A few things about this. Using QE's code, I was able to reproduce the issue. However 1) The issue (as expected) is in the JMS client, not the adapter. As such I am changing the component. 2) This is a performance issue and as such, I am changing the milestone as 2.0.4 is probably not enough time to evaluate and possibly fix this issue in the 2.0.4 timeframe. FYI
A few more things as a result of some ad hoc testing. I was able to get the test to complete only after making the mrg_mrg_jca_mdb_transations_in queue non durable. Test completed with the following message from the Servlet:
performance01 125130 ACK
I believe we have known performance issues around durable destinations so I just wanted to make note that this definitely seems to influence the test results.
Also, the WARN message in the logs:
2011-09-20 06:50:23,974 ERROR [STDERR] (HDScanner) javax.jms.IllegalStateException: This method is not applicable inside the application server. See the J2EE spec, e.g. J2EE1.4 Section 6.6
Is due to the call
@PreDestroy
public void preDestroy() {
try {
connection.stop(); <-- here
connection.close();
} catch (JMSException e) {
e.printStackTrace();
}
}
In the MRGTestServlet as the call to connection.stop() is only applicable to JEE application clients. However, this doesn't have anything to do with the test as a whole and can be ignored as being a factor.
I removed calling the stop() method, however, it does not influence test results... Created attachment 552027 [details]
Server log with Qpid 0.14, January 11th 2012
I attached a fresh log from the server with Qpid client and server version 0.14. It seems that this time the message reading did not stop. However, I do not know how many messages has been read correctly - I'm not sure if there were any losses. I wonder why there are so many exception regarding refused connection.
I discovered that there was a different problem in the last rerun. Now I verified that Qpid works fine and this is no longer an issue. |