Commit Graph

1144 Commits

Author SHA1 Message Date
Hiram R. Chirino 014c62bc56 Better DB2 support. Thanks goes to Klaus Terjung on activemq-users list for providing the needed info.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@393265 13f79535-47bb-0310-9956-ffa450edef68
2006-04-11 17:29:26 +00:00
Hiram R. Chirino 13e8bf0b91 Make the dist build work again
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@393151 13f79535-47bb-0310-9956-ffa450edef68
2006-04-11 07:02:50 +00:00
Hiram R. Chirino ad612f59d0 Fix compile.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@393126 13f79535-47bb-0310-9956-ffa450edef68
2006-04-11 00:35:17 +00:00
Hiram R. Chirino a2ae3a9f8a The JMSDurableTopicRedeliverTest was failing intermitently.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@393106 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 22:29:40 +00:00
Hiram R. Chirino 700ba75d55 If multicast is not properly configured.. we run the chance of filling the logs with error messages on a vanila install.
We now gard against this by only reporting the error mesasge the first time we hit the error. We keep trying to do mutlicast advertising, but
suppress futher error messages.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@393054 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 20:41:13 +00:00
Robert Davies daddd413a2 don't throw excpetion if directory doesn't exist when removing
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@393051 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 20:39:00 +00:00
Hiram R. Chirino 3043e7ab31 test case for tempDest.delete() was failing. It could be that the advisory topics were never created for a temp topic so its delete operation would fail.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@393048 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 20:29:23 +00:00
Hiram R. Chirino 78e79614e5 The file lock implementation on some JVM/OS combinations is broken. See:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4883030
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4854085 

If -Djava.nio.channels.FileLock.broken=true is now passed as an argument to the JVM, the actveio journal will avoid using that file locking APIs.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@393039 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 20:03:46 +00:00
Robert Davies c852f0755b some tuning of default buffer sizes etc.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@393024 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 19:09:55 +00:00
Hiram R. Chirino 4436b7b28e use latest versioned actveio
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@393012 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 18:12:29 +00:00
Robert Davies c7be305873 fix for https://issues.apache.org/activemq/browse/AMQ-687
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392992 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 17:18:21 +00:00
James Strachan 9c9343c9dd fixed the distribution artifact to include "incubator-activemq"
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392989 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 17:00:34 +00:00
Robert Davies a1e410f761 another memory leak fixed
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392929 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 12:19:24 +00:00
Gregory John Wilkins 8cb2141080 Upgrade to jetty 6.0.0beta14
factored out web demo into activemq-web-demo
made activemq-web just produce a jar
added amq.js as a resource to the jar
added AjaxServlet to extend MessageListenerServlet with the ability to serve amq.js
cleaned up m2 build and dependencies
added jetty6:run plugin to run the demo.




git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392913 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 10:26:17 +00:00
Robert Davies b792f11767 fixes for memory leaks
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392904 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 08:12:09 +00:00
Robert Davies fdd4b4e3e8 Added test case for multiple consumers
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392888 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 05:12:31 +00:00
Gregory John Wilkins a85b0d093b restructure for AjaxServlet
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392831 13f79535-47bb-0310-9956-ffa450edef68
2006-04-09 20:29:40 +00:00
Gregory John Wilkins 6e4302e09b restructure for AjaxServlet
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392830 13f79535-47bb-0310-9956-ffa450edef68
2006-04-09 20:29:18 +00:00
Gregory John Wilkins 82704c0725 restructure for AjaxServlet
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392829 13f79535-47bb-0310-9956-ffa450edef68
2006-04-09 20:27:12 +00:00
Robert Davies 2373eb2d22 fix for http://issues.apache.org/activemq/browse/AMQ-683
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392624 13f79535-47bb-0310-9956-ffa450edef68
2006-04-08 22:48:33 +00:00
Robert Davies 973147afb0 Fix for http://issues.apache.org/activemq/browse/AMQ-677
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392623 13f79535-47bb-0310-9956-ffa450edef68
2006-04-08 22:47:09 +00:00
Hiram R. Chirino 67064db832 Fix for problem reported by: Christopher G. Stach II
We're using Resin and trying to use 4.0-RC2.  It just so happens that
Resin makes this call in ConnectionPool.init(ManagedConnectionFactory):

ManagedConnection mConn = mcf.createManagedConnection(subject, null);

So, eventually that null info gets dereferenced and BOOM!

com.caucho.server.webapp.Application.start java.lang.NullPointerException
       at org.apache.activemq.ra.ActiveMQResourceAdapter.createConnectionFactory(ActiveMQResourceAdapter.java:156)
       at org.apache.activemq.ra.ActiveMQResourceAdapter.makeConnection(ActiveMQResourceAdapter.java:100)
       at org.apache.activemq.ra.ActiveMQManagedConnectionFactory.createManagedConnection(ActiveMQManagedConnectionFactory.java:103)
       at com.caucho.jca.ConnectionPool.init(ConnectionPool.java:462)

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392556 13f79535-47bb-0310-9956-ffa450edef68
2006-04-08 16:48:15 +00:00
Robert Davies 9cd60d8c5d removed SPLATTT! comment
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392487 13f79535-47bb-0310-9956-ffa450edef68
2006-04-08 07:07:15 +00:00
Robert Davies 3c72961e09 handle concurrent close errors
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392441 13f79535-47bb-0310-9956-ffa450edef68
2006-04-07 22:31:53 +00:00
Robert Davies d8546c2567 remove Thread.dump on error condition
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392440 13f79535-47bb-0310-9956-ffa450edef68
2006-04-07 22:31:04 +00:00
Robert Davies 72923b8cbb fix for http://issues.apache.org/activemq/browse/AMQ-676
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392434 13f79535-47bb-0310-9956-ffa450edef68
2006-04-07 22:02:07 +00:00
Robert Davies 3c10ee0f52 updated comments
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392433 13f79535-47bb-0310-9956-ffa450edef68
2006-04-07 21:59:20 +00:00
James Strachan cc6fec68f4 added a hook to eagerly evict expired messages on non-durable topics first before we apply other eviction policies such as old messages etc
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392349 13f79535-47bb-0310-9956-ffa450edef68
2006-04-07 17:58:17 +00:00
Hiram R. Chirino 46d62dff70 enable keepDurableSubsActive by default. See:
http://issues.apache.org/activemq/browse/AMQ-669


git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392323 13f79535-47bb-0310-9956-ffa450edef68
2006-04-07 15:38:38 +00:00
Gregory John Wilkins 8a5e8d9fc5 derby is required for more than testing. Need to split this into a jar module and a demo module
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392300 13f79535-47bb-0310-9956-ffa450edef68
2006-04-07 14:20:10 +00:00
Hiram R. Chirino 84fd773f27 Updated the Transport interface so that you can pass in a ResponseCallback object that will be called when the response for a request arrives.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392288 13f79535-47bb-0310-9956-ffa450edef68
2006-04-07 13:31:59 +00:00
Hiram R. Chirino 064880b08a Was having some jmx dup id issues.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392283 13f79535-47bb-0310-9956-ffa450edef68
2006-04-07 13:20:16 +00:00
James Strachan 68779c0aa5 changed UDP port of test cases to see if this fixes the ci.gbuild.org build
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392083 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 21:24:58 +00:00
Hiram R. Chirino d724f9ed4d Group the connections using the connector name that they were created from.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392043 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 19:15:29 +00:00
James Strachan b76530740e allow folks to serialize the broker service if they really need to
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392035 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 18:56:36 +00:00
James Strachan 2f7ab76817 insure unique JMX names across multiple connectors and connections
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392003 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 15:53:32 +00:00
James Strachan 5982b208d4 added initial config file for DB2 universal driver
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391998 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 14:58:53 +00:00
Hiram R. Chirino 23d80b3c71 List the unique id of the broker when it's started and stopped.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391821 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 21:26:03 +00:00
Hiram R. Chirino d65cc6311f do smarted chechkpointing based on usage.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391820 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 21:25:25 +00:00
Hiram R. Chirino b6673c4bf3 Fix for https://issues.apache.org/activemq/browse/AMQ-662
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391819 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 21:23:34 +00:00
Hiram R. Chirino 6d2c2f9619 fix compile error
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391818 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 21:22:50 +00:00
Hiram R. Chirino 97f2ca1eef fix for http://jira.activemq.org/jira/browse/AMQ-651
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391694 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 18:12:05 +00:00
Robert Davies 3b1a7d66de comment out KahaXARecoveryBrokerTest
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391607 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 12:58:48 +00:00
James Strachan 9d50686820 added underscore to look more like other rendezvous services
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391272 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 11:14:12 +00:00
James Strachan cda091cb5e allow any implementation of PersistenceAdapterFactory to be used
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391096 13f79535-47bb-0310-9956-ffa450edef68
2006-04-03 18:00:07 +00:00
James Strachan 609681a0cb allow any implementation of PersistenceAdapterFactory to be used
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391091 13f79535-47bb-0310-9956-ffa450edef68
2006-04-03 17:39:32 +00:00
Robert Davies 39ad4a84cb change some frequent info logging to debug
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391054 13f79535-47bb-0310-9956-ffa450edef68
2006-04-03 14:23:51 +00:00
Robert Davies 1ffd9f88a9 Add some basic testing of the Kaha persistence adaptor
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391053 13f79535-47bb-0310-9956-ffa450edef68
2006-04-03 14:15:17 +00:00
Robert Davies ff6a6e834e test transactions don't through any funnies
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391052 13f79535-47bb-0310-9956-ffa450edef68
2006-04-03 14:13:57 +00:00
Robert Davies 0e6a7e4897 extended so can be used by Transaction tests for Master Slave
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391051 13f79535-47bb-0310-9956-ffa450edef68
2006-04-03 14:13:29 +00:00