Commit Graph

6159 Commits

Author SHA1 Message Date
Claus Ibsen 4260034561 AMQ-4044: Fixed issue with double stopping BrokerService.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1384691 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 09:13:51 +00:00
Claus Ibsen d4ee73fe10 Removed @author in javadoc
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383899 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 12:04:12 +00:00
Claus Ibsen 9ddfd8008e AMQ-4041: Upgraded JARs in feature. As well fixing it.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383884 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 11:21:28 +00:00
Claus Ibsen f830d96b8b Fixing test on CI server
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383860 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 09:12:02 +00:00
Claus Ibsen 5453b26eb8 AMQ-4045: Fixed NPE in BrokerService.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383856 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 08:58:18 +00:00
Claus Ibsen 13222cd4a4 Upgraded to apache 11 in pom.xml
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383806 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 06:59:46 +00:00
Claus Ibsen 8a300c17b6 AMQ-4038: Favor using JARs from maven central, to avoid 3rd part repos. AMQ-4039: Upgraded JAR dependencies.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383805 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 06:54:32 +00:00
Claus Ibsen 6da942706e AMQ-4038: Favor using JARs from maven central, to avoid 3rd part repos. AMQ-4039: Upgraded JAR dependencies.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383801 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 06:30:31 +00:00
Timothy A. Bish a59c9baaf5 fixes for: https://issues.apache.org/jira/browse/AMQ-4019
Refactoring the pools code to use commons-pool for more of the work and allowing us to
expose more stats info as well as enabling async connection pool cleanup of expired 
connections if so desired.  Added some additional tests.  We should continue to add some
more tests and perhaps add some more functionality to the Session pool in ConnectionPool
to let the commons-pool clean up Idle sessions after a time or to maintain the certain 
number of idle sessions etc.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383746 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 03:44:48 +00:00
Gary Tully 215dd18196 https://issues.apache.org/jira/browse/AMQ-3985 - fix up timeing issue in test post change to asyncDispatch for temp dest advisories
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383426 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 14:14:36 +00:00
Bosanac Dejan 170b86a861 https://issues.apache.org/jira/browse/AMQ-4005 - introducing Lockable interface and LockableServiceSupport for easier dealing with locks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383400 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 13:17:39 +00:00
Gary Tully aaf03576ee https://issues.apache.org/jira/browse/AMQ-3989 - ActiveMQSslConnectionFactory.setKeyAndTrustManagers does not work with failover enabled - fix and test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383370 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 12:07:35 +00:00
Claus Ibsen f2225c2f12 AMQ-4015: Added uptime to broker service, and shown in JMX, as well in logs when stopping broker.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383327 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 09:51:24 +00:00
Claus Ibsen 49bb4bf494 Fixing test on CI servers.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383308 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 09:21:36 +00:00
Claus Ibsen b968c0c9b2 Fixing test on CI servers.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383304 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 09:13:00 +00:00
Claus Ibsen 14dcc2a503 Skip failing test on Java7
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383276 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 07:54:48 +00:00
Claus Ibsen ece2e17b19 AMQ-4029: Check for null when unregister mbean.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383270 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 07:38:10 +00:00
Claus Ibsen 8a0dd39fb0 Fixed test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383265 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 07:16:27 +00:00
Timothy A. Bish d97951ed69 fix for: https://issues.apache.org/jira/browse/AMQ-4035 check for null.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383234 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 03:27:20 +00:00
Claus Ibsen 6e0aa4fb80 AMQ-3994: Fixed JDBC connection leak if link failure. Thanks to Philip Bridger for the patch.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382983 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 17:00:25 +00:00
Claus Ibsen 688c4f7946 AMQ-4033: JMX/RMI management do not use custom RMIServerSocketFactory as it cannot be unregistered, and then the JVM has strong reference and classloader cannot unload class. This causes problems for embedding brokers in container and if you redeploy.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382852 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 13:58:17 +00:00
Claus Ibsen f272fc1df5 Polished
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382761 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 11:28:18 +00:00
Claus Ibsen c70d97fddb AMQ-4002: Fixed issue with blob transfer policy should be copied when used to avoid sharing with multiple consumers. Thanks to Antoine for the patch.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382283 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 11:38:15 +00:00
Claus Ibsen eea45cc978 AMQ-3807: Support WebSphere JMX which regsiter mbeans using custom name. Thansk to Christian Ohr for the patch.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382277 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 10:56:14 +00:00
Claus Ibsen aec27626d5 AMQ-3976: Use equals instead of == in checking destination names. Thanks to Lior for the patch.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382275 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 10:27:19 +00:00
Claus Ibsen f4c54db2a8 AMQ-4027: Added support for Java7 in activemq-console. Thanks to Dider Gutacker for the patch.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382258 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 09:13:41 +00:00
Claus Ibsen 5b4fe6e05f AMQ-4031: Do not check for temporary journal store limit for non persistent broker. Thanks to Johno Crawford for the patch.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382255 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 09:08:24 +00:00
Claus Ibsen 4507966460 Polished
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382251 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 08:54:54 +00:00
Claus Ibsen 35f15ac8a1 AMQ-3451: Fixed memory leak when using embedded ActiveMQ broker from Spring XML file. Need to clear a spring cache when stopping.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382055 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 14:46:45 +00:00
Claus Ibsen aa6a6d73e5 AMQ-3451: Ensure thread pools is shutdown properly to avoid any leaks. Do not use the old @deprecated thread pool.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381991 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 12:14:35 +00:00
Claus Ibsen 4e1989247e AMQ-3451: Ensure thread pools is shutdown properly to avoid any leaks. Do not use the old @deprecated thread pool.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381987 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 12:05:53 +00:00
Claus Ibsen 8a01c5d16a AMQ-3451: Ensure thread pools is shutdown properly to avoid any leaks. Do not use the old @deprecated thread pool.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381985 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 11:58:21 +00:00
Bosanac Dejan 8530111cad https://issues.apache.org/jira/browse/AMQ-4005 - remove deprecated API warning from tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381981 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 11:34:50 +00:00
Bosanac Dejan 97f03d43dd https://issues.apache.org/jira/browse/AMQ-4005 - remove deprecated API warning
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381980 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 11:23:05 +00:00
Bosanac Dejan a00f235842 https://issues.apache.org/jira/browse/AMQ-4028 - update certificates as the current ones are expired
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381964 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 09:46:03 +00:00
Bosanac Dejan f4de9a66ae https://issues.apache.org/jira/browse/AMQ-4028 - missed adding files in the previous commit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381896 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 06:14:08 +00:00
Claus Ibsen 6c1676b59f AMQ-4026: Using ThreadPoolUtils to shutdown thread pool. Use thread pool from broker service where applicable.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381695 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 17:50:43 +00:00
Bosanac Dejan b32dbb3f47 https://issues.apache.org/jira/browse/AMQ-4028 - added basic support; chrome driver still doesn't work well with this scenario, so it requires more investigation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381660 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 16:19:01 +00:00
Claus Ibsen 5bf13b064e Polished
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381566 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 11:56:02 +00:00
Claus Ibsen 287f69db4d AMQ-4026: Introduced ThreadPoolUtils to shutdown thread pools in a more graceful manner. Improved logging for lifecycle of thread pools and tasks being executed.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381557 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 11:08:11 +00:00
Timothy A. Bish 2251ba0796 fix for: https://issues.apache.org/jira/browse/AMQ-3991
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381422 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 22:22:01 +00:00
Claus Ibsen 0b01996efb AMQ-3451: Statis default thread pools is @deprecated. Refactored some code to avoid using that. Otherwise it causes leaks in Tomcat when redeploying apps.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381237 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 16:28:58 +00:00
Claus Ibsen c30dd0c0ba AMQ-4016: Removed not used static thread pool from ActiveMQConnectionFactory.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381191 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 14:08:48 +00:00
Gary Tully 446cb26e38 https://issues.apache.org/jira/browse/AMQ-4020 https://issues.apache.org/jira/browse/AMQ-4021 - disable this test till we deal with propagating store exceptions in place of ioexceptions which result in the transport abort and deal with more exact exception reporting from jdbc transaction context, ie from close/commit processing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381161 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 12:43:16 +00:00
Gary Tully 5c61d97b20 https://issues.apache.org/jira/browse/AMQ-4017 - always use async dispatch for the advisory consumer so that we will not block remote dispatch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381095 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 09:22:43 +00:00
Gary Tully 640424727d https://issues.apache.org/jira/browse/AMQ-3998 https://issues.apache.org/jira/browse/AMQ-3999 - retroactive durables not supported by older stores, kaha and amq
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1380847 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 20:12:18 +00:00
Gary Tully eaac0d2eee https://issues.apache.org/jira/browse/AMQ-3998 https://issues.apache.org/jira/browse/AMQ-3999 - resolve emergent problems with retroactive durables and use of cache when active durable disconnects. resolves unit test failures and add some more
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1380547 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 11:02:17 +00:00
Claus Ibsen ad5e969bb1 Updated links in javadoc
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1380492 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 08:46:07 +00:00
Claus Ibsen fa41f89ad8 Updated links in javadoc
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1380489 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 08:43:17 +00:00
Claus Ibsen 8f207568aa Fixing test that may fail
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1380477 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 07:55:05 +00:00