Commit Graph

854 Commits

Author SHA1 Message Date
Alvin Lin 73d90b1b47 AMQ-6930 provide options to allow stdout/stderr of activemq process to be redirect to a file using append mode
(cherry picked from commit f3a8e88206)
2018-04-10 12:12:27 -07:00
gtully 8fd82ff693 Revert "AMQ-2388: Enanched log4j logger to include exact versio number."
This appender drops nested or cause exceptions from the stack trace, the cause is kinda handy.
This reverts commit 4927c54a0a.
2018-03-23 14:38:11 +00:00
James Sears cc6cb74c74 AMQ-6828 Improvement to python AMQP example.
Migrate example python code to proton reactor API.
2017-10-18 11:06:19 +01:00
Christopher L. Shannon (cshannon) a9fe4e33c3 [maven-release-plugin] prepare for next development iteration 2017-06-27 13:41:28 -04:00
Christopher L. Shannon (cshannon) 5f0d6943cb [maven-release-plugin] prepare release activemq-5.15.0 2017-06-27 13:41:01 -04:00
gtully 7cae60eae0 [AMQ-6684] exclude json cat-x transitive dep 2017-05-24 16:19:09 +01:00
Timothy Bish ef064953b4 https://issues.apache.org/jira/browse/AMQ-6621
Fix year values and remove an outdated attribution.
2017-03-08 14:12:04 -05:00
Christopher L. Shannon (cshannon) 1d15908e71 https://issues.apache.org/jira/browse/AMQ-6595
Fixing tar permissions so that everything is 0755 or 0644 as it should
be
2017-02-08 13:17:29 -05:00
Timothy Bish 043d1f29e4 https://issues.apache.org/jira/browse/AMQ-6510
Use the ${activemq.data} directive for the logging output folder insead
of a synthesized value based on ${activemq.base}/data
2016-11-21 15:42:25 -05:00
Timothy Bish a6367978e5 Remove proton-jms reference as that project no longer exists. 2016-11-04 16:58:16 -04:00
Hadrian Zbarcea be24a133ef This closes #88 (merged as a65ac586). More file permissions fixes. 2016-11-03 14:26:34 -04:00
Hadrian Zbarcea d5a929c0d2 This closes #205. Won't fix. (fix even more file permissions) 2016-11-03 14:11:40 -04:00
Hadrian Zbarcea d54d046b8a This closes #185. Won't fix. (fix more file permissions) 2016-11-03 11:54:33 -04:00
Hadrian Zbarcea a8a650cbee Fix warnings in Eclipse IDE; remove deprecated prerequisites in maven3 2016-10-31 20:37:45 -04:00
Dejan Bosanac 6630e81379 https://issues.apache.org/jira/browse/AMQ-6435 - destination mbean query api 2016-09-19 16:22:44 +02:00
Christopher L. Shannon (cshannon) 06a21dbbb3 [maven-release-plugin] prepare for next development iteration 2016-08-02 09:03:37 -04:00
Christopher L. Shannon (cshannon) 71cbc65283 [maven-release-plugin] prepare release activemq-5.14.0 2016-08-02 09:02:54 -04:00
Timothy Bish 9079678c3a https://issues.apache.org/jira/browse/AMQ-6311
Remove misleading checknotforrunning value from the invoke
2016-06-06 12:02:14 -04:00
Timothy Bish f6b8ce6c22 https://issues.apache.org/jira/browse/AMQ-6311
call the correct task 'checkfornotrunnig'
2016-06-06 11:44:17 -04:00
vivek-dhayalan 53a9080c27 Updating help text properly 2016-05-20 15:19:03 +02:00
Dejan Bosanac 3dd86d04e8 https://issues.apache.org/jira/browse/AMQ-6276 - remove fileserver webapp 2016-05-03 12:39:50 +02:00
Timothy Bish 666029e024 https://issues.apache.org/jira/browse/AMQ-6223
Include the junit integration jar in the lib/extra area of the binary
distro.
2016-04-04 12:43:34 -04:00
Dejan Bosanac 993d561947 https://issues.apache.org/jira/browse/AMQ-6118 - CRL Checking via OCSP 2016-04-01 13:07:17 +02:00
TomyLobo 8a44c08b13 Move directory variables up (AMQ-6189)
Setting ACTIVEMQ_CONF to a different value and not moving it up will result in login.config being taken from the old location.
This commit fixes this by moving these variables above all places they are used in.

This closes #172
2016-03-14 17:45:52 -04:00
Timothy Bish 69c5fd7d5a AMQ-6213 Quote path values to ensure the script works when the path
contains spaces.  

This closes #173
2016-03-14 17:32:28 -04:00
Timothy Bish 06bc2840de AMQ-6167 Remove old example that used the now defunct IBM perfharness. 2016-02-25 12:20:20 -05:00
Claus Ibsen f0378bcd3f Turn off jolokia discovery by default. 2016-02-17 08:38:26 +01:00
Claus Ibsen ba6c39c26d Jolokia should not send back exceptions/error details by default 2016-02-17 08:02:55 +01:00
Christopher L. Shannon (cshannon) 24ad367785 https://issues.apache.org/jira/browse/AMQ-6170
Fixing X-Frame-Options header so that is applied for all content served
by Jetty.  The previous patch wasn't correct because it only applied it
to Servlets and JSPs and not static content. This also reverts AMQ-6113
2016-02-12 20:43:45 +00:00
Ingo Weiss f89e8c5d25 Clarified and updated instructions
Updated the example to match stompest API changes
2016-02-12 16:43:45 +00:00
Christopher L. Shannon (cshannon) e0ad700f2c https://issues.apache.org/jira/browse/AMQ-6138
Adding ACTIVEMQ_USER_CLASSPATH to make the ActiveMQ classpath more
extendable by users.  Also fixinng the classpath parsing to use the
right path separator dependening on the environment.
2016-01-28 21:12:10 +00:00
Claus Ibsen eac005a37f AMQ-6149: Lets pre-configure jolokia in the broker 2016-01-28 19:45:15 +01:00
Timothy Bish 4ecff14030 NO-JIRA Update master version to 5.14.0-SNAPSHOT to match the eventual
release version.
2016-01-20 12:40:20 -05:00
Christopher L. Shannon (cshannon) 43d493e527 https://issues.apache.org/jira/browse/AMQ-6112
Fixing file permissions in assembly tar.  Some permissions were not
being set explicitly which means the value used could change depending
on where the assembly was built. Permissions are now being set to fix
this.
2016-01-07 15:33:46 +00:00
Christopher L. Shannon (cshannon) cfb4ca9f54 [maven-release-plugin] prepare for next development iteration 2015-11-30 13:48:58 +00:00
Christopher L. Shannon (cshannon) abfe038ddf [maven-release-plugin] prepare release activemq-5.13.0 2015-11-30 13:48:11 +00:00
Gregor Zurowski b7a5787610 AMQ-5977: Add LSB headers to init script
Add LSB headers to init script to fix problems when setting up ActiveMQ
as a daemon with chkconfig on RHEL and clones.

Signed-off-by: Gregor Zurowski <gregor@zurowski.org>
2015-09-23 08:31:00 +02:00
Dejan Bosanac 32ca1f53fa https://issues.apache.org/jira/browse/AMQ-5956 - propagate exception - helps with AMQ3410Test and AMQ3411Test failures 2015-09-15 11:46:34 +02:00
Dejan Bosanac 73f9131a62 https://issues.apache.org/jira/browse/AMQ-5956 - improve CLI commands error handling 2015-09-04 15:52:23 +02:00
Christopher L. Shannon (cshannon) 0f492f3b4b https://issues.apache.org/jira/browse/AMQ-5356
Migrated to Karaf 4.  This was required to support Jetty 9.2.x.
Fixed all OSGi unit tests.
2015-09-03 12:42:22 +00:00
Christopher L. Shannon (cshannon) f44c3d20ed https://issues.apache.org/jira/browse/AMQ-5356
Upgraded to Jetty 9.2.x to solve JDK 8 compatibility issues.
This required migrating to the new WebSocket API.
2015-09-03 11:54:57 +00:00
Christopher L. Shannon (cshannon) 04ee70a161 https://issues.apache.org/jira/browse/AMQ-5889
Adding support for auto detection of wire protocols over a transport.
OpenWire, AMQP, STOMP, and MQTT can all be detected and the broker
will properly handle each one over a given Transport.  Currently
auto TCP, NIO, SSL, and NIO+SSL transports can handle auto-detection
of the wire format and client but support could be added in the
future for other transports like websockets.
2015-08-11 19:39:29 +00:00
Timothy Bish 6cdd750ddc [maven-release-plugin] prepare for next development iteration 2015-08-10 11:04:26 -04:00
Timothy Bish a9eeb03520 [maven-release-plugin] prepare release activemq-5.12.0 2015-08-10 11:04:17 -04:00
gtully bab04458e4 AMQ-5918 - use property replacement for qpid-jms-version to protect example from change. There is a property replacement at assembly time 2015-08-06 12:42:32 +01:00
Timothy Bish 5e4014a976 Update instructions to relfect the latest release. 2015-08-05 13:48:53 -04:00
Timothy Bish a79f317d31 https://issues.apache.org/jira/browse/AMQ-5918
Update to use the QPid JMS client v0.3.0
2015-08-05 12:51:52 -04:00
Marc Schoechlin eb8723c1e9 renamed bin/diag to bin/activemq-diag
This prevents ambiguities in the unix PATH environment variable.
2015-07-25 17:43:07 +02:00
Marc Schoechlin 7d30b5ceda removed activemq-admin
This script provides redundant functionality to "bin/activemq" and its
broken because it uses the wrong environment configuration.
2015-07-25 17:40:28 +02:00
Marc Schoechlin 167c510331 changed permissions of "env" file
The previous permission of the  <activemq-install-dir>/bin/env file
(755) caused some problems on systems where the
<activemq-install-dir>/bin/ directory is part of the PATH variable.
The executable "env" is also available of all common unix platforms.
If <activemq-install-dir>/bin/ has precedence in the PATH environment
variable this causes lots of unexpected problems.
In future it would be a good idea to relocate the file to the
<activemq-install-dir>/conf directory.
2015-07-25 17:22:10 +02:00
Dejan Bosanac da0d1168c1 add example of optimized mqtt deployment configuration 2015-07-13 15:09:15 +02:00
gtully a05a9a2129 https://issues.apache.org/jira/browse/AMQ-5552 - added profile for activemq.tests=smoke to run a fast subset of tests that gives a fast verification of a full build 2015-07-09 14:10:38 +01:00
Marc Schoechlin b06c1679b6 check that broker is not running if export is used 2015-06-30 08:16:52 +02:00
Marc Schoechlin 3870aa9447 Resolved merge conflict 2015-06-29 08:34:50 +02:00
Dejan Bosanac e2221e31fa https://issues.apache.org/jira/browse/AMQ-5841 - activemq script returns a non zero exit code for successful operations 2015-06-15 12:30:13 +02:00
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