Commit Graph

896 Commits

Author SHA1 Message Date
jbonofre 4ed2ba22a9 Cancel 5.16.0 release 2020-06-24 15:19:34 +02:00
Jean-Baptiste Onofré cd1e9f8697 [maven-release-plugin] prepare for next development iteration 2020-06-23 17:40:26 +02:00
Jean-Baptiste Onofré 2e890c6224 [maven-release-plugin] prepare release activemq-5.16.0 2020-06-23 17:39:53 +02:00
jbonofre 7db424758f [AMQ-7087] Add JDK 9+ specific JVM args to avoid warnings 2020-06-23 07:52:00 +02:00
Christopher L. Shannon (cshannon) 721169a21d AMQ-7500 - Update distribution examples to use JDK 1.8 source/target 2020-06-22 10:31:08 -04:00
Christopher L. Shannon (cshannon) 1a1cabdfce AMQ-5687 - Remove old ANT based examples 2020-06-22 10:04:00 -04:00
Lars Kiesow b993be2995 Shebang in env
This patch removes the shebang from the env file. The file is – and
should always be – sourced and never be executed directly and should
thus not contain a shebang.

The file has also already no executable flag. Probably for the same
reason.
2020-05-30 19:05:28 +02:00
jbonofre 93c245b8ec [AMQ-7465] Protect any webconsole URL by default 2020-05-21 10:40:52 +02:00
jbonofre 36a4115ea8 [AMQ-7483] Update JSW wrapper for MacOS 2020-05-19 16:36:06 +02:00
Jean-Baptiste Onofré b34da16045
Merge pull request #514 from PascalSchumacher/publisher.py_remove_unused_import
Remove unused import in publisher.py.
2020-05-12 08:06:21 +02:00
Marcelo Parada 924d0d1d2d
conn.start deprecated, id argument necessary by conn.subscribe 2020-05-07 15:45:56 +02:00
Jean-Baptiste Onofré da9e4028c9
Merge pull request #513 from coheigea/AMQ-7447
AMQ-7447 - Update copyright years
2020-03-27 10:29:42 +01:00
Colm O hEigeartaigh 9599ad8d95 AMQ-7457 - Support wider password encryption schemes 2020-03-27 08:34:10 +00:00
Pascal Schumacher 8cf12550bd Remove unused import in publisher.py. 2020-03-21 14:44:41 +01:00
Colm O hEigeartaigh c3cdffb373 AMQ-7447 - Update copyright years 2020-03-20 07:14:43 +00:00
jbonofre feb8d3d073 [AMQ-7433] Render full stack trace by default but document possible ConversionPattern 2020-03-03 18:44:53 +01:00
Colm O hEigeartaigh f221072375 AMQ-7434 - Enable Jolokia CORS strict-checking by default 2020-03-03 14:22:04 +00:00
jbonofre c9902433c7 [AMQ-7433] Use short rendering of exception instead of full stack trace to avoid to pollute log file 2020-03-01 17:38:00 +01:00
jbonofre 0d5b53529a [AMQ-7388] Upgrade to Jetty 9.4.27.20200227 2020-03-01 12:49:36 +01:00
jbonofre d878d877d5 [AMQ-7410] Align dependencies with Apache Karaf 2020-02-26 13:11:33 +01:00
jbonofre ae96af6d0f [AMQ-7409] Exclude netty from zookeeper dependency
Credit To: Piyush Chugh <chughpiyush>
2020-02-19 08:00:10 +01:00
jbonofre f3b2efcbcb [NO-JIRA] Use Maven Central https URL in ActiveMQ URL readme.txt 2020-02-18 14:13:11 +01:00
jbonofre 097506a458 [AMQ-7399] org.apache.activemq.SERIALIZABLE_PACKAGES doesn't include java* by default 2020-02-12 13:43:03 +01:00
Colm O hEigeartaigh 23b21105e8 AMQ-7349 - Update some javascript libraries 2019-11-20 16:48:20 +00:00
Jean-Baptiste Onofré 4f07dc5b49 [AMQ-7252] Upgrade to Velocity 2.1 2019-11-15 06:07:40 +01:00
Jean-Baptiste Onofré 8a6ef9d83d
Merge pull request #392 from coheigea/AMQ-7295
AMQ-7295 - Update JTA spec
2019-11-02 07:14:15 +01:00
Jean-Baptiste Onofré 7a243f9751
Merge pull request #394 from jlmuir/init-javacmd-auto-fix
Improve activemq init JAVACMD auto detection
2019-10-18 19:11:13 +02:00
Colm O hEigeartaigh 63b1238c4d AMQ-7322 - Add HTTPOnly flag to the webconsole + REST API Cookies 2019-10-18 17:18:33 +01:00
Colm O hEigeartaigh 892c9e2a2d AMQ-7295 - Update JTA spec 2019-10-16 14:28:17 +01:00
J. Lewis Muir 3df12a15b1 Improve activemq init JAVACMD auto detection
If JAVACMD is set to "auto" (the default from the "env" file) and
the current working directory contains a directory named "auto", the
activemq init script will incorrectly detect the "auto" directory as the
"java" binary thus leaving JAVACMD set to "auto" which is incorrect and
will obviously fail to execute the Java VM.

To fix this, in the second attempt to detect the "java" binary, repeat
the tests for a zero-length JAVACMD or a JAVACMD equal to "auto" before
testing whether JAVACMD does not exist or is not executable.  This is
necessary because when JAVA_HOME's length is zero, the first attempt to
detect the location of the "java" binary will not set JAVACMD (so it
will still be "auto" when it reaches the second auto-detection attempt).
2019-09-27 14:59:13 -05:00
Colm O hEigeartaigh 1e241deb2a AMQ-7292 - WebConsole problem due to missing ecj jar 2019-08-27 15:11:13 +01:00
Jean-Baptiste Onofré 973c78cbec [AMQ-7249] Upgrade to Jetty 9.4.19.v20190610 2019-08-20 21:44:28 +02:00
Jean-Baptiste Onofré fb7d4e6c4d
Merge pull request #357 from bd2019us/AMQ-7199
[AMQ-7199] Replace Math.Random with Random.nextDouble
2019-08-19 19:28:59 +02:00
Colm O hEigeartaigh f7e2d43831 AMQ-7216 - Update Rome dependency 2019-07-04 16:39:11 +01:00
bd2019us ca77f9cfc9 [AMQ-7199] Replace Math.Random with Random.nextDouble 2019-05-10 21:39:53 -05:00
Colm O hEigeartaigh a48cc820d2 Enable X-XSS-Protection + X-Content-Type-Options headers for the webconsole 2019-02-13 21:29:51 +00:00
jgoodyear 97b7cf60a7 [AMQ-6996] Update to Xerces 2.12.0 2018-07-22 16:24:49 -02:30
Marc Schoechlin 6d24f88d16 Bugfix, ambiguous redirect if unset
Thanks to Drew Wyatt<drew.wyatt@carshop.co.uk>
2018-07-19 20:59:19 +02:00
gtully d535e34947 AMQ-7007 - restrict jetty endpoint to 127.0.0.1 by default 2018-07-04 11:37:43 +01:00
Alvin Lin 246899bb26 AMQ-6930 add test case
(cherry picked from commit 6bb56decf8)
2018-04-10 12:13:36 -07:00
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
TomyLobo 7eb9d60c8d Add missing runlevels to Default-Start
Debian starts in runlevel 2 by default.
2016-10-25 11:03:44 +02:00
Fredrik Jönsson 18dce69a78 Remove duplicated code for finding a java process given a pidfile
and make it work in busybox.
2016-09-23 10:09:54 +02: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