● activemq.service - Messaging and Integration Patterns provider
Loaded: loaded (/usr/lib/systemd/system/activemq.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Thu 2017-11-02 15:20:04 CET; 8s ago
Process: 31127 ExecStart=/usr/bin/activemq console (code=exited, status=1/FAILURE)
Main PID: 31127 (code=exited, status=1/FAILURE)
Nov 02 15:20:04 dev-mh.rrz.uni-koeln.de activemq[31127]: at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
Nov 02 15:20:04 dev-mh.rrz.uni-koeln.de activemq[31127]: at java.security.AccessController.doPrivileged(Native Method)
Nov 02 15:20:04 dev-mh.rrz.uni-koeln.de activemq[31127]: at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
Nov 02 15:20:04 dev-mh.rrz.uni-koeln.de activemq[31127]: at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
Nov 02 15:20:04 dev-mh.rrz.uni-koeln.de activemq[31127]: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
Nov 02 15:20:04 dev-mh.rrz.uni-koeln.de activemq[31127]: at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
Nov 02 15:20:04 dev-mh.rrz.uni-koeln.de activemq[31127]: at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Nov 02 15:20:04 dev-mh.rrz.uni-koeln.de systemd[1]: activemq.service: main process exited, code=exited, status=1/FAILURE
Nov 02 15:20:04 dev-mh.rrz.uni-koeln.de systemd[1]: Unit activemq.service entered failed state.
Nov 02 15:20:04 dev-mh.rrz.uni-koeln.de systemd[1]: activemq.service failed.
--
You received this message because you are subscribed to the Google Groups "Opencast Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@opencast.org.
Hi,
$ journalctl -u activemq
No journal files were found.
-- No entries --
$ java -version
java version "1.7.0_151"
OpenJDK Runtime Environment (rhel-2.6.11.1.el7_4-x86_64 u151-b00)
OpenJDK 64-Bit Server VM (build 24.151-b00, mixed mode)
$ cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
$ yum list activemq-dist
Installed Packages
activemq-dist.noarch 5.15.0-1.el7.centos @lkiesow-apache-activemq-dist
Available Packages
activemq-dist.x86_64 5.11.1-3.el7.centos lkiesow-apache-activemq-dist
Hi,
The problem is, that version of activemq is not compatible with
Java 1.7 and a UnsupportedVersionException is thrown. That is not
visible from the logs, but it becomes obvious when one tries to
run activemq directly from the command line, even if only to check
the --help.
We do not know how it is possible we've got our production server
running with Java 1.7, but the exception also appears consistently
there. Simply installing java8 fixes it.
Now, I do believe it is a bug that the RPM package does not contain java 8 as a dependency. Did you Lars create the package yourself? That's my understanding. It would be great if you could fix that in order to avoid all the weirdness. It's a tricky thing to spot :S
Best regards
--
You received this message because you are subscribed to the Google Groups "Opencast Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to users+un...@opencast.org.