Artemis Version 2.31.0 Crashes on Startup
Summary
The container that is produced by the Artemis 2.31.0 image crashes.
Steps to reproduce
Startup the image in a container with the following command:
docker run --rm registry1.dso.mil/ironbank/opensource/apache/active-mq-artemis:2.31.0
What is the current bug behavior?
Artemis does not launch and the container crashes with the following error:
/opt/docker-run.sh: line 43: /opt/activemq-artemis/bin/artemis: No such file or directory
What is the expected correct behavior?
Artemis starts successfully.
Relevant logs and/or screenshots
The following is the output of the file contents of /opt/activemq-artemis/
. Notice /opt/activemq-artemis/bin/
does not exist and that this appears to just be source code of Artemis. I have also copied the file contents of the same directory of Artemis version 2.30.0 to show as a comparison.
Failing Version 2.31.0
bash-4.4$ pwd
/opt/activemq-artemis
bash-4.4$ ls
LICENSE artemis-commons artemis-features artemis-jakarta-service-extensions artemis-junit artemis-selector artemis_doap.rdf tests
NOTICE artemis-core-client artemis-hawtio artemis-jdbc-store artemis-log-annotation-processor artemis-server docs
README.md artemis-core-client-all artemis-image artemis-jms-client artemis-maven-plugin artemis-server-osgi etc
RELEASING.md artemis-core-client-osgi artemis-jakarta-client artemis-jms-client-all artemis-protocols artemis-service-extensions examples
artemis-boot artemis-distribution artemis-jakarta-client-all artemis-jms-client-osgi artemis-quorum-api artemis-unit-test-support integration
artemis-cdi-client artemis-docker artemis-jakarta-ra artemis-jms-server artemis-quorum-ri artemis-web pom.xml
artemis-cli artemis-dto artemis-jakarta-server artemis-journal artemis-ra artemis-website scripts
Working Version 2.30.0
bash-4.4$ pwd
/opt/activemq-artemis
bash-4.4$ ls
LICENSE NOTICE README.html bin examples lib licenses schema web
Possible fixes
In hardening_manifest.yaml
the url
field points to the source code of artemis, not the built binaries:
https://repo1.dso.mil/dsop/opensource/apache/active-mq-artemis/-/blob/2d84c8452edd9b65362fdad442a3ac74f6361022/hardening_manifest.yaml#L27
I believe the correct place to pull the binaries (apache-artemis-2.31.0-bin.tar.gz) from is the following link:
https://archive.apache.org/dist/activemq/activemq-artemis/2.31.0/
Tasks
-
Bug has been identified and corrected within the container
Please read the Iron Bank Documentation for more info