Tellier Benoit created MAILBOX-325: -------------------------------------- Summary: JPA Entity manager can not be re-used accross requests Key: MAILBOX-325 URL: https://issues.apache.org/jira/browse/MAILBOX-325 Project: James Mailbox Issue Type: Bug Components: jpa, quota Affects Versions: 3.0.1, master Reporter: Tellier Benoit
Entity manager can not be reused accross user requests, leading to some bugs, as reported by yeike...@gmail.com . {code:java} 16:20:37.144 [WARN ] o.a.j.m.p.IMAPServerModule - ID=1559016790 Error while processing imap request: org.apache.openjpa.persistence.PersistenceException - Multiple concurrent threads attempted to access a single broker. By default brokers are not thread safe; if you require and/or intend a broker to be accessed by more than one thread, set the openjpa.Multithreaded property to true to override the default behavior. {code} We might consider setting the openjpa.Multithreaded environment variable. Alternatively, we can ensure quota related code instanciate the manager on a per-request bases, as it is done everywhere else. -- 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