Commit Graph

5059 Commits

Author SHA1 Message Date
Gary Tully 6f68a94319 https://issues.apache.org/jira/browse/AMQ-3182 - JAAS PropertiesLoginModule does not maintain internal validity state, so will commit in error after an invalid login attempt
https://issues.apache.org/jira/browse/AMQ-3183 - Set JMSXUserID value based on authenticated principal
Fixed up PropertiesLoginModule such that it maintains login state and only commits on success. Added attribute brokerService useAuthenticatedPrincipalForJMXUserID to indicate
that the first authenticated user principal should be used for the userName and hense by the userId broker when populateJMSXUserID is set. In the absense of a principal the
userName is unchanged.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1071301 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 16:12:18 +00:00
Hiram R. Chirino b0c2a40fb9 Removing svn keywords, they don't have much value and just add additional noise when diffing source trees.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1071259 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 14:08:48 +00:00
Hiram R. Chirino 0bbc0acb84 Removing svn keywords, they don't have much value and just add additional noise when diffing source trees.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1071256 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 13:58:54 +00:00
Timothy A. Bish 8280417876 fix for: https://issues.apache.org/jira/browse/AMQ-3000
Scheduler wasn't taking into account that there might be a job that was scheduled earlier than the last wait time for jobs when they are fired.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1071109 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 23:46:43 +00:00
Hiram R. Chirino 65f2428342 Fixes AMQ-3181
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1070876 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 13:02:59 +00:00
Gary Tully 6b643dc2c3 https://issues.apache.org/jira/browse/AMQ-3120 - KahaDB error: "Could not locate data file"
Test failure, issue with over eager cleanup. journal write as part of cleanup was incrementing the last update location
leaving the current journal file as a candidate for cleanup prematurely. This could ocurr between a destination store journal
write and index update so that the file was not present in the inexe. Capturing the last update exclusive of the checkpoint
write resolves this

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1070484 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 13:17:38 +00:00
Gary Tully a1d3245182 https://issues.apache.org/jira/browse/AMQ-3180 - ensure correct type us used in error case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1070443 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 11:15:42 +00:00
Gary Tully 9edeb21bec https://issues.apache.org/jira/browse/AMQ-3180 - JMX Browse of BytesMessage fails with javax.management.openmbean.OpenDataException: Argument's element itemValues[8]=[B@de15a0 is not a valid value for this item. readonly flag needs to be flipped by browser such that content can be read.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1070442 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 11:11:01 +00:00
Gary Tully bf4dd7330d http://issues.apache.org/jira/browse/AMQ-3178 - 5.3.x clients to 5.4 brokers always get updated cluster information in the broker info, this should be configurable
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069846 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 15:42:38 +00:00
Gary Tully cfdd68c799 https://issues.apache.org/jira/browse/AMQ-3167 - add test case from Arthur with thanks.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069813 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 14:29:33 +00:00
Gary Tully 8fdf3457e3 resolve regression of some ra transaction tests, follow on from http://svn.apache.org/viewvc?view=revision&revision=1065688 - a shared context needs to be aware that ended transactions that are unresolved are considered active. browse needs to only commit for local transactions when ending
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069796 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 13:48:33 +00:00
Gary Tully 971f61f0d3 remove dependency on jmx 1099 port
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069783 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 12:42:15 +00:00
Gary Tully 237f83578f give bridge formation more time after a restart
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069781 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 12:38:13 +00:00
Gary Tully 784ead59c7 test that seems to show missing durable messages after restat, needs investigation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069758 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 11:35:29 +00:00
Bosanac Dejan a806882adb https://issues.apache.org/jira/browse/AMQ-3177 - slf4j final touch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069754 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 11:25:24 +00:00
Bosanac Dejan 47b56311a4 https://issues.apache.org/jira/browse/AMQ-3177 - slf4j use in perf plugin
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069736 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 10:38:44 +00:00
Bosanac Dejan 8bf987b134 https://issues.apache.org/jira/browse/AMQ-3177 - use slf4j instead of jcl
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069405 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 14:24:01 +00:00
Gary Tully a204c793b2 wait for complete formation of network before verification, some more time for slower machines
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069352 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 12:11:17 +00:00
Gary Tully 7f002de964 remove dependency on jmx 1099 port
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069347 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 12:02:09 +00:00
Gary Tully 55ae21c381 remove dependency on jmx 1099 port
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069344 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 11:56:31 +00:00
Gary Tully 27d0ff4011 https://issues.apache.org/jira/browse/AMQ-3176 - Potential deadlock in duplex network connector recreation, resulting in dangling connections. https://issues.apache.org/jira/browse/AMQ-3129 - Can only have one duplex networkConnection per transportConnection. Rework of https://issues.apache.org/jira/browse/AMQ-2774. NetworkConnector.name attribute (default NC) is used to differenciate duplex network connectors so it needs to be unique to allow multiple to be configured. Removing existing matching network connectors on a reconnect is now thread safe
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069339 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 11:02:48 +00:00
Timothy A. Bish 3d82d74862 Apply fix and test for: https://issues.apache.org/jira/browse/AMQ-3141
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1068952 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 16:05:24 +00:00
Timothy A. Bish 595e44c64c Adding test and fix for https://issues.apache.org/jira/browse/AMQ-3140 using included patch with modifications.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1068935 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 15:23:38 +00:00
Bosanac Dejan 1a409b097d https://issues.apache.org/jira/browse/AMQ-3175 - configurable soTimeout for http(s) transport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1068880 13f79535-47bb-0310-9956-ffa450edef68
2011-02-09 13:34:59 +00:00
Bosanac Dejan ab412fa136 some virtual destination with wildcard consumers tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1068336 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 11:24:59 +00:00
Gary Tully eae88fe309 test that shows issues with backlog for durable subs
across three stores

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1067187 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 14:57:26 +00:00
Bosanac Dejan 37bbad0679 https://issues.apache.org/jira/browse/AMQ-3174 - add batch parameter for transactions and client ack to consumer tool
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1067175 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 13:10:27 +00:00
Bosanac Dejan 1a177f374a adding test for virtual destinations in networks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1066402 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 10:26:06 +00:00
Gary Tully aae3ea27f7 resolve regression in JDBCXACommitExceptionTest from https://issues.apache.org/activemq/browse/AMQ-2880
Change http://svn.apache.org/viewvc?rev=1064858&view=rev demostrated need to separate jms transacted
session recovery from xa recovery.
Issue related to using XASession without transactions. https://issues.apache.org/jira/browse/AMQ-2659
fix makes XASession indicated it is transacted during commit processing so that a close does not precipiate
an auto ack. ended transactions, available till forget will keep transacted=true

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1065688 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 17:20:18 +00:00
Gary Tully 29c0dff26a it can take more than 30 seconds for network of 20 to get in line on a slower box, so incease the default delay
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1065591 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 13:11:27 +00:00
Gary Tully 31c01f8916 new xa test - jdbc and jms
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1064858 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 20:20:06 +00:00
Alex Dean 88fc7fec50 https://issues.apache.org/jira/browse/AMQ-3094 - ajax does not receive all messages
* ensure delivery of messages received by AjaxListener when a continuation is not available for resumption.
 * add test coverage for several common uses of AjaxServlet
 * switch back to jetty httpclient for better processing of asynchronous HTTP


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1064725 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 15:21:02 +00:00
Gary Tully acc3d4f7cb https://issues.apache.org/jira/browse/AMQ-3167 - possible skipped Queue messages in memory limited configuration with fast consumers
resolve off by one error in messageOrderIndex setBatch

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1064660 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 13:25:22 +00:00
Gary Tully aadd682d09 https://issues.apache.org/jira/browse/AMQ-3159 - Log file offset in addition to file location in checkpointUpdate()
patch applied with thanks.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1063712 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 13:39:27 +00:00
Gary Tully 62c6c8f8d8 https://issues.apache.org/jira/browse/AMQ-3161 - Race condition in ActiveMQ Journal Checkpoint worker thread cleanup leads to multiple running instances
patch applied with thanks, one small mod, left un synced check in store(..) such that locking only occurs if thread needs a restart

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1063710 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 13:30:42 +00:00
Gary Tully 029c1e3e28 https://issues.apache.org/jira/browse/AMQ-3160 - ConcurrentModificationException in ActiveMQ Journal Checkpoint Worker
access to the file map needs to have a sync so that it can get an accurate snapshot and avoid concurrent access ex

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1063691 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 12:14:07 +00:00
Gary Tully 62609f099a https://issues.apache.org/jira/browse/AMQ-3162 - ActiveMQ checkpoint worker makes unnecessary repeated calls to Journal.getFileMap(), leading to excessive memory usage
applied variation of the patch with thanks. Now make one call to find the current set of referenced files.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1063669 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 10:40:35 +00:00
Gary Tully ed6a4c7067 https://issues.apache.org/jira/browse/AMQ-3038 - fix unit test regression, a temp dest may have a null conneciton if it was added from an advisory
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1063248 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 12:15:50 +00:00
Bosanac Dejan cb9f176752 https://issues.apache.org/jira/browse/AMQ-3143 - additional commit for storeUsage limit change
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1063214 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 10:39:11 +00:00
Gary Tully 610c5bf4d8 https://issues.apache.org/jira/browse/AMQ-3148 - LoggingBrokerPlugin addConnection(..) log output is meaningless
patch applied with thanks.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1062756 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 12:40:26 +00:00
Bosanac Dejan 27484b9324 https://issues.apache.org/jira/browse/AMQ-3120 - test case in the making
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1061899 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 16:48:50 +00:00
Gary Tully aad7e7394a https://issues.apache.org/jira/browse/AMQ-3149, https://issues.apache.org/jira/browse/AMQ-3145
expose current caching state of cursors (also via jmx), only use store async add if cache
is enabled, ensure cache is reenabled on add with 0 queue depth

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1061859 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 15:53:29 +00:00
Bosanac Dejan 4e33fb114b https://issues.apache.org/jira/browse/AMQ-3038 - delete temp destinations when connection is closed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1061365 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 16:11:29 +00:00
Bosanac Dejan 9c78797f5d https://issues.apache.org/jira/browse/AMQ-3010 - timeout for ActiveMQInputStream
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1061304 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 14:03:30 +00:00
Bosanac Dejan 53ea4caa20 https://issues.apache.org/jira/browse/AMQ-3040 - ConnectionState.getTempDestinations() typo
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1061299 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 13:44:22 +00:00
Bosanac Dejan e511e76d4f https://issues.apache.org/jira/browse/AMQ-3041 - unregister mbean for temp dest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1061296 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 13:35:39 +00:00
Bosanac Dejan ec30bf0c95 https://issues.apache.org/jira/browse/AMQ-2821 - destination gc, use proper connection context
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1061287 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 13:11:19 +00:00
Bosanac Dejan 600c7c2c7c https://issues.apache.org/jira/browse/AMQ-3146 - original destination from stomp
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1060871 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 17:15:38 +00:00
Bosanac Dejan b026971933 https://issues.apache.org/jira/browse/AMQ-3100 - audit logging provide more data in audit loge event object
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1060803 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 13:13:50 +00:00
Bosanac Dejan a0a1e643e4 https://issues.apache.org/jira/browse/AMQ-2821 - test case for gc inactive destinations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1060353 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 12:50:08 +00:00