openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Curtis (Created) (JIRA)" <>
Subject [jira] [Created] (OPENJPA-2158) LiteAutoDetach + DetachProxyFields=false can lead to Broker concurrency exceptions
Date Wed, 21 Mar 2012 18:59:41 GMT
LiteAutoDetach + DetachProxyFields=false can lead to Broker concurrency exceptions

                 Key: OPENJPA-2158
             Project: OpenJPA
          Issue Type: Bug
          Components: kernel
    Affects Versions: 2.2.0, 2.1.1, 2.3.0
            Reporter: Rick Curtis
             Fix For: 2.3.0, 2.2.1

OPENJPA-2014 added support for allowing proxies to stay in place after detach, but these detached
proxy instances still hold a reference to a StateManager that is no longer valid.

Exception data: <openjpa-2.2.1-SNAPSHOT-r422266:1244808 fatal general error> 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.
	at org.apache.openjpa.kernel.BrokerImpl.endOperation(
	at org.apache.openjpa.kernel.BrokerImpl.isActive(
	at org.apache.openjpa.kernel.DelegatingBroker.isActive(
	at org.apache.openjpa.persistence.EntityManagerImpl.isActive(
	at org.apache.openjpa.persistence.PersistenceExceptions$2.translate(
	at org.apache.openjpa.kernel.DelegatingQuery.translate(
	at org.apache.openjpa.kernel.DelegatingQuery.execute(
	at org.apache.openjpa.persistence.QueryImpl.execute(
	at org.apache.openjpa.persistence.QueryImpl.getResultList(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message