[JBoss JIRA] Created: (JBCACHE-744) Expand CacheLoader API to support streaming state transfer
by Vladimir Blagojevic (JIRA)
Expand CacheLoader API to support streaming state transfer
----------------------------------------------------------
Key: JBCACHE-744
URL: http://jira.jboss.com/jira/browse/JBCACHE-744
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Cache loaders
Affects Versions: 1.4.0, 1.3.0, 1.2
Reporter: Vladimir Blagojevic
Assigned To: Vladimir Blagojevic
Fix For: 2.0.0
CacheLoader API prior to 2.0 does not support streaming state transfer feature implemented in Jgroups 2.4. In order to transfer application state to a receiving cache node we currently have to load entire state into memory and send it to a receiving cache node. Major limitation of this approach is that the state transfer that is very large (>total memory allocated by JVM) would result in OutOfMemoryException.
For example, if a cacheloader is pointing to a huge DOM tree, whose aggregate size is 2GB (and which has partly been passivated to disk), then the state provider cacheloader node can simply iterate over the DOM tree (activating the parts which have been passivated out to disk), and write it to the OutputStream as it traverses the tree. The receiving cacheloader will simply read from the InputStream and reconstruct the tree on its side, possibly again passivating parts to disk. Rather than having to provide a 2GB byte[] buffer (besides the state, so the needed memory is ca 4GB temporarily), streaming state transfer transfers the state in chunks of N bytes (user configurable).
In order to accomodate this feature CacheLoader API will be expanded to include the following methods:
void storeEntireState(InputStream s);
void storeState(Fqn subtree,InputStream s);
void loadEntireState(OutputStream s);
void loadState(Fqn subtree,OutputStream s);
--
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, 9 months
[JBoss JIRA] Created: (JBAS-3454) Unable to set negative values for MBean attributes using Twiddle command
by Sakthi Samabsivam (JIRA)
Unable to set negative values for MBean attributes using Twiddle command
--------------------------------------------------------------------------
Key: JBAS-3454
URL: http://jira.jboss.com/jira/browse/JBAS-3454
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Other
Affects Versions: JBossAS-4.0.3 SP1
Reporter: Sakthi Samabsivam
Priority: Minor
When a customer tries to execute twiddle to set a negative value for one of the attributes, it throws the exception.
For example when I try to set a Scheduler MBean InitialRepitions value to -1, it fails.
Command: twiddle set "jboss:service=Scheduler" "InitialRepetitions" "-1".
Possible problem might be, GetOpt class used in the org.jboss.console.twiddle.SetCommand Class is not accepting the -ve values.It consider the -ve numbers as
an invalid 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, 9 months
[JBoss JIRA] Created: (JBPORTAL-956) "no selection" for Theme Leads to Null Pointer Exception
by Richard Mitchell (JIRA)
"no selection" for Theme Leads to Null Pointer Exception
--------------------------------------------------------
Key: JBPORTAL-956
URL: http://jira.jboss.com/jira/browse/JBPORTAL-956
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal CMS
Affects Versions: 2.4 Final
Environment: Fedora Core 5
Reporter: Richard Mitchell
I was experimenting with theme selection in 2.4.0-CR1. I tried each of the four defined ones which each worked great. I then tried "no selection" to see how that behaved. I received an HTTP 500 error with a Null Pointer Exception whenever I went to a page from that point forward.
I hadn't really "customized" much yet so that, after suggested in the user forum, I blew away the database. All is fine now. I am avoiding that "no selection" entry though.
--
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, 9 months