Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2331

JMS mailqueue :: enqueue tries to rollback a non transacted session

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • master
    • None
    • Queue

    Description

      This is the cause of unnecessary logs as that operation fails.

      Here is an example of such logs:

       	javax.jms.IllegalStateException: Not a transacted session
      	at org.apache.activemq.ActiveMQSession.rollback(ActiveMQSession.java:598)
      	at org.apache.james.queue.jms.JMSMailQueue.rollback(JMSMailQueue.java:117)
      	at org.apache.james.queue.jms.JMSMailQueue.enQueue(JMSMailQueue.java:235)
      	at org.apache.james.queue.jms.JMSMailQueue.enQueue(JMSMailQueue.java:255)
      	at org.apache.james.mailetcontainer.impl.JamesMailetContext.sendMail(JamesMailetContext.java:411)
      

      We should rather remove this rollback line.

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: