Commit Graph

6064 Commits

Author SHA1 Message Date
Howard Gao 2bd8fa7c5d ARTEMIS-2197 Page deleted before transaction finishes
Fixed regression caused by previous commit
b36dc37c15
2018-12-13 20:18:31 +08:00
Clebert Suconic 3d1195455a This closes #2452 2018-12-12 13:34:36 -05:00
Timothy Bish 2ec53353a9 ARTEMIS-1938 Update Qpid JMS and proton-j to latest
Updates Qpid JMS to v0.39.0 and proton-j to v0.31.0
2018-12-12 13:34:35 -05:00
Clebert Suconic 76cce9037e This closes #2455 2018-12-11 10:27:22 -05:00
Howard Gao b36dc37c15 ARTEMIS-2197 Page deleted before transaction finishes
When a receiving transaction is committed in a paging situation,
if a page happens to be completed and it will be deleted in a
transaction operation (PageCursorTx). The other tx operation
RefsOperation needs to access the page (in PageCache) to finish
its job. There is a chance that the PageCursorTx removes the
page before RefsOperation and it will cause the RefsOperation
failed to find a message in a page.
2018-12-11 10:22:18 -05:00
Francesco Nigro f5b509b962 This closes #2448 2018-12-06 17:03:58 +01:00
Justin Bertram 8a46c3ee16 ARTEMIS-2189 allow deleting temp dest when session is closed 2018-12-06 17:03:58 +01:00
Francesco Nigro f75da3c851 This closes #2439 2018-12-06 16:45:35 +01:00
Justin Bertram 3c595f18d5 ARTEMIS-2179 mgmnt method to get cluster-cxn names 2018-12-06 16:45:35 +01:00
Francesco Nigro 8e4bc48132 This closes #2437 2018-12-06 16:13:40 +01:00
Justin Bertram d6bca3825f NO-JIRA doc for divert routing-type 2018-12-06 16:13:40 +01:00
Francesco Nigro a2705ae91d This closes #2372 2018-12-06 16:00:53 +01:00
Justin Bertram 647998c4e1 ARTEMIS-2126 web server can leak 2018-12-06 16:00:53 +01:00
Michael Andre Pearce 10b661a5c2 This closes #2038 2018-11-21 19:59:45 +00:00
King Ramos 92fcff5ff4 ARTEMIS-1828 CLI option for queue's routing-type
Optionally specify a queue routing type when creating a broker. Example:
"create --queues myqueue,mytopic:multicast". Defaults to anycast if
unspecified.
2018-11-21 19:59:45 +00:00
Clebert Suconic ddd79d8922 This closes #2433 2018-11-15 20:18:37 -05:00
Timothy Bish 593348b9ad ARTEMIS-1938 Update proton-j to 0.30.0 and Qpid JMS 0.37.0
Update to latest proton-j release and refactor the dispostion code to use
the new type enums to better deal with the dispistions.  Updates to Qpid JMS
0.37.0 which still uses the current netty 4.1.28.Final dependency.
2018-11-15 20:18:37 -05:00
Clebert Suconic 9263bb4355 This closes #2436 2018-11-15 20:18:20 -05:00
Justin Bertram 3e5a2f4951 NO-JIRA improve logging for test System prop cleanup 2018-11-15 20:18:19 -05:00
Clebert Suconic acb8ff5a2e This closes #2435 2018-11-15 20:17:55 -05:00
Justin Bertram 2898384591 NO-JIRA fix QueueControlUsingCoreTest 2018-11-15 20:17:55 -05:00
Clebert Suconic ea2bd92755 This closes #2416 2018-11-15 09:27:01 -05:00
Emmanuel Hugonnet 80525f1c91
[ARTEMIS-2163]: Classloading issue if artemis-commons is not in the same classloader as artemis-client-* or artemis-server.
* Passing the owner class to define the classloader to load classes via ClassLoadingUtil with artemis-commons in a different classloader..

JIRA: https://issues.apache.org/jira/browse/ARTEMIS-2163
2018-11-14 18:23:30 +01:00
Clebert Suconic 9d680cc0ba This closes #2426 2018-11-14 10:49:16 -05:00
Justin Bertram e81453e660 ARTEMIS-2140 queue creation race w/AMQP shared subs 2018-11-14 10:49:15 -05:00
Clebert Suconic 29062935a5 This closes #2428 2018-11-14 10:48:24 -05:00
Clebert Suconic d6ffa8b426 NO-JIRA fix on JMSBridgeTestBase 2018-11-14 10:43:20 -05:00
Ingo Weiss ff5f1213bb [ARTEMIS-2175] Duplicate messages when JMS bridge is stopped and restarted
Issue: https://issues.apache.org/jira/browse/ARTEMIS-2175
2018-11-14 10:31:48 -05:00
Clebert Suconic c50c493427 This closes #2430 2018-11-14 10:23:57 -05:00
Howard Gao 6e89b22eaa ARTEMIS-2174 Broker reconnect cause OOM with scale down
When a node tries to reconnects to another node in a scale down cluster,
the reconnect request gets denied by the other node and keeps retrying,
which causes tasks in the ordered executor accumulate and eventually OOM.

The fix is to change the ActiveMQPacketHandler#handleCheckForFailover
to allow reconnect if the scale down node is the node itself.
2018-11-14 10:23:57 -05:00
Clebert Suconic 256e7c8aae This closes #2260 2018-11-14 10:22:46 -05:00
feuillemorte be9676c0d3 ARTEMIS-2104 Added tests in artemis-cli//MessageSerializerTest
Added new cases:
- export from anycast queue, then import to multicast topic where number of queues > 1
- export from anycast queue, then import to multicast fqqn where number of queues > 1
- export from multicast topic, then import to anycast queue (both address)
- export from anycast queue, then import to multicast topic (both address)
2018-11-14 10:22:46 -05:00
Clebert Suconic b4c9910f58 This closes #2425 2018-11-14 09:58:34 -05:00
Michael André Pearce 5ac87609e7 ARTEMIS-2142 Refactor of Patchfix ServerJMSMessage
Refactor ServerJMSMessage so it correctly transposes all JMSX headers.
Push common JMSX mappings for JMS to Message Interface mappings into MessageUtil to avoid duplication in ActiveMQMessage and ServerJMSMessage
2018-11-14 09:58:34 -05:00
Clebert Suconic a20d7a0339 This closes #2424 2018-11-14 09:54:29 -05:00
Michael André Pearce 14451a79eb ARTEMIS-2142 Patch Fix ServerJMSMessage for JMSXGROUPSEQ
This is a patch fix for JMSXGROUPSEQ.
2018-11-14 09:54:28 -05:00
Clebert Suconic 54e9d67b9a This closes #2431 2018-11-14 09:52:44 -05:00
Sebastian Thomschke ee7cc82a4d NO-JIRA Prevent maven-source-plugin being executed twice
With the current Maven config, the maven-source-plugin is executed twice, this results in the sources-jars being attached twice which leads the deploy goal in trying to upload the same sources jars twice to the repository. This slows down the build process and also fails on repositories that disallow updating of existing artifacts.

Additionally the "jar" goal is now replaced with "jar-no-fork" which prevents the maven life cycle being executed twice too.
2018-11-14 15:48:57 +01:00
Clebert Suconic ff2073a7ed This closes #2417 2018-11-13 17:37:51 -05:00
Justin Bertram f4396da9fd ARTEMIS-2108 fix another potential StackOverflow 2018-11-13 17:37:51 -05:00
Clebert Suconic 699591ee9b This closes #2429 2018-11-13 17:37:02 -05:00
Andreas Frohwerk 32fd445dd2 NO-JIRA Fix minor leak in FileMoveManagerTest
Not closing the InputStream makes this test flaky on Windows. The test
breaks because FileMoveManager::delete(java.io.File) Line 221 fails
to delete the file if it's still "owned" by the JVM process on Windows.
2018-11-13 17:36:48 -05:00
Justin Bertram 366005e44f This closes #2420 2018-11-09 10:05:13 -06:00
Šmucr Jan 6d0641b438 ARTEMIS-2169 allow config of JMX RMI registry port
Previously the port was always random. This caused problems with
remote JMX connections that needed to overcome firewalls. As of
this patch it's possible to make the RMI port static and whitelist
it in the firewall settings.
2018-11-09 10:04:13 -06:00
Michael Andre Pearce b3e767caec This closes #2041 2018-11-09 14:43:34 +00:00
Howard Gao ae320c14a5 ARTEMIS-1825 Live-backup topology not correctly displayed on console 2018-11-09 14:43:34 +00:00
Michael Andre Pearce bd1777799a This closes #2374 2018-11-08 23:56:51 +00:00
Justin Bertram c2188aa058 ARTEMIS-2127 Add auth details to consumer created notification 2018-11-08 23:56:51 +00:00
Michael Andre Pearce 55cb2dbf45 This closes #2410 2018-11-08 23:50:08 +00:00
feuillemorte a65e711fbc ARTEMIS-2125 Tabs preference changes to display columns not persistent through page refresh 2018-11-08 23:50:08 +00:00