Commit Graph

5616 Commits

Author SHA1 Message Date
Bosanac Dejan d0b43c1a60 https://issues.apache.org/jira/browse/AMQ-498 - prevent dos attack for nio transport by specifying large frame size
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1133003 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 13:26:04 +00:00
Bosanac Dejan f6061bd4c6 https://issues.apache.org/jira/browse/AMQ-3351 - moving LocationMarshaller to kahadb module, so it can work well in osgi environment
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1132587 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 10:41:42 +00:00
Gary Tully a2f3e8a3d1 remove obsolete attribute: syncOnTransaction
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1131035 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 13:41:16 +00:00
Gary Tully 7631ca9cad https://issues.apache.org/jira/browse/AMQ-3357 - vmQueueCursor or fileQueueCursor with expired messages in the store can lead to startup hang with kahaDB. Use a write lock for recovery processing. Add kahaDB and jdbc test to validate for both cursors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1131010 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 12:24:55 +00:00
Gary Tully c255d1ddcb https://issues.apache.org/jira/browse/AMQ-3356 - DispatchedQueueCount (messages pending dispatch) should be visible on the jmx connection view
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1130974 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 10:08:22 +00:00
Gary Tully 0817f5d5df https://issues.apache.org/jira/browse/AMQ-3352 - failover ConnectionStateTracker can lead to OOM with TextMessages. have the cache retain the original message so that it can use the correct formatted size when it is evicted so the addition and substractions match
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1130865 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 22:52:32 +00:00
Gary Tully 2b102598dc https://issues.apache.org/jira/browse/AMQ-3351 - Usage of the temp store index by the PList needs the be improved. new implementation puts the max entries in a page, reading/writing requires substantially less page access and disk access when pending messages build up
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1130607 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 15:28:30 +00:00
Bosanac Dejan f0edbfdd67 https://issues.apache.org/jira/browse/AMQ-3349 - web console tooltip style
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1130496 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 11:07:05 +00:00
Bosanac Dejan 27e6dd7e8c https://issues.apache.org/jira/browse/AMQ-3347 - network connector restart/re-add
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1130469 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 10:24:28 +00:00
Bosanac Dejan 0601fb7118 https://issues.apache.org/jira/browse/AMQ-3348 - network connector restart
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1130441 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 09:05:39 +00:00
Bosanac Dejan 3326ab9176 https://issues.apache.org/jira/browse/AMQ-3347 - restart network connectors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1130203 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 16:08:37 +00:00
Timothy A. Bish f352e1e447 revert changes from https://issues.apache.org/jira/browse/AMQ-3329
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1129946 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 22:34:00 +00:00
Timothy A. Bish 71c0d441f9 fix for: https://issues.apache.org/jira/browse/AMQ-3337
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1129835 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 18:36:44 +00:00
Bosanac Dejan 6fefadb620 https://issues.apache.org/jira/browse/AMQ-3341 - reseting destination map
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1129741 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 15:10:50 +00:00
Bosanac Dejan 0fc20ee183 fix typo
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1129227 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 15:47:20 +00:00
Bosanac Dejan da0b3b5335 https://issues.apache.org/jira/browse/AMQ-3340 - user/pass for examples
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1129225 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 15:44:58 +00:00
Bosanac Dejan 861e26c297 https://issues.apache.org/jira/browse/AMQ-3135 - ConnectionInfo.clientIp - a correct remote for duplex
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1128280 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 12:32:15 +00:00
Bosanac Dejan 6b12a404d5 https://issues.apache.org/jira/browse/AMQ-3338 - increase default max memory
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1128266 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 11:35:33 +00:00
Timothy A. Bish 0c4fe3ec9c fix for: https://issues.apache.org/jira/browse/AMQ-3337
Missed some commented out test code.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1128088 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 21:01:47 +00:00
Timothy A. Bish 7092b19dd2 fix for: https://issues.apache.org/jira/browse/AMQ-3337
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1128072 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:43:32 +00:00
Timothy A. Bish 4f6e7e4cc3 Apply path for: https://issues.apache.org/jira/browse/AMQ-3334
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1127684 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 21:01:20 +00:00
Gary Tully cf5de8ebbe https://issues.apache.org/jira/browse/AMQ-3335 - Allow TaskRunnerFactory to be configured on the broker via xml config
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1127550 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:12:17 +00:00
Gary Tully 5609826a98 fix up some crazy auto imports on that new list node
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1127549 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:11:41 +00:00
Gary Tully e11ece117c add list index that will keep x entries per page, basis for plist that is more space efficient
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1127543 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 14:28:44 +00:00
Hiram R. Chirino 2528015fa3 Applied patch at https://issues.apache.org/jira/browse/AMQ-3321 : Add kerberos authentication support for transport over https
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1126702 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 20:02:26 +00:00
Gary Tully 975fc55b2a https://issues.apache.org/jira/browse/AMQ-3332 - Make optimizeAckTimeout configurable to allow for different network latencies. Added attribute optimizeAcknowledgeTimeOut to ActiveMQConnectionFactory and ActiveMQConnection to make this configurble. A value of 0 disables, default stays at 300ms
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1125454 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 16:37:39 +00:00
Timothy A. Bish c1ebbc1465 Fix for: https://issues.apache.org/jira/browse/AMQ-3312
Replace usage of CopyOnWriteArraySet in the MBean methods that don't require a thread safe collection.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1125427 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 15:16:51 +00:00
Timothy A. Bish e560055b70 fix for: https://issues.apache.org/jira/browse/AMQ-3329
Update pom to include the same webconsole version as the other camel components.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1125371 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 13:10:48 +00:00
Timothy A. Bish 69579dcc6d patch applied: https://issues.apache.org/jira/browse/AMQ-3328
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1125322 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 11:02:56 +00:00
Bosanac Dejan fd6c731690 https://issues.apache.org/jira/browse/AMQ-3135 - ConnectionInfo.clientIp - supporting duplex network case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1124299 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 15:19:50 +00:00
Gary Tully 128a8f7a8e https://issues.apache.org/jira/browse/AMQ-3325 - PList temp store, chunk stream does not exist when broker under stress. Sync issue around temp store list creation for subs pending message cursor
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1104075 13f79535-47bb-0310-9956-ffa450edef68
2011-05-17 09:16:22 +00:00
Timothy A. Bish fefedf5fb1 Fix up svn ignore settings
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1103774 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 15:49:37 +00:00
Bosanac Dejan e1ce619872 https://issues.apache.org/jira/browse/AMQ-3323 - LDAPLoginModule more debuging and exception messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1103745 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 14:19:46 +00:00
Bosanac Dejan b5579ac1ca https://issues.apache.org/jira/browse/AMQ-3135 - add remote address to connection info advisory
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1103673 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 10:17:14 +00:00
Gary Tully 52d5189698 https://issues.apache.org/jira/browse/AMQ-3315 - Allow socket option soLinger to be enabled on TcpTransport. allow disable, soLinger == -1, disable, > -1 enable otherwise not set so system default
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1102232 13f79535-47bb-0310-9956-ffa450edef68
2011-05-12 10:22:20 +00:00
Gary Tully e8d45cb2d0 https://issues.apache.org/jira/browse/AMQ-3316 - Memory leak in ConnectionStateTracker with MessagePull objects. resolve typo
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1102023 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 19:01:04 +00:00
Gary Tully a1c19c5e49 https://issues.apache.org/jira/browse/AMQ-3316 - Memory leak in ConnectionStateTracker with MessagePull objects. Patch applied with thanks, good catch\!
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1102018 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 18:51:54 +00:00
Gary Tully 717bca1a40 https://issues.apache.org/jira/browse/AMQ-3272 - Handle RejectedExecutionException. In this case avoid the root cause, by allowing the semaphore to limit the enqueue tasks. Issue was in the cancel case locks were being release and the semaphore dropped while the executore queue still had the task pending, it needs to execute before the the samaphore can be released as it gates the task queue
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1102014 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 18:43:43 +00:00
Gary Tully 0aa5c2a889 https://issues.apache.org/jira/browse/AMQ-3315 - Allow socket option soLinger to be enabled on TcpTransport. url transport args ?soLinger=0 and ?transport.soLinger (for the broker accepted connectons) are now supported. a value > -1 enabled and sets the timeout to that value
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1101866 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 13:17:53 +00:00
Timothy A. Bish 3aaa1e73be fix for: https://issues.apache.org/jira/browse/AMQ-3306
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1101613 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 19:29:56 +00:00
Gary Tully 7e13a81851 https://issues.apache.org/jira/browse/AMQ-3314 - FilePendingMessageCursor isFull reports full in error when temp store is full, even if not needing the temp store. have cursor report full only if memory exhausted or temp usage exhausted and temp usage is needed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1101544 13f79535-47bb-0310-9956-ffa450edef68
2011-05-10 17:15:02 +00:00
Gary Tully 842686a908 https://issues.apache.org/jira/browse/AMQ-2063 - JDBC persistence adapter improvements. make cleanup conditional on cleanupInterval > 0. Variants of the other improvements are already present on trunk
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1101109 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 16:55:51 +00:00
Gary Tully 1667d80041 https://issues.apache.org/jira/browse/AMQ-3308 - Minor code improvements in jaas module. patch applied with thanks.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1101099 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 16:33:59 +00:00
Gary Tully 0619a8757e https://issues.apache.org/jira/browse/AMQ-3310 - IOException PListStore "Could not locate data file" from FilePendingMessageCursor. Issue with reference counting and async location initialsation resulting in inuse data file removal and data file leaking. Pulled cleanup into task that periodically queries lists for references
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1101085 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 16:11:50 +00:00
Gary Tully d5813be360 https://issues.apache.org/jira/browse/AMQ-3305 - fix regression, only ask store for size while we are active, such that we don't get errors on stop
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1100959 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 11:08:14 +00:00
Gary Tully f494b5525b jenkins deploy fails, seems to not follow 302 redirect, give it the current url to see if it is happier
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1100314 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 18:32:03 +00:00
Gary Tully 1d242a2786 https://issues.apache.org/jira/browse/AMQ-3305 - add RecoveredTransaction JMX MBean to allow administrative heuristic completion of pending xa transactions. handy in the event of the transaction manager having trouble
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1100288 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 17:13:56 +00:00
Gary Tully 101e7110bc https://issues.apache.org/jira/browse/AMQ-3305 - Implement "exactly once" delivery with kahaDB and XA in the event of a failure post prepare.
Fixed up transaction broker recovery processing and kahadb store such that pending recovered
messages and acks wait for and respect the eventual xa transction outcome. Essentially
implementing exactly once delivery semantics on failure. Updated the camel jms to jdbc
test route to validate correct failure recovery processing with geronimo, test pulls in
xa wrappers from jencks and openejb such that NamedXAResources are registered with geronimo.
Additional unit tests added.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1100208 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 13:27:49 +00:00
Gary Tully ddca4cf590 null check in brokerSerice for jmx uri map and remove duplicated tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1100207 13f79535-47bb-0310-9956-ffa450edef68
2011-05-06 13:26:16 +00:00
Gary Tully 1319fbb4de https://issues.apache.org/jira/browse/AMQ-3297 - add xtream necessary bundles to activemq-karaf/features.xml. patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1097794 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 12:41:15 +00:00