Announcement Announcement Module
Collapse
No announcement yet.
JMS Transport Trace Exception using JmsTemplate on ActiveMQ Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JMS Transport Trace Exception using JmsTemplate on ActiveMQ

    Hi Guys,

    Got a problem running JmsTemplate in ActiveMQ. All other codes were working except when it uses this code
    Code:
    JmsTemplate.send(new MessageCreator() {
        public createMessage(Session sn) throws JMSException {
            .....
        }
    });
    There is the exception:
    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)
    Hope you could tell me what was wrong.
    Last edited by brewmaster; Nov 11th, 2011, 12:11 AM.

  • #2
    Take a look at the following FAQ entry on the ActiveMQ site for this exception:

    http://activemq.apache.org/javaxjmsj...re-format.html

    Bruce

    Comment

    Working...
    X