[jboss-jira] [JBoss JIRA] Commented: (JBCACHE-1067) Concurrent node removal detection is not working correctly in OptimisticValidatorInterceptor.java
Javier Pedrido (JIRA)
jira-events at lists.jboss.org
Fri Jul 20 12:05:47 EDT 2007
[ http://jira.jboss.com/jira/browse/JBCACHE-1067?page=comments#action_12369564 ]
Javier Pedrido commented on JBCACHE-1067:
-----------------------------------------
I have three threads that delete and add different entities concurrently. The three threads read some common entities that are not being modified.
I am getting this exception now.
Caused by: org.jboss.cache.optimistic.DataVersioningException: Tx attempted to create /tms_ear,tms_sessions_jar,tms/com/soteica/tms/core/entities/security/TMSUserEntity/com.soteica.tms.core.entities.security.TMSUserEntity#tms anew. It has already been created since this tx started by another (possibly remote) tx.
at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.simpleValidate(OptimisticValidatorInterceptor.java:143)
at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.validateNodes(OptimisticValidatorInterceptor.java:113)
at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.invoke(OptimisticValidatorInterceptor.java:78)
That TMSUserEntity entity in the exception message is not being modified.
> Concurrent node removal detection is not working correctly in OptimisticValidatorInterceptor.java
> -------------------------------------------------------------------------------------------------
>
> Key: JBCACHE-1067
> URL: http://jira.jboss.com/jira/browse/JBCACHE-1067
> Project: JBoss Cache
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: MonthOfBugs_200, Optimistic Locking
> Affects Versions: 1.4.1.SP3
> Reporter: Javier Pedrido
> Assigned To: Manik Surtani
> Fix For: 2.0.0.GA, 1.4.1.SP4
>
>
> A fix similar to JBCache-1026 should be applied
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list