Thansk Maxime. I think i went trough all the configuration steps, but maybe i will jsut do that again. Thanks for the suggestion.
teacher@teacher:/opt/activemq/bin$ journalctl -u activemq
-- Logs begin at So 2018-10-14 16:32:13 CEST, end at Do 2018-10-18 10:28:36 CEST. --
Okt 18 10:06:25 teacher systemd[1]: Stopped Messaging and Integration Patterns provider.
Okt 18 10:06:25 teacher systemd[1]: Started Messaging and Integration Patterns provider.
Okt 18 10:06:25 teacher activemq[21293]: INFO: Loading '/etc/default/activemq'
Okt 18 10:06:25 teacher activemq[21293]: INFO: Using java '/usr/bin/java'
Okt 18 10:06:25 teacher activemq[21293]: INFO: Starting in foreground, this is just for
Okt 18 10:06:25 teacher activemq[21293]: INFO: Creating pidfile /usr/share/activemq//dat
Okt 18 10:06:25 teacher activemq[21293]: Java Runtime: Oracle Corporation 1.8.0_181 /usr
Okt 18 10:06:25 teacher activemq[21293]: Heap sizes: current=121856k free=120586k ma
Okt 18 10:06:25 teacher activemq[21293]: JVM args: -Djava.util.logging.config.file=l
Okt 18 10:06:25 teacher activemq[21293]: Extensions classpath:
Okt 18 10:06:25 teacher activemq[21293]: [/usr/share/activemq/lib,/usr/share/activemq/
Okt 18 10:06:25 teacher activemq[21293]: ACTIVEMQ_HOME: /usr/share/activemq
Okt 18 10:06:25 teacher activemq[21293]: ACTIVEMQ_BASE: /usr/share/activemq
Okt 18 10:06:25 teacher activemq[21293]: ACTIVEMQ_CONF: /usr/share/activemq/conf
Okt 18 10:06:25 teacher activemq[21293]: ACTIVEMQ_DATA: /usr/share/activemq/data
Okt 18 10:06:25 teacher activemq[21293]: Loading message broker from: xbean:activemq.xml
Okt 18 10:06:25 teacher activemq[21293]: ERROR: java.lang.RuntimeException: Failed to ex
Okt 18 10:06:25 teacher activemq[21293]: java.lang.RuntimeException: Failed to execute s
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.console.command.
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.console.command.
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.console.command.
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.console.command.
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.console.command.
Okt 18 10:06:25 teacher activemq[21293]: at sun.reflect.NativeMethodAccessorImpl
Okt 18 10:06:25 teacher activemq[21293]: at sun.reflect.NativeMethodAccessorImpl
Okt 18 10:06:25 teacher activemq[21293]: at sun.reflect.DelegatingMethodAccessor
Okt 18 10:06:25 teacher activemq[21293]: at java.lang.reflect.Method.invoke(Meth
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.console.Main.run
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.console.Main.mai
Okt 18 10:06:25 teacher activemq[21293]: at org.springframework.beans.factory.xm
Okt 18 10:06:25 teacher activemq[21293]: at org.springframework.beans.factory.xm
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.xbean.spring.context.Reso
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.xbean.spring.context.Reso
Okt 18 10:06:25 teacher activemq[21293]: at org.springframework.context.support.
Okt 18 10:06:25 teacher activemq[21293]: at org.springframework.context.support.
Okt 18 10:06:25 teacher activemq[21293]: at org.springframework.context.support.
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.xbean.spring.context.Reso
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.xbean.spring.context.Reso
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.xbean.XBeanBroke
lines 1-41...skipping...
-- Logs begin at So 2018-10-14 16:32:13 CEST, end at Do 2018-10-18 10:28:36 CEST. --
Okt 18 10:06:25 teacher systemd[1]: Stopped Messaging and Integration Patterns provider.
Okt 18 10:06:25 teacher systemd[1]: Started Messaging and Integration Patterns provider.
Okt 18 10:06:25 teacher activemq[21293]: INFO: Loading '/etc/default/activemq'
Okt 18 10:06:25 teacher activemq[21293]: INFO: Using java '/usr/bin/java'
Okt 18 10:06:25 teacher activemq[21293]: INFO: Starting in foreground, this is just for debugging purposes (stop process by pressing CTRL+C)
Okt 18 10:06:25 teacher activemq[21293]: INFO: Creating pidfile /usr/share/activemq//data/activemq.pid
Okt 18 10:06:25 teacher activemq[21293]: Java Runtime: Oracle Corporation 1.8.0_181 /usr/lib/jvm/java-8-openjdk-amd64/jre
Okt 18 10:06:25 teacher activemq[21293]: Heap sizes: current=121856k free=120586k max=1791488k
Okt 18 10:06:25 teacher activemq[21293]: JVM args: -Djava.util.logging.config.file=logging.properties -Djava.security.auth.login.config=/usr/share/activemq//conf/login.config -Djava.awt.headles
Okt 18 10:06:25 teacher activemq[21293]: Extensions classpath:
Okt 18 10:06:25 teacher activemq[21293]: [/usr/share/activemq/lib,/usr/share/activemq/lib/camel,/usr/share/activemq/lib/optional,/usr/share/activemq/lib/web,/usr/share/activemq/lib/extra]
Okt 18 10:06:25 teacher activemq[21293]: ACTIVEMQ_HOME: /usr/share/activemq
Okt 18 10:06:25 teacher activemq[21293]: ACTIVEMQ_BASE: /usr/share/activemq
Okt 18 10:06:25 teacher activemq[21293]: ACTIVEMQ_CONF: /usr/share/activemq/conf
Okt 18 10:06:25 teacher activemq[21293]: ACTIVEMQ_DATA: /usr/share/activemq/data
Okt 18 10:06:25 teacher activemq[21293]: Loading message broker from: xbean:activemq.xml
Okt 18 10:06:25 teacher activemq[21293]: ERROR: java.lang.RuntimeException: Failed to execute start task. Reason: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing
Okt 18 10:06:25 teacher activemq[21293]: java.lang.RuntimeException: Failed to execute start task. Reason: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML do
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:91)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:154)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
Okt 18 10:06:25 teacher activemq[21293]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Okt 18 10:06:25 teacher activemq[21293]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
Okt 18 10:06:25 teacher activemq[21293]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Okt 18 10:06:25 teacher activemq[21293]: at java.lang.reflect.Method.invoke(Method.java:498)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.console.Main.main(Main.java:115)
Okt 18 10:06:25 teacher activemq[21293]: Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [activemq.xml]; nested
Okt 18 10:06:25 teacher activemq[21293]: at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:344)
Okt 18 10:06:25 teacher activemq[21293]: at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:304)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104)
Okt 18 10:06:25 teacher activemq[21293]: at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:129)
Okt 18 10:06:25 teacher activemq[21293]: at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:614)
Okt 18 10:06:25 teacher activemq[21293]: at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:515)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:104)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:104)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:67)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
Okt 18 10:06:25 teacher activemq[21293]: at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:87)
Okt 18 10:06:25 teacher activemq[21293]: ... 10 more
Okt 18 10:06:25 teacher activemq[21293]: Caused by: java.io.FileNotFoundException: class path resource [activemq.xml] cannot be opened because it does not exist
Okt 18 10:06:25 teacher activemq[21293]: at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)
Okt 18 10:06:25 teacher activemq[21293]: at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:330)
Okt 18 10:06:25 teacher activemq[21293]: ... 24 more