[ 
https://issues.apache.org/jira/browse/JAMES-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tellier Benoit resolved JAMES-2331.
-----------------------------------
    Resolution: Fixed

https://github.com/linagora/james-project/pull/1287 solved the issue.

> 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
>            Priority: Major
>              Labels: easyfix
>
> 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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to