[Design of EJB 3.0] - Re: EJBTHREE-615 still present in Embedded-ALPHA9
by jazir1979
Hi folks,
I just posted about this to the user forum as well, but that was before I noticed this thread.
EJBTHREE-615 is causing problems for me too. I'd be willing to debug into it further but had similar problems to Bill when trying to find the correct source. I couldn't even find the correct starting point for the embedded stuff...
Any pointers, or ideas when this Jira issue would be assigned to a developer?
cheers,
Daniel.
"hennejg" wrote : Bill,
|
| thanks. I tried 2006-9-14 (the timestamp of the release on sf and inside the archive) but the line numbers for jbosssx (the starting point for me) just don't match with the ones from the code's debug information.
| In fact, I'm even confused about which repository is the correct one. The version I mentioned above is from CVS. SVN also has a JBossAuthorizationManager in /repos/jbossas/projects/security et al. However, those versions lack the updateCache method.
|
| Thanks!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002535#4002535
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002535
19 years, 2 months
[Design of Messaging on JBoss (Messaging/JBoss)] - Re: JBMESSAGING-674 - Propagating changes on ClusteredConnec
by clebert.suconic@jboss.com
The way I found to skip the race condition was to guess the failoverId based on the order on the failoverMap.
So, in case we can't find the nodeID on failoverMap (meaning the CF was already updated) I will use a method that I'm calling guessFailoverId:
|
| class ClusteringAspect...
|
|
| public static Integer guessFailoverID(Map failoverMap, Integer nodeID)
| {
| Integer failoverNodeID = null;
| Integer[] nodes = (Integer[])failoverMap.keySet().toArray(new Integer[failoverMap.size()]);
| // We need to sort the array first
| Arrays.sort(nodes);
| for (int i = 0; i < nodes.length; i++)
| {
| if (nodeID.intValue() < nodes.intValue())
| {
| failoverNodeID = nodes;
| break;
| }
| }
| // if still null use the first node...
| if (failoverNodeID==null)
| {
| failoverNodeID = nodes[0];
| }
| return failoverNodeID;
| }
|
|
I want to keep this method as public static just because on the process of writing it I wrote a testcase for it... I haven't committed it yet:
org.jboss.test.messaging.jms.clustering.ClusteringAspectInternalTest
Any objections on a test for internal methods (not part of the API)?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002524#4002524
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002524
19 years, 2 months
[Design of JBoss Labs] - Navigation in Labs 2.0
by adamw
Hello,
as I'm starting to change the project pages behavior, I guess it's good time to decide how navigation will look like :)
As I suppose everybody already knows that each project will have the ability to compose its page out of a set of available portlets (via a GUI that Rysiek&Pawe? are writing). They will also be able to add additional pages with other portlets. So I think a first navigational portlet will be "Project Pages" which will simply list the pages defined for a project and enable to switch between them (of course, a project would have to add this portlet to their pages; it would be only usable when a project is selected).
Also, projects much be chosen somehow. So on the main page we would have a "Project List" portlet (or "Software Map" portlet)? That would be a second navigational portlet. How this portlet would be accessed? As I have seen on the mockups, there is no "navigation" on the left side.
A third navigational portlet would be needed for navigating between "global" Labs pages, like architects library/ wiki/ contributors/ jmm/ etc. But I think that we can do this by re-using the first one, that is, having a special "default" project, which would be hold the global content.
Waiting for your opinions :)
--
Adam
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002513#4002513
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002513
19 years, 2 months