1. Regarding soft references in the cache, again this isn't something that people have asked for; you're the first. Feel free to raise a JIRA for it.
2. There is no memory-based eviction policy yet (see JBCACHE-11). Have a look, vote for it, and if you have the time maybe even contribute an implementation! :-)
3. Your best bet is to use an LFU or LRU policy, fixed to a number of nodes in memory. If you know what you put in each node and how much memory (approximately) each object consumes, you can "estimate" what your maxNodes value should be for your region.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152577#4152577
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152577
What I am trying to do is trying to get the first app running based on JBoss 4.2.2 and JBoss AOP 2.0. So far I have managed to skim enough information to run the install to upgrade the libs from the default 1.5 version to AOP version 2.0. This is supposed to work with JBoss 4.2.2, right?
What's the right place for jboss-aop.xml? Does it go in META-INF inside the WebContent folder or does it go separately in the jboss-aop-jdk50.deployer folder?
I wouldn't have a lot of these questions if there was a sample app around.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152570#4152570
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152570
Basically what I would like to achieve is to be able to refresh a single portlet inside a page without refreshing the whole page. additionally I would like to be able to trigger that refresh through a JS method.
According to the documentation pages can be ajaxfied and support this behavior. I assumed thought, that it meant that the portal somehow does acquire the content of that single portlet and then it replaces the Inner HTML of the portlet window or use some other technique . sadly, I did not find any technical explanation how this is achieved.
Do you know how does the partial refresh work?
Many Thanks,
Yaniv
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152566#4152566
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152566
I have a similar situation. I am attempting to deploy a second instance of my application in order to test a build from a branch and having class loading issues. The first instance deployed works fine but the second gets a ClassCastException.
The application is deployed as an ear and I have tried following the class loading documentation to set the loader-repository and Java2ParentDelegation in my jboss-app.xml but the problem persists.
Is it possible to run two instances of the same application? I'm assuming yes, but so far I can't figure it out.
Anyone have any suggestions?
Thanks in advance,
Greg Stacey
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152564#4152564
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152564