You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by abarooni <ab...@mediaplatform.com> on 2015/07/29 22:13:35 UTC

LevelDB with "http transport" not sending

I am trying to connect to ActiveMQ cluster which use levelDB, via http
transport , but the java client is not sending msg to broker, it is working
fine with tcp transport.

here are scenarios :
1) I use the same client with http transport to a SINGLE ActiveMQ server,
and it is sending the msg.

2) when i send the msg from ActiveMQs web console under send tab, it is
sending the msg.

3) here is the broker url in client setting:
jms.activemq.broker.url=http://localhost:8090
trying to hit the master server

4) here is the connector in activemq.xml
<transportConnector name="http"
uri="http://0.0.0.0:8090?maximumConnections=1000&amp;wireformat.maxFrameSize=104857600"/> 

5) here is the exception that i get on client log, and there is no log on
ActiveMQ side, I just see the broker register the client messages in the web
console:

2015-07-29 19:42:05,303 [pool-2-thread-1] ERROR (Messenger.java:137) -
msg_name	SENDING	ERROR	Uncategorized exception occured during JMS
processing; nested exception is javax.jms.JMSException:
java.lang.NullPointerException
org.springframework.jms.UncategorizedJmsException: Uncategorized exception
occured during JMS processing; nested exception is javax.jms.JMSException:
java.lang.NullPointerException
	at
org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316)
	at
org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:169)
	at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:496)
	at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:568)
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)
	at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
	at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
	at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
	at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
	at java.lang.Thread.run(Thread.java:745)




--
View this message in context: http://activemq.2283324.n4.nabble.com/LevelDB-with-http-transport-not-sending-tp4700061.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.