[
https://issues.apache.org/jira/browse/OPENJPA-2644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15320524#comment-15320524
]
Alexander Riss commented on OPENJPA-2644:
-----------------------------------------
I am hitting this from OpenJPA:
org.apache.openjpa.persistence.PersistenceException: InternalException
at
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:217)
~[2.4.0:2.4.0]
at
org.apache.openjpa.kernel.DelegatingBrokerFactory.newBroker(DelegatingBrokerFactory.java:154)
~[2.4.0:2.4.0]
at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:226)
~[2.4.0:2.4.0]
at
org.apache.openjpa.persistence.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:153)
~[2.4.0:2.4.0]
...
caused by: InternalException (caused by being called before initialize is
executed)
...MyDataCacheManager.getSystemDataCache(MyDataCacheManager.java:83)
~[2.4.0:2.4.0]
at
org.apache.openjpa.kernel.AbstractBrokerFactory.createDelegatingStoreManager(AbstractBrokerFactory.java:855)
~[2.4.0:2.4.0]
at
org.apache.openjpa.kernel.AbstractBrokerFactory.initializeBroker(AbstractBrokerFactory.java:225)
~[2.4.0:2.4.0]
at
org.apache.openjpa.kernel.AbstractBrokerFactory.newBroker(AbstractBrokerFactory.java:211)
~[2.4.0:2.4.0]
I am wondering if this is the kind of early publication that i pointed out
above - or something else?
> DataCacheManager initialization still isn't thread safe continued.
> ------------------------------------------------------------------
>
> Key: OPENJPA-2644
> URL: https://issues.apache.org/jira/browse/OPENJPA-2644
> Project: OpenJPA
> Issue Type: Bug
> Components: datacache
> Affects Versions: 2.4.0
> Reporter: Alexander Riss
> Assignee: Rick Curtis
>
> OPENJPA-1559 reduced the timing window but the problem still exists.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)