Race condition when adding an object to PojoCache while another thread may read that object
-------------------------------------------------------------------------------------------
Key: JBCACHE-1078
URL: http://jira.jboss.com/jira/browse/JBCACHE-1078
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: PojoCache
Affects Versions: 2.0.0.CR1, 2.0.0.BETA2, 2.0.0.BETA1
…
[View More]Reporter: Vincent Marquez
Assigned To: Jason T. Greene
When adding an object to PojoCache, AdvisedPojoHandler attaches a CachedFieldInterceptor to the advised object being added.(line 125) It does this before it adds the object to the actual Cache. If another thread reads this object in between the time the CachedFieldInterceptor is added and the object is inserted into the cache, (line 178) an exception will be thrown in the Reading thread:org.jboss.cache.pojo.PojoCacheAlreadyDetachedException: pojo: class org.jboss.cache.pojo.test.Person has possibly been detached remotely.
--
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
[View Less]
Investigate implicit transaction problems with optimistic locking
-----------------------------------------------------------------
Key: JBCACHE-1034
URL: http://jira.jboss.com/jira/browse/JBCACHE-1034
Project: JBoss Cache
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Jason T. Greene
Assigned To: Manik Surtani
Fix For: 2.0.0.CR2
If the TX code on the initial create in org.…
[View More]jboss.cache.pojo.optimistic.LocalTxTest.testConcurrentPuts() is commented out, forcing an implicit transaction, internal rollbacks or NPEs can occur.
--
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
[View Less]
Store nested object references as node map values
-------------------------------------------------
Key: JBCACHE-1049
URL: http://jira.jboss.com/jira/browse/JBCACHE-1049
Project: JBoss Cache
Issue Type: Task
Security Level: Public (Everyone can see)
Reporter: Jason T. Greene
Assigned To: Manik Surtani
Fix For: 2.0.0.GA
Currently an object reference is created as a sub node with a reference to …
[View More]another internal node
like this:
/__JBossInternal__/person/test1/_ID_/3j001-m1nqj2-f1gyfwkz-1-f1gyfwmw-3/address
PojoReferebce -> /__JBossInternal__/person/test1/_ID_/3j001-m1nqj2-f1gyfwkz-1-f1gyfwsn-b
This can be simplified to just an attribute on the containing object that contains the reference. Also, this will simplify notification handling, since we can easily determine get/set operations on the field.
--
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
[View Less]
correct NullPointer when processing PRIORITY rule tag
-----------------------------------------------------
Key: JBRULES-447
URL: http://jira.jboss.com/jira/browse/JBRULES-447
Project: JBoss Rules
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Decision tables
Affects Versions: 3.0.4
Reporter: G£bor Lipt£k
Assigned To: Mark Proctor
Attachments: jboss_rules_priority.…
[View More]diff
diff attached. I'm not sure if using LshBuilder is the correct thing to do ...
--
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
[View Less]