3051 Commits

Author SHA1 Message Date
Clebert Suconic
41bd6c7cfb ARTEMIS-1261 Fix compilation 2017-07-25 22:43:57 -04:00
Clebert Suconic
9eb2799cb5 ARTEMIS-1305 Server Frozen during shutdown if RA is retrying
(cherry picked from commit 7bf8e4e8900fad3f205aac95f3f5835f580baa43)
2017-07-25 22:40:47 -04:00
Clebert Suconic
1865e9feef NO-JIRA Traces on the Resource Adapter 2017-07-25 17:46:22 -04:00
Clebert Suconic
5298a3979b ARTEMIS-1257 Fixing hashCode
ResourceAdapterTest had a few failures with a NPE

(cherry picked from commit 08d8c08ed3825d53666d774d0b919b6cd2caa545)
2017-07-25 16:59:48 -04:00
Clebert Suconic
8def77b8bf NO-JIRA Traces on Resource Adapter Message Handler
(cherry picked from commit 1796e5935f51555651fd686b5b5c559300ddd807)
2017-07-25 12:57:24 -04:00
Martyn Taylor
c3eeea4910 ARTEMIS-1271 FileSystemMonitor locking improvement
(cherry picked from commit ce756d46f9c90e4d7d0eb0e0090384d6d646af3e)
2017-07-25 12:19:59 -04:00
Howard Gao
004c86804f ARTEMIS-1261 Adjust default confirmation-window-size for bridges
The default id-cache-size is 20000 and the default
confirmation-window-size is 1MB. It turns out the 1MB
size is too small for id-cache-size.

To fix it we adjust the confirmation-window-size to 10MB. Also
a test is added to guarantee it won't break this rule when this
default value is to be changed to any new value.

(cherry picked from commit 06986e4ee1eb32fc2642b111ca3955518f684adb)
2017-07-25 12:11:37 -04:00
Josh Reagan
21f86a4844 ARTEMIS-1255 Fixed authentication issues with XAConnectionFactory
Added the global user/password variables to all of the variations of the createContext/createConnectionFactory methods.

(cherry picked from commit 177bda4892b0aabd89311ec28b91762fb22ebaae)
2017-07-25 12:03:50 -04:00
Howard Gao
144a7c8a42 ARTEMIS-1220 Diverted LargeMessage file corrupted during replication
When a large message is being diverted, a new copy of the original
message is created and replicated (if there is a backup) to the backup.

In LargeServerMessageImpl.copy(long) it reuse a byte array to copy
message body. It is possible that one block of date is read into
the byte array before the previous read has been replicated,
causing the replicated bytes to corrupt.

If we make a copy of the byte array before replication, the corruption
of data will be avoided.

(cherry picked from commit 045021f7df583f6109cb0749dc1601c9a85dbe75)
2017-07-25 11:52:28 -04:00
Clebert Suconic
cba7af50b6 ARTEMIS-1304 ignoring invalid test
(cherry picked from commit cd9ce6a5025c5ad702ce5a0f0b2251ffb8d3ff82)
2017-07-25 10:09:04 -04:00
Clebert Suconic
ffa09afb1f ARTEMIS-1304 fixing compilation 1.x 2017-07-24 22:55:07 -04:00
Clebert Suconic
2a2f25664c ARTEMIS-1304 Message loss on Commmit timeout during failover
(cherry picked from commit 50a900c04b497c470eeb5c69985944cd6666ffa0)
2017-07-24 20:27:56 -04:00
Francesco Nigro
44d3be5a7e ARTEMIS-1301 Network failures recognition on backpressure while streaming large messages
(cherry picked from commit 32fe21d59591788f67cbb65d7cb7e641f74c44d1)
2017-07-24 09:43:43 -04:00
xstefank
e2d9e1bb63 ARTEMIS-1257 ActiveMQActivationSpec.java should use boxed types for attributes values according to the JCA specification
(cherry picked from commit 553043393e0665795725b2a0f9de1c4137d6b2ef)
2017-07-24 09:42:25 -04:00
Clebert Suconic
b6b5b4caa7 ARTEMIS-1294 Using older sleep on TimedBuffer
And also adding test

(cherry picked from commit ad372ec98e0d8e5765eef56883ea29b10768c70e)
2017-07-19 10:48:12 -04:00
Francesco Nigro
38cd0cd9f4 ARTEMIS-1294 Reverted TimedBuffer timeout policy
(cherry picked from commit 3dc9566fb66b31729c3e04a8d06ff391a8c850b4)
2017-07-19 10:47:34 -04:00
Clebert Suconic
423f26f027 ARTEMIS-1288 crash during compact control files issues
The system would become irresponsive if crashed right at the
control file writing.
2017-07-13 17:16:30 -04:00
Clebert Suconic
e9b7b94de7 ARTEMIS-1269 fixing checkstyle 2017-07-11 14:53:21 -04:00
Clebert Suconic
8326a24fd8 ARTEMIS-1280 Avoiding leak on Queue futures 2017-07-11 14:51:03 -04:00
Clebert Suconic
311072b28b This closes #1397 2017-07-11 08:39:15 -04:00
Erich Duda
f0907f6f3f ARTEMIS-1274 MultipleProducersTest.wrongQueue fails
(cherry picked from commit ab92306d81df10e6cfdc771973b39980721a6f98)
2017-07-11 13:49:50 +02:00
Clebert Suconic
3ac1a16f97 This closes #1387 2017-07-07 09:12:38 -04:00
Clebert Suconic
276319d72b ARTEMIS-1269 Fixing blocked replication
If replication blocked anything on the journal
the processing from clients would be blocked
and nothing would work.

As part of this fix I am using an executor on ServerSessionPacketHandler
which will also scale better as the reader from Netty would be feed immediately.
2017-07-07 08:56:31 -04:00
Clebert Suconic
c54120a47f This closes #1383 2017-07-01 10:39:26 -04:00
Clebert Suconic
f744904fdb ARTEMIS-1269 replication won't finish synchronization
(cherry picked from commit 6b2798a0fe02bcb5ca2f13b1431fd8dfe327d20e)
2017-07-01 00:47:50 -04:00
Clebert Suconic
c5e88c5e2d ARTEMIS-1256 PagingOMETest.testPageCleanup fails
Using a Wait condition.

This closes #1370

(cherry picked from commit 5c2144b7826c25e8510f870b588e873685291d74)
2017-06-28 10:09:44 -04:00
Francesco Nigro
bc815004d2 ARTEMIS-1223 OutOfDirectMemoryError raised from TimedBuffer
(cherry picked from commit 9f8a14440bd39d061da18495cbdac58a24aa9db3)
2017-06-28 09:39:57 -04:00
Martyn Taylor
15990589a3 ARTEMIS-1254 New OrderedExecutor for JDBC LargeMsg
(cherry picked from commit 222275dd8dc29450bce9bce0419b8a55b797673c)
2017-06-26 19:12:03 +01:00
Martyn Taylor
21215e4e2d ARTEMIS-1204 Replace open sync with AtomicBoolean
The JDBCSequentialFile blocks on the writeLock when opening.  There is
no need to block here, in fact it may cause issues when opening and
syncing concurrently.  Instead an AtomicBoolean is enough to prevent the
file from being reloaded.

(cherry picked from commit 604db9ee7e01a91ec41d95f67a37a2d21afaa74c)
2017-06-26 19:11:53 +01:00
Clebert Suconic
9d48d2f1db This closes #1363 2017-06-23 10:43:44 -04:00
Erich Duda
5f346f203c ARTEMIS-1250 ClusteredMessageCounterTest.testNonDurableMessageAddedWithPaging fails
Before sending of messages to server 0 begins, the test
should wait until consumer is registered at RemoteQueueBindingImpl
on server 0. Otherwise some messages may not be rebalanced
to server 1.

(cherry picked from commit c5a25d33226aa261204e0a2779b0e87bfdcf1395)
2017-06-23 15:09:46 +02:00
Clebert Suconic
5b0a133863 This closes #1348 2017-06-22 12:03:17 -04:00
Andy Taylor
333959dc00 ARTEMIS-1237 - Hard coded timeout on Journal file open
Make timeout configurable

https://issues.apache.org/jira/browse/ARTEMIS-1237
2017-06-22 12:03:16 -04:00
Clebert Suconic
6b1bd78629 ARTEMIS-1247 Allow tracing on ReplicatedJournal 2017-06-22 10:31:02 -04:00
Helge Waastad
ec76e4b3cf ARTEMIS-1243 Release ReferenceCounted messages
(cherry picked from commit eaadc2472934ec1c18e3146b9ee94427d7719df4)
2017-06-21 11:21:16 -04:00
Andy Taylor
8679aeb73b This closes #1344 ARTEMIS-1344 Fix log level in logger message 2017-06-19 10:18:14 +01:00
Martyn Taylor
9ab57f2219 ARTEMIS-1233 Fix log level in logger message
(cherry picked from commit 7f5ca5aafe1c7d822f11678a865daa4682967091)
2017-06-16 11:51:34 +01:00
Justin Bertram
7faaddc419 This closes #1339 2017-06-14 13:20:46 -05:00
Andy Taylor
0bc9ab2c49 ARTEMIS-1211 - Allow local transactions when no jta in Resource Adapter
https://issues.apache.org/jira/browse/ARTEMIS-1211
2017-06-14 13:20:46 -05:00
Justin Bertram
09973b2c55 This closes #1341 2017-06-14 13:18:50 -05:00
Jeff Mesnil
f592cdae71 [ARTEMIS-1232] Configure deserialization lists on regular JMS CF
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-1232
2017-06-14 17:18:43 +02:00
Justin Bertram
f3e4e2d194 This closes #1334 2017-06-12 13:12:55 -05:00
Andy Taylor
26d6bb3963 ARTEMIS-1224 - change the journal file size to nearest multiple
https://issues.apache.org/jira/browse/ARTEMIS-1224
2017-06-12 13:12:55 -05:00
Justin Bertram
19ee290562 This closes #1329 2017-06-12 13:12:13 -05:00
Erich Duda
8574f9949f ARTEMIS-1208 Do not use reconnect-atempts=-1 in tests
(cherry picked from commit 30e8ca656ccc975d35704b3a6c1d676f5e9897ba)
2017-06-12 08:43:36 +02:00
Clebert Suconic
4423cd2fe5 ARTEMIS-1155 SequentialFiles leaking on JDBCSequentialFileFactory
(cherry picked from commit f328c24b94cb20e4b45435f29137a71cf0af2674)
2017-06-05 10:14:22 +01:00
Martyn Taylor
63f0dcef66 ARTEMIS-1204 Fix getSize() on a closed JDBC File
(cherry picked from commit e7c426c5e112600254252d3565c87ab8d97320bb)
2017-06-05 09:32:54 +01:00
Clebert Suconic
06ee68c0a3 This closes #1310 2017-06-01 11:27:59 -04:00
Ingo Weiss
c6747a58ea [ARTEMIS-861] Artemis 1.5 compilation fails with IBM JDK
Issue: https://issues.apache.org/jira/browse/ARTEMIS-861
(cherry picked from commit e6f757e44f779f05abf647c41422d8d4bdf867ac)
2017-06-01 11:27:59 -04:00
Clebert Suconic
9334ed8b95 This closes #1312 2017-06-01 11:27:14 -04:00