| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@812156 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
sync on the failoverMutex in AMQSession that was causing the notification of the close to be blocked until a TimeOutException occured.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@812153 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
control setting from the environment
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@812103 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
error response
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@812083 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
main threads closing. The issue is ok as the main thread will not perform a syncWait, however, the set exception will be rethrown.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@812043 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
be set on a per session basis
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@811748 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@811725 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
fixed the issue with ChannelCloseExceptions by closing the channel and not sending the ChannelClose when the Channel has already been closed by the broker.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@811472 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
the mina exception notification thread and the clients main thread blocking for a frame. Occasionally, the client will start blocking just after the notification and so will Timeout. This update ensures that blocking does not occur if the connection has been marked closing or is closed. The lastException set on the StateManager is thrown instead.
The connection close also needed to take into consideration this fact. The syncWrite on for ChannelClose and ConnectionClose are now only down if we are not in a closing situation. As the 0-10 code path does not use the StateManager the changes were applied to the 0-8 Session. Further testing may be needed to validate that the 0-10 client code path does not also have this race condition.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@811471 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@811470 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@811469 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810584 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810538 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
before delivered messages could be acked. So adjusted test to have the client dispatcher ready to deliver and relax the constraint that we validate which actor is doing the logging. The fact the state has changed correctly is the important factor.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810441 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
initial receive is to low as there will be no prefetched data to use. Increasing to 1000ms.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810093 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
SUSPENDING states so that the log can occur. As there are multiple threads editing the state of the subscripition it is possible that the state change does not result in a log message being produced.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810072 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
condition when a control thread trys to close the connection at the same time as the exception handling thread is also closing the connection.
Solution here is to wait for the exception handling thread to have done enough to mark the connnection closed so the race condition will not occur.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809981 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809957 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
better tested by the _Timeout test. This test verifies that the message is not in the file then waits for it ot occur. The _Found test is failing as we have not waited long enough for the message to be logged.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809936 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
file 10 times, just in case.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807983 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
individual try-catch block to ensure attempt is made to unregister all listeners. Close the JMXConnector.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807737 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
| |
I added a flag to disable flow control when max prefetch is zero. This will also prevent unnessacery suspend/resume actions (and hence extra threads being spawned) when the non meaningful thresholds (for the above case) are passed.
I also think that adjusting the count and puting the message into the queue should be an atomic operation. This means notifying the listener will also need to be squeezed insde the same sync block. Another point to note is that this is redundent in the 0-10 codepath as we have protocol level flow control. Since a more complete overhaul is needed in this area, for the time being I have only done the bare minimum.
I also added a timeout for all sync receives in the DurableSubscriptionTest. This will prevent the whole test suite from hanging if messages don't arrive as expected.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807292 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
configuration template
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807236 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807055 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807054 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
queue for the channel, if there is one
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807053 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
bindings in a Headers exchange via JMX, as the HeaderBindind supports this as specifying a match on key presence only
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807050 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
JMXConnectionNotification.CLOSED notification is recieved
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807044 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807043 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
better suit use with a 1024x768 screen resolution
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807042 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807041 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
retry it. Log files sometimes take a while to write, y'know.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@806165 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Optionally print out the whole thing if the log monitor fails to find the text.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805848 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
broker enough time to start and suspend the connection.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805795 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
The above commit resulted in the FailoverTest and QueueBrowserAutoAckTest to fail under the java profiles.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805604 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805482 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805441 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
as client examples.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805418 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
| |
profile using SSL connections.
This commit should also fix the tests hanging under the SSL test profile due to port conflicts with SSL and failover ports.
FailoverBaseCase and FailoverTest is improved to handle the failover port without having to rely on port arithmetic.
The FailoverBaseCase is modified to use the failover.ssl connection factory when running under the SSL profile.
I have uncommented the FailoverTest from the cpp.ssl.excludes. However only a selected set of tests will run outside the cpp.clustered profile.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805267 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
in the xml file, and relax the level-check to allow undefined system properties. Move the Log4J initialisation override inside Main instead of the startup scripts, and have it check for -Dlog4j.configuration first before engaging.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805188 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
changing the displayed attributes
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805046 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
SelectorTest and SubscriptionLoggingTest all use transactions to stop intermittent timing related test failures.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805021 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
if the rename/move succeeds, and if not attempt a copy instead
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805020 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
rename/move succeeds, and if not attempt a copy instead
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805019 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
attempt the move if the new file is created successfully. Check if the rename/move succeeds, and if not attempt a copy instead
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805018 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
the move if the new file is created successfully. Check if the rename/move succeeds, and if not attempt a copy instead
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805017 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
instead of wrapping as them runtime exceptions
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805016 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805015 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
between tests
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804814 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
result in DEBUG logging
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@804813 13f79535-47bb-0310-9956-ffa450edef68
|