Hi Guys,
Got a problem running JmsTemplate in ActiveMQ. All other codes were working except when it uses this code
There is the exception:Code:JmsTemplate.send(new MessageCreator() { public createMessage(Session sn) throws JMSException { ..... } });
Hope you could tell me what was wrong.Code:Exception in thread "ActiveMQ Transport: tcp://localhost/127.0.0.1:61616" java.lang.NoSuchFieldError: TRACE at org.slf4j.impl.Log4jLoggerAdapter.trace(Log4jLoggerAdapter.java:90) at org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:198) at java.lang.Thread.run(Thread.java:662) Exception in thread "main" org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: Wire format negotiation timeout: peer did not send his wire format. at org.springframework.jms.support.JmsUtils.convertJmsAccessException(JmsUtils.java:316) at org.springframework.jms.support.JmsAccessor.convertJmsAccessException(JmsAccessor.java:168) at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:469) at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:534) at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:526)



Reply With Quote
