[JBoss JIRA] Created: (JBCACHE-1000) Pojocache tutorial not working
by Rajesh Rajasekaran (JIRA)
Pojocache tutorial not working
------------------------------
Key: JBCACHE-1000
URL: http://jira.jboss.com/jira/browse/JBCACHE-1000
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: PojoCache
Reporter: Rajesh Rajasekaran
Assigned To: Jason T. Greene
Fix For: 2.0.0.BETA2
sourceRelative("pojocache.bsh"); loads the cache GUI with the default contents from the script.
Trying the set/get methods does not update the GUI.
bsh % joe.getAddress().setCity("Taipei");
bsh % ArrayList lang = new ArrayList();
bsh % lang.add("Ensligh");
bsh % lang.add("Mandarin");
bsh % joe.setLanguages(lang);
Similar case with pojocacheWithTx.bsh. The cache GUI does not get updated.
tx.begin();
addr.setZip(95131);
tx.commit();
I tried the tutorials from JBossCache-pojo-2.0.0.BETA1.zip
--
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
19 years
[JBoss JIRA] Created: (JBCACHE-1060) Tutorial - removing a child node from the root still leaves the node in memory
by Galder Zamarreno (JIRA)
Tutorial - removing a child node from the root still leaves the node in memory
------------------------------------------------------------------------------
Key: JBCACHE-1060
URL: http://jira.jboss.com/jira/browse/JBCACHE-1060
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.CR1
Reporter: Galder Zamarreno
Assigned To: Galder Zamarreno
Priority: Minor
Fix For: 2.0.0.CR2
I have reproduced an issue via the tutorial but I'm not sure whether it's a tutorial or cache issue yet.
Making a note of the steps so that I can come back to it later.
1st GUI:
bsh % childFqn2 = Fqn.fromString("/child2");
</child2>
bsh % childFqn3 = Fqn.fromString("/child2/child3");
</child2/child3>
bsh % child2 = root.addChild(childFqn2);
<UnversionedNode[ /child2 data=[]]>
bsh % child3 = root.addChild(childFqn3);
<UnversionedNode[ /child2/child3 data=[]]>
2nd GUI:
bsh % childFqn2 = Fqn.fromString("/child2");
</child2>
bsh % child2 = root.getChild(childFqn2);
<UnversionedNode[ /child2 data=[] child=[UnversionedNode[ /child2/child3 data=[]]]]>
bsh % child2.put("key3", "value3");
<null>
- Click on child2 in the 2nd GUI
bsh % child2.clearData();
1st GUI:
bsh % child2.put("key3", "value3");
<null>
bsh % root.removeChild(childFqn2);
<true>
child2 node is still in memory which shouldn't.
--
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
19 years
[JBoss JIRA] Created: (JBCACHE-1041) Tutorial - GUI/beanshell block if node modified within transaction and
by Galder Zamarreno (JIRA)
Tutorial - GUI/beanshell block if
node modified within transaction and node status queried via GUI
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: bulk
Tutorial - GUI/beanshell block if node modified within transaction and
Tutorial - GUI/beanshell block if node modified within transaction and node status queried via GUI
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: JBCACHE-1041
URL: http://jira.jboss.com/jira/browse/JBCACHE-1041
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.0.0.CR1
Reporter: Galder Zamarreno
Assigned To: Galder Zamarreno
Priority: Minor
Fix For: 2.0.0.CR2
Instructions:
- add a node to the cache
- start a transaction
- do a put on that node
- clicking on the node via the GUI to check that the node has not been
updated blocks both the GUI and the beanshell. This is due to not being able to
acquire the read lock on the node to show it.
- Also, once the exception is thrown, the GUI/beanshell stops which shouldn't.
Solution:
- Updates on the GUI should be handled in a different thread so that it does
not block the shell? While the shell is blocked, the current transaction cannot be
committed, leaving the user no option.
--
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
19 years