[ 
https://issues.apache.org/jira/browse/JAMES-2331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352015#comment-16352015
 ] 

Tellier Benoit commented on JAMES-2331:
---------------------------------------

https://github.com/linagora/james-project/pull/1287 attend to solve this 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