Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
5.14.3
-
None
-
Linux
Description
It seems that the default file mode on the JAR files in the the distribution is 0600, which means that if you have the distribution files owned by, say, root, but are running as another used (with a separate ACTIVEMQ_HOME and ACTIVEMQ_BASE), then the application fails to start, as it cannot read its JAR files.
$ tar tzvf ~/Downloads/apache-activemq-5.14.3-bin.tar.gz | grep '^-rw-------' -rw------- 0 cshannon domain users 2390 Dec 19 10:41 apache-activemq-5.14.3/examples/amqp/java/pom.xml -rw------- 0 cshannon domain users 2250 Dec 19 10:41 apache-activemq-5.14.3/examples/mqtt/java/pom.xml -rw------- 0 cshannon domain users 3251 Dec 19 10:41 apache-activemq-5.14.3/examples/openwire/advanced-scenarios/jms-example-composite-destinations/pom.xml -rw------- 0 cshannon domain users 3244 Dec 19 10:41 apache-activemq-5.14.3/examples/openwire/advanced-scenarios/jms-example-durable-sub/pom.xml -rw------- 0 cshannon domain users 3249 Dec 19 10:41 apache-activemq-5.14.3/examples/openwire/advanced-scenarios/jms-example-exclusive-consumer/pom.xml -rw------- 0 cshannon domain users 3230 Dec 19 10:41 apache-activemq-5.14.3/examples/openwire/advanced-scenarios/jms-example-message-browser/pom.xml -rw------- 0 cshannon domain users 3243 Dec 19 10:41 apache-activemq-5.14.3/examples/openwire/advanced-scenarios/jms-example-queue-selector/pom.xml -rw------- 0 cshannon domain users 3216 Dec 19 10:41 apache-activemq-5.14.3/examples/openwire/advanced-scenarios/jms-example-queue/pom.xml -rw------- 0 cshannon domain users 3246 Dec 19 10:41 apache-activemq-5.14.3/examples/openwire/advanced-scenarios/jms-example-temp-destinations/pom.xml -rw------- 0 cshannon domain users 3224 Dec 19 10:41 apache-activemq-5.14.3/examples/openwire/advanced-scenarios/jms-example-topic/pom.xml -rw------- 0 cshannon domain users 2300 Dec 19 10:41 apache-activemq-5.14.3/examples/openwire/advanced-scenarios/jms-example-transaction/pom.xml -rw------- 0 cshannon domain users 2278 Dec 19 10:41 apache-activemq-5.14.3/examples/openwire/advanced-scenarios/jms-example-wildcard-consumer/pom.xml -rw------- 0 cshannon domain users 2909 Dec 19 10:41 apache-activemq-5.14.3/examples/openwire/advanced-scenarios/pom.xml -rw------- 0 cshannon domain users 2559 Dec 19 10:41 apache-activemq-5.14.3/examples/openwire/java/pom.xml -rw------- 0 cshannon domain users 2418 Dec 19 10:41 apache-activemq-5.14.3/examples/stomp/java/pom.xml -rw------- 0 cshannon domain users 33088 Feb 1 2016 apache-activemq-5.14.3/lib/slf4j-api-1.7.13.jar -rw------- 0 cshannon domain users 170538 Dec 19 10:37 apache-activemq-5.14.3/lib/activemq-spring-5.14.3.jar -rw------- 0 cshannon domain users 1169877 Dec 19 10:36 apache-activemq-5.14.3/lib/activemq-broker-5.14.3.jar -rw------- 0 cshannon domain users 1424591 Dec 19 10:35 apache-activemq-5.14.3/lib/activemq-client-5.14.3.jar -rw------- 0 cshannon domain users 32359 Feb 1 2016 apache-activemq-5.14.3/lib/geronimo-jms_1.1_spec-1.1.1.jar -rw------- 0 cshannon domain users 50155 Feb 1 2016 apache-activemq-5.14.3/lib/hawtbuf-1.11.jar -rw------- 0 cshannon domain users 20220 Feb 1 2016 apache-activemq-5.14.3/lib/geronimo-j2ee-management_1.1_spec-1.0.1.jar -rw------- 0 cshannon domain users 685732 Dec 19 10:35 apache-activemq-5.14.3/lib/activemq-openwire-legacy-5.14.3.jar -rw------- 0 cshannon domain users 14637 Feb 1 2016 apache-activemq-5.14.3/lib/geronimo-jta_1.0.1B_spec-1.0.1.jar -rw------- 0 cshannon domain users 665405 Dec 19 10:36 apache-activemq-5.14.3/lib/activemq-kahadb-store-5.14.3.jar -rw------- 0 cshannon domain users 147874 Apr 28 2016 apache-activemq-5.14.3/lib/activemq-protobuf-1.1.jar -rw------- 0 cshannon domain users 194851 Dec 19 10:37 apache-activemq-5.14.3/lib/activemq-console-5.14.3.jar -rw------- 0 cshannon domain users 37292 Dec 19 10:35 apache-activemq-5.14.3/lib/activemq-jaas-5.14.3.jar -rw------- 0 cshannon domain users 115649 Dec 19 10:40 apache-activemq-5.14.3/lib/activemq-web-5.14.3.jar -rw------- 0 cshannon domain users 16430 Feb 1 2016 apache-activemq-5.14.3/lib/jcl-over-slf4j-1.7.13.jar -rw------- 0 cshannon domain users 76321 Dec 19 10:39 apache-activemq-5.14.3/lib/camel/activemq-camel-5.14.3.jar -rw------- 0 cshannon domain users 1009602 Feb 1 2016 apache-activemq-5.14.3/lib/optional/spring-core-4.1.9.RELEASE.jar -rw------- 0 cshannon domain users 359408 Feb 1 2016 apache-activemq-5.14.3/lib/optional/spring-aop-4.1.9.RELEASE.jar -rw------- 0 cshannon domain users 712428 Feb 1 2016 apache-activemq-5.14.3/lib/optional/spring-beans-4.1.9.RELEASE.jar -rw------- 0 cshannon domain users 1026909 Feb 1 2016 apache-activemq-5.14.3/lib/optional/spring-context-4.1.9.RELEASE.jar -rw------- 0 cshannon domain users 259078 Feb 1 2016 apache-activemq-5.14.3/lib/optional/spring-expression-4.1.9.RELEASE.jar -rw------- 0 cshannon domain users 252921 Feb 1 2016 apache-activemq-5.14.3/lib/optional/spring-tx-4.1.9.RELEASE.jar -rw------- 0 cshannon domain users 269749 Feb 1 2016 apache-activemq-5.14.3/lib/optional/spring-jms-4.1.9.RELEASE.jar -rw------- 0 cshannon domain users 131184 Nov 22 07:03 apache-activemq-5.14.3/lib/optional/xbean-spring-4.2.jar -rw------- 0 cshannon domain users 20955 Dec 19 10:37 apache-activemq-5.14.3/lib/optional/activemq-pool-5.14.3.jar -rw------- 0 cshannon domain users 52591 Dec 19 10:37 apache-activemq-5.14.3/lib/optional/activemq-jms-pool-5.14.3.jar -rw------- 0 cshannon domain users 111969 Feb 1 2016 apache-activemq-5.14.3/lib/optional/commons-pool2-2.4.2.jar -rw------- 0 cshannon domain users 102578 Apr 28 2016 apache-activemq-5.14.3/lib/optional/activeio-core-3.1.4.jar -rw------- 0 cshannon domain users 179452 Dec 19 10:36 apache-activemq-5.14.3/lib/optional/activemq-jdbc-store-5.14.3.jar -rw------- 0 cshannon domain users 303658 May 23 2016 apache-activemq-5.14.3/lib/optional/commons-net-3.5.jar -rw------- 0 cshannon domain users 973038 Dec 19 10:37 apache-activemq-5.14.3/lib/optional/activemq-leveldb-store-5.14.3.jar -rw------- 0 cshannon domain users 5577112 Feb 1 2016 apache-activemq-5.14.3/lib/optional/scala-library-2.11.0.jar -rw------- 0 cshannon domain users 27253 Feb 1 2016 apache-activemq-5.14.3/lib/optional/hawtbuf-proto-1.11.jar -rw------- 0 cshannon domain users 82869 Feb 1 2016 apache-activemq-5.14.3/lib/optional/hawtdispatch-scala-2.11-1.22.jar -rw------- 0 cshannon domain users 119139 Feb 1 2016 apache-activemq-5.14.3/lib/optional/hawtdispatch-1.22.jar -rw------- 0 cshannon domain users 9242 Feb 1 2016 apache-activemq-5.14.3/lib/optional/leveldb-api-0.6.jar -rw------- 0 cshannon domain users 228800 Feb 1 2016 apache-activemq-5.14.3/lib/optional/leveldb-0.6.jar -rw------- 0 cshannon domain users 1795936 Feb 1 2016 apache-activemq-5.14.3/lib/optional/guava-12.0.jar -rw------- 0 cshannon domain users 56364 Feb 1 2016 apache-activemq-5.14.3/lib/optional/leveldbjni-1.8.jar -rw------- 0 cshannon domain users 19705 Feb 1 2016 apache-activemq-5.14.3/lib/optional/hawtjni-runtime-1.9.jar -rw------- 0 cshannon domain users 704708 Feb 1 2016 apache-activemq-5.14.3/lib/optional/snappy-java-1.1.2.jar -rw------- 0 cshannon domain users 48720 Feb 1 2016 apache-activemq-5.14.3/lib/optional/snappy-0.2.jar -rw------- 0 cshannon domain users 258875 Feb 1 2016 apache-activemq-5.14.3/lib/optional/jackson-core-2.6.3.jar -rw------- 0 cshannon domain users 46989 Feb 1 2016 apache-activemq-5.14.3/lib/optional/jackson-annotations-2.6.3.jar -rw------- 0 cshannon domain users 1170801 Feb 1 2016 apache-activemq-5.14.3/lib/optional/jackson-databind-2.6.3.jar -rw------- 0 cshannon domain users 588337 Feb 1 2016 apache-activemq-5.14.3/lib/optional/commons-collections-3.2.2.jar -rw------- 0 cshannon domain users 284220 Feb 1 2016 apache-activemq-5.14.3/lib/optional/commons-lang-2.6.jar -rw------- 0 cshannon domain users 233859 May 23 2016 apache-activemq-5.14.3/lib/optional/commons-beanutils-1.9.2.jar -rw------- 0 cshannon domain users 449505 Feb 1 2016 apache-activemq-5.14.3/lib/optional/velocity-1.7.jar -rw------- 0 cshannon domain users 207408 Feb 1 2016 apache-activemq-5.14.3/lib/optional/org.apache.servicemix.bundles.josql-1.5_5.jar -rw------- 0 cshannon domain users 129265 Feb 1 2016 apache-activemq-5.14.3/lib/optional/jasypt-1.9.2.jar -rw------- 0 cshannon domain users 102718 Dec 19 10:36 apache-activemq-5.14.3/lib/optional/activemq-mqtt-5.14.3.jar -rw------- 0 cshannon domain users 127821 Feb 1 2016 apache-activemq-5.14.3/lib/optional/hawtdispatch-transport-1.22.jar -rw------- 0 cshannon domain users 108429 Dec 19 10:36 apache-activemq-5.14.3/lib/optional/activemq-stomp-5.14.3.jar -rw------- 0 cshannon domain users 25348 Dec 19 10:38 apache-activemq-5.14.3/lib/optional/activemq-partition-5.14.3.jar -rw------- 0 cshannon domain users 47974 Feb 1 2016 apache-activemq-5.14.3/lib/optional/org.linkedin.zookeeper-impl-1.4.0.jar -rw------- 0 cshannon domain users 792964 Feb 1 2016 apache-activemq-5.14.3/lib/optional/zookeeper-3.4.6.jar -rw------- 0 cshannon domain users 489884 Feb 1 2016 apache-activemq-5.14.3/lib/optional/log4j-1.2.17.jar -rw------- 0 cshannon domain users 153425 Feb 1 2016 apache-activemq-5.14.3/lib/optional/org.linkedin.util-core-1.4.0.jar -rw------- 0 cshannon domain users 8704 Feb 1 2016 apache-activemq-5.14.3/lib/optional/slf4j-log4j12-1.7.13.jar -rw------- 0 cshannon domain users 1655658 Dec 19 10:38 apache-activemq-5.14.3/lib/optional/activemq-runtime-config-5.14.3.jar -rw------- 0 cshannon domain users 128383 Feb 1 2016 apache-activemq-5.14.3/lib/optional/jaxb2-basics-runtime-0.6.4.jar -rw------- 0 cshannon domain users 169534 Dec 19 10:38 apache-activemq-5.14.3/lib/optional/activemq-amqp-5.14.3.jar -rw------- 0 cshannon domain users 717280 Dec 15 14:37 apache-activemq-5.14.3/lib/optional/proton-j-0.16.0.jar -rw------- 0 cshannon domain users 14136 Dec 19 10:39 apache-activemq-5.14.3/lib/optional/activemq-log4j-appender-5.14.3.jar -rw------- 0 cshannon domain users 105051 Dec 19 10:38 apache-activemq-5.14.3/lib/optional/activemq-http-5.14.3.jar -rw------- 0 cshannon domain users 736658 Nov 14 07:36 apache-activemq-5.14.3/lib/optional/httpclient-4.5.2.jar -rw------- 0 cshannon domain users 327373 Nov 14 07:36 apache-activemq-5.14.3/lib/optional/httpcore-4.4.5.jar -rw------- 0 cshannon domain users 263965 Feb 1 2016 apache-activemq-5.14.3/lib/optional/commons-codec-1.9.jar -rw------- 0 cshannon domain users 549133 Nov 14 07:36 apache-activemq-5.14.3/lib/optional/xstream-1.4.9.jar -rw------- 0 cshannon domain users 120069 Feb 1 2016 apache-activemq-5.14.3/lib/optional/xpp3-1.1.4c.jar -rw------- 0 cshannon domain users 44303 Dec 19 10:39 apache-activemq-5.14.3/lib/optional/activemq-shiro-5.14.3.jar -rw------- 0 cshannon domain users 379541 Feb 1 2016 apache-activemq-5.14.3/lib/optional/shiro-core-1.2.4.jar -rw------- 0 cshannon domain users 25565 Feb 1 2016 apache-activemq-5.14.3/lib/optional/shiro-spring-1.2.4.jar -rw------- 0 cshannon domain users 174167 Feb 1 2016 apache-activemq-5.14.3/lib/optional/commons-dbcp2-2.1.1.jar -rw------- 0 cshannon domain users 204950 Feb 1 2016 apache-activemq-5.14.3/lib/optional/jmdns-3.4.1.jar -rw------- 0 cshannon domain users 37477 Feb 1 2016 apache-activemq-5.14.3/lib/optional/geronimo-j2ee-connector_1.5_spec-2.0.0.jar -rw------- 0 cshannon domain users 82930 Feb 1 2016 apache-activemq-5.14.3/lib/optional/spring-oxm-4.1.9.RELEASE.jar -rw------- 0 cshannon domain users 87770 Nov 14 07:36 apache-activemq-5.14.3/lib/optional/jettison-1.3.8.jar -rw------- 0 cshannon domain users 48057 Feb 1 2016 apache-activemq-5.14.3/lib/optional/jasypt-spring31-1.9.2.jar -rw------- 0 cshannon domain users 22488 Feb 1 2016 apache-activemq-5.14.3/lib/optional/insight-log-core-1.2.0.Beta4.jar -rw------- 0 cshannon domain users 115489 Feb 1 2016 apache-activemq-5.14.3/lib/optional/insight-log4j-1.2.0.Beta4.jar -rw------- 0 cshannon domain users 126960 Sep 12 08:04 apache-activemq-5.14.3/lib/extra/mqtt-client-1.14.jar -rw------- 0 cshannon domain users 2803647 Feb 1 2016 apache-activemq-5.14.3/lib/web/jetty-all-9.2.13.v20150730.jar -rw------- 0 cshannon domain users 219683 Feb 1 2016 apache-activemq-5.14.3/lib/web/rome-1.0.jar -rw------- 0 cshannon domain users 153253 Feb 1 2016 apache-activemq-5.14.3/lib/web/jdom-1.0.jar -rw------- 0 cshannon domain users 786528 Feb 1 2016 apache-activemq-5.14.3/lib/web/spring-webmvc-4.1.9.RELEASE.jar -rw------- 0 cshannon domain users 722282 Feb 1 2016 apache-activemq-5.14.3/lib/web/spring-web-4.1.9.RELEASE.jar -rw------- 0 cshannon domain users 244274 Feb 1 2016 apache-activemq-5.14.3/lib/web/tomcat-servlet-api-8.0.24.jar -rw------- 0 cshannon domain users 36603 Feb 1 2016 apache-activemq-5.14.3/lib/web/tomcat-websocket-api-8.0.24.jar -rw------- 0 cshannon domain users 12452 Feb 1 2016 apache-activemq-5.14.3/lib/web/geronimo-annotation_1.0_spec-1.1.1.jar -rw------- 0 cshannon domain users 53297 Feb 1 2016 apache-activemq-5.14.3/lib/web/asm-5.0.4.jar -rw------- 0 cshannon domain users 10701 Feb 1 2016 apache-activemq-5.14.3/lib/web/apache-jsp-9.2.13.v20150730.jar -rw------- 0 cshannon domain users 955429 Feb 1 2016 apache-activemq-5.14.3/lib/web/apache-jsp-8.0.9.M3.jar -rw------- 0 cshannon domain users 237638 Feb 1 2016 apache-activemq-5.14.3/lib/web/apache-el-8.0.9.M3.jar -rw------- 0 cshannon domain users 1764622 Feb 1 2016 apache-activemq-5.14.3/lib/web/org.eclipse.jdt.core-3.8.2.v20130121.jar -rw------- 0 cshannon domain users 3236 Feb 1 2016 apache-activemq-5.14.3/lib/web/apache-jstl-9.2.13.v20150730.jar -rw------- 0 cshannon domain users 40153 Nov 14 07:36 apache-activemq-5.14.3/lib/web/taglibs-standard-spec-1.2.5.jar -rw------- 0 cshannon domain users 206430 Nov 14 07:36 apache-activemq-5.14.3/lib/web/taglibs-standard-impl-1.2.5.jar -rw------- 0 cshannon domain users 326745 Feb 22 2016 apache-activemq-5.14.3/lib/web/jolokia-core-1.3.3.jar -rw------- 0 cshannon domain users 23931 Feb 1 2016 apache-activemq-5.14.3/lib/web/json-simple-1.1.1.jar
Attachments
Issue Links
- duplicates
-
AMQ-6511 Incorrect library permissions in activemq-5.14.1
- Closed