Results 1 to 2 of 2

Thread: JMS Transport Trace Exception using JmsTemplate on ActiveMQ

  1. #1

    Exclamation 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 at 12:11 AM.
    BrewMaster
    - Spring is like a box of chocolate, you'll never know what you'll get...

  2. #2
    Join Date
    Jul 2008
    Posts
    26

    Default

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

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

    Bruce

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •