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] [Resolved] (JAMES-2331) JMS mailqueue :: enqueue tries to rollback a non transacted session
Date Thu, 08 Feb 2018 09:07:00 GMT

     [ 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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message