james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-2331) JMS mailqueue :: enqueue tries to rollback a non transacted session
Date Mon, 05 Feb 2018 02:13:00 GMT
Tellier Benoit created JAMES-2331:
-------------------------------------

             Summary: JMS mailqueue :: enqueue tries to rollback a non transacted session
                 Key: JAMES-2331
                 URL: https://issues.apache.org/jira/browse/JAMES-2331
             Project: James Server
          Issue Type: Task
          Components: Queue
    Affects Versions: master
            Reporter: Tellier Benoit


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

Here is an example of such logs:

{code:java}
 	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)
{code}

We should rather remove this *rollback* line.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message