activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Roberts <vieuxt...@gmail.com>
Subject How do I run activemq with STOMP? Why is derby not found?
Date Wed, 29 May 2013 23:47:46 GMT
I'm staring at the docs, and just going around in circles trying to
follow their advice.

I'm using 5.8.0, installed using homebrew.

I have tried using conf/activemq-stomp.xml, using the command it says
to, and any other variants I can think of:

   activemq console xbean:conf/activemq-stomp.xml
  activemq start xbean:conf/activemq-stomp.xml
   activemq start
xbean:file:/usr/local/Cellar/activemq/5.8.0/libexec/conf/activemq-stomp.xml

   cp /usr/local/Cellar/activemq/5.8.0/libexec/example/conf/activemq.xml .
   activemq start xbean:file:./activemq.xml

The latter almost worked, it even printed a pid, but didn't stay
alive. I also added  <transportConnector name="stomp"
uri="stomp://localhost:61613"/> to libexec/conf/activemq.xml, same
result.

The log file says this, but I've no idea what it means:

2013-05-29 16:20:49,690 | ERROR | Failed to load: URL
[file:./activemq.xml], reason: Error creating bean with name
'org.apache.activemq.xbean.XBeanBrokerService#0' defined in URL
[file:./activemq.xml]:
 Invocation of init method failed; nested exception is
java.lang.NoClassDefFoundError:
org/apache/derby/jdbc/EmbeddedDataSource |
org.apache.activemq.xbean.XBeanBrokerFactory | main
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.apache.activemq.xbean.XBeanBrokerService#0' defined in URL
[file:./activemq.xml]: Invocation of init method f
ailed; nested exception is java.lang.NoClassDefFoundError:
org/apache/derby/jdbc/EmbeddedDataSource

My goal, btw, is merely to demonstrate that a node.js app can talk to
activemq over STOMP. I'm not trying to get a production version of
running, I'm just trying to get something running that I can talk to
with STOMP. And, for what its worth, I'm not a java developer, which
might be why the docs are so obscure to me.


And any idea why activemq start --help gives no help, and activemq
console --help appears to give help for the start command?

Mime
View raw message