[infinispan-issues] [JBoss JIRA] Commented: (ISPN-832) TimeoutException with 2 or more nodes when there are Entity inserts, updates or removes.
Cyrille Charron (JIRA)
jira-events at lists.jboss.org
Tue Dec 14 09:46:52 EST 2010
[ https://issues.jboss.org/browse/ISPN-832?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12569996#comment-12569996 ]
Cyrille Charron commented on ISPN-832:
--------------------------------------
Yes, I use the JPA version configuration (you will see the values in the persistence.xml file of the test project), I use the default configuration for Infinispan (no explicit file).
Here the extract of my persistence file :
<persistence-unit name="jpacache" transaction-type="JTA">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
<jta-data-source>java:openejb/Resource/jpacacheDS</jta-data-source>
<mapping-file>META-INF/orm.xml</mapping-file>
<class>infiniSpanTest.Person</class>
<class>infiniSpanTest.FemalePerson</class>
<class>infiniSpanTest.MalePerson</class>
<class>infiniSpanTest.Address</class>
<class>infiniSpanTest.Family</class>
<properties>
<property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect" />
<property name="hibernate.show_sql" value="false" />
<property name="hibernate.hbm2ddl.auto" value="create"/>
<property name="hibernate.transaction.manager_lookup_class"
value="org.apache.openejb.hibernate.TransactionManagerLookup" />
<property name="hibernate.generate_statistics" value="true" />
<property name="hibernate.cache.use_structured_entries" value="true" />
<property name="hibernate.cache.use_second_level_cache" value="true" />
<property name="hibernate.cache.use_query_cache" value="true" />
<property name="hibernate.cache.region.factory_class"
value="org.hibernate.cache.infinispan.InfinispanRegionFactory" />
<property name="hibernate.cache.infinispan.infiniSpanTest.Family.cfg"
value="family-entity"/>
<property name="hibernate.cache.infinispan.infiniSpanTest.Person.cfg"
value="person-entity"/>
<property name="hibernate.cache.infinispan.infiniSpanTest.Address.cfg"
value="address-entity"/>
<property name="hibernate.cache.infinispan.infiniSpanTest.Family.members.cfg"
value="members-collection"/>
<property name="hibernate.cache.infinispan.infiniSpanTest.Address.inhabitants.cfg"
value="inhabitants-collection"/>
<property name="hibernate.ejb.classcache.infiniSpanTest.Family"
value="transactional" />
<property name="hibernate.ejb.classcache.infiniSpanTest.Person"
value="transactional" />
<property name="hibernate.ejb.classcache.infiniSpanTest.Address"
value="transactional" />
<property name="hibernate.ejb.collectioncache.infiniSpanTest.Family.members"
value="transactional" />
<property name="hibernate.ejb.collectioncache.infiniSpanTest.Address.inhabitants"
value="transactional" />
</properties>
</persistence-unit>
> TimeoutException with 2 or more nodes when there are Entity inserts, updates or removes.
> ----------------------------------------------------------------------------------------
>
> Key: ISPN-832
> URL: https://issues.jboss.org/browse/ISPN-832
> Project: Infinispan
> Issue Type: Bug
> Components: State transfer
> Affects Versions: 4.2.0.CR3
> Environment: Windows XP + Hibernate 3.6.1-SNAPSHOT + OpenEjb 3.2-SNAPSHOT
> Reporter: Cyrille Charron
> Assignee: Manik Surtani
> Attachments: InfiniSpanTest.zip
>
>
> Hello,
> I have some difficulties to run more than one Node
> with Infinispan as a JPA Level2 cache (default configuration)
> with Hibernate as JPA provider and
> with OpenEjb as JEE container.
> There are a lot of Locks between Nodes when I try to insert entities,
> even if each Node insert entities with a unique ID.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list