[jbosscache-issues] [JBoss JIRA] Closed: (JBCACHE-1502) cannot remove a node in JTA

Jiayi Gu (JIRA) jira-events at lists.jboss.org
Thu Apr 16 19:48:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBCACHE-1502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiayi Gu closed JBCACHE-1502.
-----------------------------

    Fix Version/s: 3.0.3.GA
                       (was: 3.1.0.GA)
       Resolution: Done


I found a bug in our code w.r.g to FQN. This issue no longer exist after I fixed the FQN. Thanks. 

> cannot remove a node in JTA
> ---------------------------
>
>                 Key: JBCACHE-1502
>                 URL: https://jira.jboss.org/jira/browse/JBCACHE-1502
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Transactions
>    Affects Versions: 3.0.3.GA
>         Environment: Windows XP, 2003 Server
>            Reporter: Jiayi Gu
>            Assignee: Manik Surtani
>             Fix For: 3.0.3.GA
>
>
> We use the following code to remove a node. The cache is wrapped in Atomikos JTA transaction. The code works fine in JBoss Cache 2.1. However the same code and configuration does not work with JBoss Cache 3.0.3. "Does not work" means that the node is not removed using "node.removeChild" method. 
>                 Node<String, T> node = (Node<String, T>) getNode("/Workflow/Filter/Objects/");  <== node returns correctly
>                 Fqn<String> fqn = Fqn.fromString(id + "/");
>                 node.removeChild(fqn);   <== "removeChild" method returns false

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosscache-issues mailing list