Your message dated Sun, 26 Jun 2016 16:49:27 +0000
with message-id <[email protected]>
and subject line Bug#825382: fixed in activemq 5.13.3+dfsg-1
has caused the Debian Bug report #825382,
regarding java.io.IOException: Transport scheme NOT recognized: [stomp]
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
825382: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825382
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: activemq
Version: 5.13.2+dfsg-2
Severity: normal
Hi there,
I had troubles getting mcollective to run, and debugging this I found
that I simply cannot enable ActiveMQ for Stomp.
Following the example as given on http://activemq.apache.org/stomp.html,
please see the attached transcript for how it fails.
I verified that on Jessie activemq starts just fine with that config, so
I presume something is missing on Stretch ...
Cheers,
Flo
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.5.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages activemq depends on:
ii adduser 3.114
ii default-jre-headless [java7-runtime-headless] 2:1.8-57
ii libactivemq-java 5.13.2+dfsg-2
ii openjdk-8-jre-headless [java7-runtime-headless] 8u91-b14-2
activemq recommends no packages.
activemq suggests no packages.
-- no debconf information
Script started on Thu 26 May 2016 04:17:25 PM CEST
activemq@fernst:~$ cat foo.xml
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:amq="http://activemq.apache.org/schema/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://activemq.apache.org/schema/core
http://activemq.apache.org/schema/core/activemq-core.xsd
http://camel.apache.org/schema/spring
http://camel.apache.org/schema/spring/camel-spring.xsd">
<broker xmlns="http://activemq.apache.org/schema/core" useJmx="false">
<transportConnectors>
<transportConnector uri="tcp://localhost:61616"/>
<transportConnector uri="stomp://localhost:61613"/>
</transportConnectors>
</broker>
</beans>
activemq@fernst:~$
activemq@fernst:~$
activemq@fernst:~$
activemq@fernst:~$
activemq@fernst:~$
activemq@fernst:~$ activemq console xbean:foo.xml
INFO: Loading '/usr/share/activemq/activemq-options'
INFO: Using java '/usr/lib/jvm/default-java//bin/java'
INFO: Starting in foreground, this is just for debugging purposes (stop process
by pressing CTRL+C)
INFO: Creating pidfile /run/activemq.pid
/usr/bin/activemq: 483: /usr/bin/activemq: cannot create /run/activemq.pid:
Permission denied
Java Runtime: Oracle Corporation 1.8.0_91 /usr/lib/jvm/java-8-openjdk-amd64/jre
Heap sizes: current=502784k free=497520k max=502784k
JVM args: -Xms512M -Xmx512M
-Dorg.apache.activemq.UseDedicatedTaskRunner=true -Djava.awt.headless=true
-Djava.io.tmpdir=/var/lib/activemq/tmp
-Dactivemq.classpath=/var/lib/activemq/conf:/var/lib/activemq/../lib/:
-Dactivemq.home=/usr/share/activemq -Dactivemq.base=/var/lib/activemq/
-Dactivemq.conf=/var/lib/activemq/conf -Dactivemq.data=/var/lib/activemq/data
Extensions classpath:
[/var/lib/activemq/lib,/usr/share/activemq/lib,/var/lib/activemq/lib/camel,/var/lib/activemq/lib/optional,/var/lib/activemq/lib/web,/var/lib/activemq/lib/extra,/usr/share/activemq/lib/camel,/usr/share/activemq/lib/optional,/usr/share/activemq/lib/web,/usr/share/activemq/lib/extra]
ACTIVEMQ_HOME: /usr/share/activemq
ACTIVEMQ_BASE: /var/lib/activemq
ACTIVEMQ_CONF: /var/lib/activemq/conf
ACTIVEMQ_DATA: /var/lib/activemq/data
Loading message broker from: xbean:foo.xml
log4j:WARN No appenders could be found for logger
(org.apache.activemq.xbean.XBeanBrokerFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
info.
ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in file
[/var/lib/activemq/foo.xml]: Invocation of init method failed; nested exception
is java.io.IOException: Transport scheme NOT recognized: [stomp]
java.lang.RuntimeException: Failed to execute start task. Reason:
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in file
[/var/lib/activemq/foo.xml]: Invocation of init method failed; nested exception
is java.io.IOException: Transport scheme NOT recognized: [stomp]
at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:91)
at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)
at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:154)
at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)
at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
at org.apache.activemq.console.Main.main(Main.java:115)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0'
defined in file [/var/lib/activemq/foo.xml]: Invocation of init method failed;
nested exception is java.io.IOException: Transport scheme NOT recognized:
[stomp]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1554)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:706)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
at
org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:104)
at
org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:104)
at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:67)
at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:87)
... 10 more
Caused by: java.io.IOException: Transport scheme NOT recognized: [stomp]
at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
at
org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:189)
at
org.apache.activemq.transport.TransportFactorySupport.bind(TransportFactorySupport.java:32)
at
org.apache.activemq.broker.TransportConnector.createTransportServer(TransportConnector.java:315)
at
org.apache.activemq.broker.TransportConnector.getServer(TransportConnector.java:141)
at
org.apache.activemq.broker.TransportConnector.start(TransportConnector.java:208)
at
org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:2680)
at
org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:2594)
at
org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:756)
at
org.apache.activemq.broker.BrokerService.startBroker(BrokerService.java:718)
at
org.apache.activemq.broker.BrokerService.start(BrokerService.java:621)
at
org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1682)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1621)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1550)
... 27 more
Caused by: java.io.IOException: Could not find factory class for resource:
META-INF/services/org/apache/activemq/transport/stomp
at
org.apache.activemq.util.FactoryFinder$StandaloneObjectFactory.loadProperties(FactoryFinder.java:98)
at
org.apache.activemq.util.FactoryFinder$StandaloneObjectFactory.create(FactoryFinder.java:60)
at
org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder.java:148)
at
org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:186)
... 44 more
ERROR: org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in file
[/var/lib/activemq/foo.xml]: Invocation of init method failed; nested exception
is java.io.IOException: Transport scheme NOT recognized: [stomp]
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined in file
[/var/lib/activemq/foo.xml]: Invocation of init method failed; nested exception
is java.io.IOException: Transport scheme NOT recognized: [stomp]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1554)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:706)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:762)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
at
org.apache.activemq.xbean.XBeanBrokerFactory$1.<init>(XBeanBrokerFactory.java:104)
at
org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:104)
at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:67)
at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:87)
at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)
at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:154)
at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:63)
at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:104)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.activemq.console.Main.runTaskClass(Main.java:262)
at org.apache.activemq.console.Main.main(Main.java:115)
Caused by: java.io.IOException: Transport scheme NOT recognized: [stomp]
at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
at
org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:189)
at
org.apache.activemq.transport.TransportFactorySupport.bind(TransportFactorySupport.java:32)
at
org.apache.activemq.broker.TransportConnector.createTransportServer(TransportConnector.java:315)
at
org.apache.activemq.broker.TransportConnector.getServer(TransportConnector.java:141)
at
org.apache.activemq.broker.TransportConnector.start(TransportConnector.java:208)
at
org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:2680)
at
org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:2594)
at
org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:756)
at
org.apache.activemq.broker.BrokerService.startBroker(BrokerService.java:718)
at
org.apache.activemq.broker.BrokerService.start(BrokerService.java:621)
at
org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:73)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1682)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1621)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1550)
... 27 more
Caused by: java.io.IOException: Could not find factory class for resource:
META-INF/services/org/apache/activemq/transport/stomp
at
org.apache.activemq.util.FactoryFinder$StandaloneObjectFactory.loadProperties(FactoryFinder.java:98)
at
org.apache.activemq.util.FactoryFinder$StandaloneObjectFactory.create(FactoryFinder.java:60)
at
org.apache.activemq.util.FactoryFinder.newInstance(FactoryFinder.java:148)
at
org.apache.activemq.transport.TransportFactory.findTransportFactory(TransportFactory.java:186)
... 44 more
activemq@fernst:~$ exit
Script done on Thu 26 May 2016 04:17:35 PM CEST
--- End Message ---
--- Begin Message ---
Source: activemq
Source-Version: 5.13.3+dfsg-1
We believe that the bug you reported is fixed in the latest version of
activemq, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Markus Koschany <[email protected]> (supplier of updated activemq package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 26 Jun 2016 15:45:05 +0200
Source: activemq
Binary: libactivemq-java libactivemq-java-doc activemq
Architecture: source
Version: 5.13.3+dfsg-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers
<[email protected]>
Changed-By: Markus Koschany <[email protected]>
Description:
activemq - Java message broker - server
libactivemq-java - Java message broker core libraries
libactivemq-java-doc - Java message broker core libraries - documentation
Closes: 825382
Changes:
activemq (5.13.3+dfsg-1) unstable; urgency=medium
.
* Team upload.
* Imported Upstream version 5.13.3+dfsg.
* Enable stomp module. (Closes: #825382).
* Update README.Debian.
* Drop disable-jetty-all-dependency.patch and ignore jetty-all artifact
instead.
* Declare compliance with Debian Policy 3.9.8.
Checksums-Sha1:
77c2fa9109ed45d7ccde936c915c7a11a4f9ba1b 3647 activemq_5.13.3+dfsg-1.dsc
532c6c2fe5ddb5c795d63fd7705592eef8ae9752 2521524
activemq_5.13.3+dfsg.orig.tar.xz
221726cacb14ab9a54de5e4e9cee9f8396ac0c85 15072
activemq_5.13.3+dfsg-1.debian.tar.xz
Checksums-Sha256:
d2c9c0dd6a012f67c6d8349cca63e3b06f66c5d96f66cfc1200dcecc13a7c8aa 3647
activemq_5.13.3+dfsg-1.dsc
713e330c9f65ecc586b6f13555e0f416e98ff2b9c84d160ed701085542b4cb23 2521524
activemq_5.13.3+dfsg.orig.tar.xz
4bdb298c7a60c8b6afaa5920b5906f911ebbc52c5f21b2545e547ec0d3a7cf5f 15072
activemq_5.13.3+dfsg-1.debian.tar.xz
Files:
7f00ce4c75df3dcd56c285e6bdec9c5b 3647 java optional activemq_5.13.3+dfsg-1.dsc
c24f054111e50c5ca53b7dd3967c3b33 2521524 java optional
activemq_5.13.3+dfsg.orig.tar.xz
ea0d0af5bac36c3bf815c9925f96dcdd 15072 java optional
activemq_5.13.3+dfsg-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQJ8BAEBCgBmBQJXb+u/XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBQ0YzRDA4OEVGMzJFREVGNkExQTgzNUZE
OUFEMTRCOTUxM0I1MUU0AAoJENmtFLlRO1HkcsEQALca1YSvcmRv+AcWj4mdLGOt
PlS7LWLPrSamMumTsFT3ZlT1G3CBahc9g3zZBLoAbXBrww1KCG84rgir3oXktoFF
jWYZk8SRDByzZitk68YKrrI+xlOMRq0pijzZZzLk9kT/0d/zl7PNryomMyOTmTqW
G4c0ziT8f7S5J1AexF9u1vpg0gVWCpLjPOW7nEE1n/egOPEkw4BpfwSI5z8pNlBM
NyKXqsbaIzDsIN6+4k+fLwQ+r01siMT5EuHXKqa783VK3f0fgRhAJx/ertAYCZ4S
8zga+FFjIz/LGmgP+xzItHqfKx+LAOnldfGSNAsXPkOkiZXUsZXDBqyKZkdOX32S
Lw2kmoyIQBksnuJECUkrvUWjNs06Gshl43ezsV/JXDgmxBM6zVtKOyxliTW9fFWb
jVPKAZPSaczobJKTnXr7nEOOLCF7dw7pPQxOmBGGO31ZHjAW42wWGI6TY9vo7SsK
sskyvkZeNVY3J9BPjy3CVArbGFZbU4bSP5DdAyE0m8dDJsCQ05KWIepZaoBVFiGx
MPdq4E4N8fMrFoaGrxX/F7Xtc/d5M3NvPRTwOmLSVXiM60BeBTtfb5bjpKuPp4LL
XLf15YYU9e9JzLCYdwE/Z2iogkfYS9Lv9jpi88XFCXh14W3iTogAGmbdL4lxEish
uzWp8qxEpMxRu7Bbv6Z6
=vzPy
-----END PGP SIGNATURE-----
--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
Please use
[email protected] for discussions and questions.