Commit Graph

799 Commits

Author SHA1 Message Date
Christopher L. Shannon ab389684be https://issues.apache.org/jira/browse/AMQ-5836
Modifying start up scripts to consistently use the same property names
2015-06-12 11:50:44 -04:00
Marc Schoechlin aeb93e4a24 improve stability
- added more reliable quoting
- improved reliability of stopping
- improved management of concurrent stop processes
- added a "kill" option which terminates the daemon in a rude way
2015-06-06 17:02:31 +02:00
Marc Schoechlin a767bda603 Memory configuration
Reduce the default memory minimal overhead of activemq from 1G to 64M to
ensure that activemq does not revoke to work in small environments.
If a larger process heap than 64M is needed the jvm grows up to 1GB.

Conflicts:
	assembly/src/release/bin/env
2015-06-06 15:24:37 +02:00
Marc Schoechlin 07920b2534 minor stabilisation patches
This commit adds:
- some quoting of variables to prevent problems with unusual paths
- sets some default variables to prevent problems
- adds some function and helptext documentation
2015-06-06 15:23:11 +02:00
Marc Schoechlin 250bc9ea95 stop behavior
fix bug caused by a uncomplete change which renames the pidfile for a
running shutdown task
2015-06-06 15:23:04 +02:00
Marc Schoechlin 0eb45b434d create a pidfile for a console run
this adds a pidfile which contains the pid of the running shellscript if
activemq is run by "console". This prevents problems if someone tries to
to use i.e. the start/stop options while some is debugging activemq in
foreground mode.
2015-06-06 15:22:08 +02:00
Marc Schoechlin 02a94143db check status of running status
This adds a better output for some tasks if the broker is not running.
The user gets the information that the broker is currently not running.
Users are confused if they see a java stacktrace on invoking commands -
often they do not read error output in detail.
This change respects that the script can also be used to contact remote
brokers - if ACTIVEMQ_QUEUEMANAGERURL is defined you get the regular
stacktrace, because the script cannot know about the state if a remote
broker.
In >98% of all cases this script controls local instances - we should
help the common user!
2015-06-06 15:22:02 +02:00
Marc Schoechlin dd647f98a5 provide the real exitcodes
provide the exitcode of the task to the user
2015-06-06 15:21:51 +02:00
Marc Schoechlin ea5f4de399 Minor improvment
Conflicts:
	assembly/src/test/scripts/init-script-testsuite
2015-06-06 15:21:01 +02:00
Marc Schoechlin ce3939b11f Added help text to give the user a hint how to configure activemq
Conflicts:
	assembly/src/release/bin/env
2015-06-06 15:19:39 +02:00
Marc Schoechlin e52b7dc368 AMQ-5733: return exitcode 0 if stop was sucessful
according to http://refspecs.linuxbase.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html
the exitcode should be 0, although this is a abnormal termination way
2015-06-06 15:16:08 +02:00
Andy Taylor cc36633cef AMQ-5793 - fix example
https://issues.apache.org/jira/browse/AMQ-5793
2015-05-22 08:55:23 +01:00
Dejan Bosanac f2c3ebfa0e https://issues.apache.org/jira/browse/AMQ-5754 - disable file server by default 2015-04-30 12:08:26 +02:00
Claus Ibsen 5dd39f9062 Jolokia discovery url should be configured to correct path if people enable that. 2015-04-25 16:21:40 +02:00
Dejan Bosanac b8698953f3 https://issues.apache.org/jira/browse/AMQ-5744 - jasypt-spring31 2015-04-24 11:56:26 +02:00
Jeff Genender 6d6ed4eaaf AMQ-5721 - Update ActiveMQ to use commons-pool2 instead of commons-pool.AMQ-5636 will need it. The JMS pool and other components should use it as well. 2015-04-16 16:01:39 +02:00
Dejan Bosanac 0fd174b928 https://issues.apache.org/jira/browse/AMQ-5008 - certificate revocation list support 2015-03-30 16:39:15 +02:00
Dejan Bosanac b585650197 https://issues.apache.org/jira/browse/AMQ-5558 - deprecate old ant-based examples 2015-03-25 10:58:06 +01:00
Claus Ibsen 559f52a2aa Upgrade year to 2015 2015-03-15 11:34:04 +01:00
Jeff Genender 939c8a14df AMQ-5636 - Update old openjsb tests to more current DBCP2 XA Camel tests 2015-03-06 09:51:26 -07:00
Jeff Genender 6f1e48d866 Added dbcp config 2015-03-06 08:05:11 -07:00
Jeff Genender 58ed95d7c8 AMQ-5636 - Update DBCP to a much more recent version 2015-03-05 08:36:26 -07:00
Dejan Bosanac ac24a08b8b IDERunner util class that can run full distro from IDE 2015-03-04 11:57:37 +01:00
Dejan Bosanac b35b8e37f6 https://issues.apache.org/jira/browse/AMQ-5378 - document shell script configuration and enable using environment variables 2015-02-02 11:14:51 +01:00
gtully ae595c95b1 [maven-release-plugin] prepare for next development iteration 2015-01-30 12:46:19 +00:00
gtully 4ba1a1689f [maven-release-plugin] prepare release activemq-5.11.0 2015-01-30 12:46:08 +00:00
gtully bf5a2997c7 [maven-release-plugin] prepare for next development iteration 2015-01-26 16:48:46 +00:00
gtully eec2955bde [maven-release-plugin] prepare release activemq-5.11.0 2015-01-26 16:48:37 +00:00
gtully 64fa706d54 Revert "[maven-release-plugin] prepare release activemq-5.11.0"
This reverts commit f47fbe4b89.
2015-01-26 16:39:35 +00:00
gtully f47fbe4b89 [maven-release-plugin] prepare release activemq-5.11.0 2015-01-26 16:17:43 +00:00
gtully 60f9b020cc https://issues.apache.org/jira/browse/AMQ-5515 - update to 8.1.15.v20140411 2015-01-13 12:06:54 +00:00
gtully cf62d58ae7 https://issues.apache.org/jira/browse/AMQ-5515 - tidy up jetty deps - fix jetty maven coords 2015-01-12 22:58:07 +00:00
Hadrian Zbarcea aedcae139b Revert "[maven-release-plugin] prepare release activemq-5.11.0"
This reverts commit 48b0cf396c.
2015-01-05 12:25:58 -05:00
Hadrian Zbarcea 89995f4723 Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit 7b285c6f52.
2015-01-05 12:25:47 -05:00
Dejan Bosanac 7b285c6f52 [maven-release-plugin] prepare for next development iteration 2014-12-29 12:44:32 +01:00
Dejan Bosanac 48b0cf396c [maven-release-plugin] prepare release activemq-5.11.0 2014-12-29 12:44:20 +01:00
Dejan Bosanac 90822a5851 adding missing licences 2014-12-29 12:32:51 +01:00
Dejan Bosanac c266b1069b https://issues.apache.org/jira/browse/AMQ-5378 - shell script improvements - revert stop pid renaming 2014-12-23 16:19:16 +01:00
Dejan Bosanac 83631e3068 https://issues.apache.org/jira/browse/AMQ-5378 - shell script improvements - remove hostname from pid file 2014-12-23 14:16:07 +01:00
Dejan Bosanac 7100bf377a https://issues.apache.org/jira/browse/AMQ-5378 - shell script improvements 2014-12-23 13:16:47 +01:00
Timothy Bish 12481abb98 https://issues.apache.org/jira/browse/AMQ-5479
Fix script output not reading JAVA_HOME
2014-12-09 11:08:28 -05:00
Dejan Bosanac 80a4fb7cb7 https://issues.apache.org/jira/browse/AMQ-5378 - shell script improvements; removing setup, cygwin fixes, refactoring 2014-12-08 14:45:14 +01:00
Dejan Bosanac 7c1ca63d4d https://issues.apache.org/jira/browse/AMQ-5378 - shell script improvements 2014-11-21 14:05:04 +01:00
Dejan Bosanac 4da588d4fc https://issues.apache.org/jira/browse/AMQ-5105 - problem starting broker with leveldb store 2014-07-17 17:12:52 +02:00
Kevin Earls 07dad1cd55 Fixed config file paths for Windows AMQ-5216 2014-06-06 16:09:52 +02:00
Dejan Bosanac fa086396a7 [maven-release-plugin] prepare for next development iteration 2014-06-05 11:59:29 +02:00
Dejan Bosanac 58dd93e42e [maven-release-plugin] prepare release activemq-5.10.0 2014-06-05 11:59:17 +02:00
Dejan Bosanac c2cf78542f [maven-release-plugin] prepare for next development iteration 2014-06-04 11:33:17 +02:00
Dejan Bosanac 5bc741f227 [maven-release-plugin] prepare release activemq-5.10.0 2014-06-04 11:33:03 +02:00
Dejan Bosanac 1591960887 fixing licenses 2014-06-03 14:03:28 +02:00
Claus Ibsen 7af9bce8a7 Added close destroy-method to Postgres data source. Thanks to Jakub Korab for reporting in https://github.com/apache/activemq/pull/19 2014-05-11 10:54:27 +02:00
Jason Sherman d37786ea13 Add Jetty host property to resolve URL message 2014-05-09 16:38:49 -04:00
Hiram Chirino bdb24ee7c7 Fixes AMQ-5176: Support building ActiveMQ using Java 8 JDK 2014-05-07 10:53:51 -04:00
Timothy Bish 8498136f5e fix for: https://issues.apache.org/jira/browse/AMQ-5004 2014-04-30 10:08:28 -04:00
Hadrian Zbarcea 3f32507f78 Use autocrlf consistently for line endings 2014-04-29 14:18:37 -04:00
Hadrian Zbarcea ed11b067c5 Add missing license headers in preparation of releases 2014-03-31 18:43:54 -04:00
Dejan Bosanac f5ddcf06d7 https://issues.apache.org/jira/browse/AMQ-5128 - provide SSL_OPTS to all tasks 2014-03-31 12:52:59 +02:00
Claus Ibsen 4927c54a0a AMQ-2388: Enanched log4j logger to include exact versio number. 2014-03-29 12:27:46 +01:00
Claus Ibsen 3f5d17f593 AMQ-5124: Disable jolokia discovery as we need a new jolokia release so it can broadcast the correct hostname. 2014-03-29 11:36:06 +01:00
Claus Ibsen 2ccc349542 Enabled jolokia discovery and removed hawtio dir 2014-03-21 15:31:11 +01:00
Claus Ibsen ab64241354 Enabled jolokia discovery and removed hawtio dir 2014-03-21 15:14:37 +01:00
Claus Ibsen d793db4440 AMQ-5091: Upgrade to jolokia 1.2 2014-03-10 13:58:33 +01:00
Claus Ibsen 82fb18d0d1 Allow to access server log 2014-03-07 16:03:30 +01:00
Les Hazlewood f9451e56e2 Fix for https://issues.apache.org/jira/browse/AMQ-3621 - Integrate Apache Shiro with ActiveMQ as "security solution" - many thanks to Les Hazlewood (lhazlewood) for the patch!
Commit dev changes to branch.

Signed-off-by: Christian Posta <christian.posta@gmail.com>

Added shiro support to 5.9.x

Signed-off-by: Christian Posta <christian.posta@gmail.com>

Added Shiro deps to dist zip/tarball and 'all' .jar

Signed-off-by: Christian Posta <christian.posta@gmail.com>

updated version number to reflect correctly packaging Shiro features

Signed-off-by: Christian Posta <christian.posta@gmail.com>

Handled case when adding a producer might not have a specified destination.

Signed-off-by: Christian Posta <christian.posta@gmail.com>

Merged latest Connection API changes from trunk.

Signed-off-by: Christian Posta <christian.posta@gmail.com>

removed accidental addition of Stormpath's m2 repo

Signed-off-by: Christian Posta <christian.posta@gmail.com>

reverted accidental deletion of <distributionManagement>

Signed-off-by: Christian Posta <christian.posta@gmail.com>
2014-02-24 08:17:32 -07:00
Daniel Kulp 127f82a439 Remove sitemesh jar from assembly, not needed anymore 2014-02-03 14:37:46 -05:00
Kevin Earls c027552035 Upgraded surefire plugin to 2.16. AMQ-5006 2014-01-30 14:22:44 +01:00
Dejan Bosanac e366917efc https://issues.apache.org/jira/browse/AMQ-4979 - password protect jolokia api 2014-01-21 16:48:33 +01:00
Dejan Bosanac 286a5a6b49 https://issues.apache.org/jira/browse/AMQ-4979 - put jolokia back in 2014-01-21 15:13:27 +01:00
Daniel Kulp 760ee2677a Remove hawt.io console and restore back to just the old console 2014-01-02 11:11:06 -05:00
Hiram Chirino 0b581104c7 pass along the ssl system properties if they are defined on the command line for the swissarmy example 2013-12-11 09:34:03 -05:00
Hiram Chirino ff0dd5a917 Upgrade to latest hawtio release. 2013-12-10 11:03:27 -05:00
Timothy Bish 044c2d98ff fix for: https://issues.apache.org/jira/browse/AMQ-4910 2013-12-05 12:01:44 -05:00
Claus Ibsen bd414b70f7 AMQ-3101: Removed start from bin\activemq.bat so windows users need to start the broker like on unix. 2013-11-13 17:53:08 +01:00
Hiram Chirino 22dc6d444a https://issues.apache.org/jira/browse/AMQ-4471 - Fixing bug where stomp ws example allows remote JS execution. 2013-10-30 13:19:26 -04:00
Hiram Chirino ee65ca4ee5 Fixes AMQ-4806: './bin/activemq console' should 'exec' java so that way scripts calling it can get the pid for the broker's java process. 2013-10-15 10:54:58 -04:00
gtully 864aa6798f [maven-release-plugin] prepare for next development iteration 2013-10-14 23:38:35 +01:00
gtully 87c9bbebac [maven-release-plugin] prepare release activemq-5.9.0 2013-10-14 23:38:22 +01:00
Claus Ibsen 98803a5949 AMQ-4803: Updated instructions in examples how to start, as the files has been moved. 2013-10-14 11:36:21 +02:00
Hiram Chirino 5b5133c28b Fixing up the user-guid.html that is part of the distro to reflect changed paths. Moving the camel.xml to the examples conf dir. 2013-10-11 10:01:28 -04:00
gtully ee0933c71e [maven-release-plugin] prepare for next development iteration 2013-10-11 14:51:36 +01:00
gtully b276006911 [maven-release-plugin] prepare release activemq-5.9.0 2013-10-11 14:51:24 +01:00
Hiram Chirino c643e7f631 Make sure we test the examples/conf broker xml files. 2013-10-10 12:19:06 -04:00
Dejan Bosanac 3345e6ca25 adding proton-j-impl dependency 2013-10-10 17:51:18 +02:00
Hiram Chirino 51cf06be54 Enabled the websocket transport by default and fix up the mqtt websocket demo so you get a random client id by default. 2013-10-10 11:38:08 -04:00
Hiram Chirino 6773b8ff76 Fixing the mqtt java example a bit. 2013-10-10 11:38:07 -04:00
Timothy Bish a912d6d5ce Add in C++ and CSharp examples for Openwire 2013-10-10 11:10:36 -04:00
Hiram Chirino b4dafca869 Renaming to ActiveMQExamples 2013-10-10 10:46:14 -04:00
Hiram Chirino 2ecf41d02f Porting apollo examples structure to ActiveMQ 5.9. 2013-10-10 10:40:04 -04:00
Claus Ibsen 0320630066 Use openwire as transport name instead of default 2013-10-10 16:33:37 +02:00
Claus Ibsen 3ae37a9ba3 Align jetty-demo.xml with jetty.xml so we have the new web console included also. 2013-10-10 16:27:43 +02:00
gtully 5bdcc19693 simplify default config, remove vmcursor refs and default memory limits to 70% heap. hardcoded default 1g 2013-10-10 13:53:39 +01:00
Dejan Bosanac b1bf99425b remove unused packaging poms 2013-10-09 12:11:19 +02:00
Dejan Bosanac 981c8e247f use proper hawtio config for all shell scripts 2013-10-09 10:22:07 +02:00
Hiram Chirino 3a0a9aae05 Include the partition module in the assembly. 2013-10-08 13:27:32 -04:00
Claus Ibsen ef64b057a6 Polished instructions in webconsole readme 2013-10-08 15:19:30 +02:00
Dejan Bosanac 1981adf429 https://issues.apache.org/jira/browse/AMQ-4594 - turning off debug for jaas module 2013-10-07 17:54:36 +02:00
Dejan Bosanac ce9be7b11a https://issues.apache.org/jira/browse/AMQ-4594 - removing hawtio from basic auth and using it's own mechanism 2013-10-07 16:29:12 +02:00
Claus Ibsen 0da02fca9d Added details how to disable login in web consoles. 2013-10-07 12:50:00 +02:00
Claus Ibsen 75c659f122 AMQ-4787: The welcome page of the web console should not be constrained. 2013-10-05 15:52:05 +02:00
Claus Ibsen abaaf25d30 AMQ-4747: Fixed insight-log4j using a patched JAR so we can include it in the standalone distro. 2013-10-05 14:52:43 +02:00