[JBoss JIRA] Created: (JBMESSAGING-1684) Message remain in the queue and do not get dispatched
by Alexander Marktl (JIRA)
Message remain in the queue and do not get dispatched
-----------------------------------------------------
Key: JBMESSAGING-1684
URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1684
Project: JBoss Messaging
Issue Type: Quality Risk
Environment: SuSe Linux Enterprise Server 10, Java 1.5.0_11, AS 5 with JBoss Messaging - default installation
Reporter: Alexander Marktl
Assignee: Tim Fox
Priority: Minor
I tried to create 10 queues and send 10.000 messages per queue from a single producer per queue to a single consumer per queue. Unfortunately not all of the messages where delivered, some messages remain in the queues and wait for delivery. The JMX console for example states: 3 messages in the queue, 3 messages pending for delivery. But nothing happens. My receivers don't get these last messages. I don't know if this is a configuration issue or a bug.
The queues are named: qname_0 ...qname_n
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months
[JBoss JIRA] Created: (JBMESSAGING-1707) ConcurrentModificationException in ClientClusteredConnectionFactoryDelegate
by Pavel Slavicek (JIRA)
ConcurrentModificationException in ClientClusteredConnectionFactoryDelegate
---------------------------------------------------------------------------
Key: JBMESSAGING-1707
URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1707
Project: JBoss Messaging
Issue Type: Quality Risk
Components: JMS Client Manager
Affects Versions: 1.4.3.GA
Reporter: Pavel Slavicek
Assignee: Tim Fox
I have found ConcurrentModificationException in ClientClusteredConnectionFactoryDelegate.
Exception in thread "Thread-11" java.util.ConcurrentModificationException
at java.util.WeakHashMap$HashIterator.nextEntry(WeakHashMap.java:784)
at java.util.WeakHashMap$KeyIterator.next(WeakHashMap.java:817)
at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate$FinalizerShutdownHook.run(ClientClusteredConnectionFactoryDelegate.java:414)
Client:
client with multiple threads, every thread creates-sends-receives-closes.
Problem description:
Problem is in the ClientClusteredConnectionFactoryDelegate.java in the inner class FinalizerShutdownHook.
Shutdown hook implementation should to be written as thread safe (see javadoc for addShutdownHook() method).
Method run() in the FinalizerShutdownHook class iterates over all elements in the registered delegates
but this iteration should be synchronized on the delegates object.
Please see http://java.sun.com/javase/6/docs/api/java/util/Collections.html#synchron...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
12 years, 3 months