activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdino7 <mdi...@yahoo.com>
Subject Problems embedding stomp transport with AMQ 5.1
Date Tue, 08 Jul 2008 21:44:19 GMT

Trying to use 

broker.addConnector("stomp://localhost:61613");

in embedded broker (5.1)

throws the following error:

Exception in thread "main" java.lang.NoClassDefFoundError:
org/springframework/beans/factory/InitializingBean
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(Unknown Source)
	at java.security.SecureClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.defineClass(Unknown Source)
	at java.net.URLClassLoader.access$000(Unknown Source)
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at
org.apache.activemq.transport.stomp.StompTransportFactory.setBrokerService(StompTransportFactory.java:56)
	at
org.apache.activemq.transport.TransportFactory.bind(TransportFactory.java:121)
	at
org.apache.activemq.broker.BrokerService.createTransportConnector(BrokerService.java:1682)
	at
org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:207)
	at
org.apache.activemq.broker.BrokerService.addConnector(BrokerService.java:197)
	at com.cmt.messagebus.service.Start.main(Start.java:16)

Is there something additional that needs to be done to enable stomp. No
problems with just the tcp transport. Any help would be appreciated.


-- 
View this message in context: http://www.nabble.com/Problems-embedding-stomp-transport-with-AMQ-5.1-tp18349787p18349787.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message