[JBoss JIRA] Created: (EJBTHREE-1116) Clustered container sees requests during shutdown
by Brian Stansberry (JIRA)
Clustered container sees requests during shutdown
-------------------------------------------------
Key: EJBTHREE-1116
URL: http://jira.jboss.com/jira/browse/EJBTHREE-1116
Project: EJB 3.0
Issue Type: Bug
Components: Clustering
Affects Versions: AS 4.2.2.GA
Reporter: Brian Stansberry
Assigned To: Brian Stansberry
See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=123677 -- during undeploy the cache is being asked for beans after it has already gone into cleanup. It should not be exposed to requests at this point.
A couple points:
1) StatefulContainer.stop() does this:
if (cache != null) cache.stop();
super.stop();
Basically the cache is stopped before anything else.
2) The HA versions of the old detached invokers included this kind of logic in invoke():
HATarget target = (HATarget)beanMap.get(invocation.getObjectName());
if (!target.invocationsAllowed ())
throw new GenericClusteringException(GenericClusteringException.COMPLETED_NO,
"invocations are currently not allowed on this target");
.... else continue on and handle call
An HA proxy will catch the GenericClusteringException and fail over.
There is no equivalent interceptor in EJB3. In the container stop() methods there is a usage of Dispatcher.singleton.unregisterTarget(...) which will lead to an exception being thrown if a call comes in for the container, and an HA proxy will catch that exception and fail over. So, adding an interceptor to check the HATarget *may* not be necessary, if we are sure that Dispatcher.singleton.unregisterTarget(...) is always called very early in the stop() process.
--
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
16 years, 2 months
[JBoss JIRA] Created: (JGRP-701) Investigate making FD_ALL the default failure detection protocol
by Bela Ban (JIRA)
Investigate making FD_ALL the default failure detection protocol
----------------------------------------------------------------
Key: JGRP-701
URL: http://jira.jboss.com/jira/browse/JGRP-701
Project: JGroups
Issue Type: Task
Reporter: Bela Ban
Assigned To: Bela Ban
Priority: Minor
Fix For: 2.7
Replacing FD, so the new combo would be FD_SOCK and FD_ALL. The advantage of FD_ALL is that we detect *many* concurrent failures much faster than FD.
E.g if we have A,B,C,D,E and B and C fail, and FD.timeout=1000 and FD.max_tries=3, FD_ALL.timeout=3000 and FD_ALL.interval=1000, then:
FD will take timeout * max_tries ms to detect the death of B and the same for C, so a total of 6 seconds.
FD_ALL will take timeout ms to detect both failures, so a total of 3 seconds.
FD_ALL is also much simpler in its implementation, therefore simpler to verify for correctness
--
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
16 years, 2 months
[JBoss JIRA] Updated: (GPD-216) jBPM build destroys user eclipse installation
by Koen Aers (JIRA)
[ https://jira.jboss.org/jira/browse/GPD-216?page=com.atlassian.jira.plugin... ]
Koen Aers updated GPD-216:
--------------------------
Fix Version/s: jBPM jPDL Designer 3.1.4
> jBPM build destroys user eclipse installation
> ---------------------------------------------
>
> Key: GPD-216
> URL: https://jira.jboss.org/jira/browse/GPD-216
> Project: JBoss jBPM GPD
> Issue Type: Bug
> Reporter: Thomas Diesler
> Assignee: Koen Aers
> Priority: Critical
> Fix For: jBPM jPDL Designer 3.1.4
>
>
> [13:09:35] Thomas Diesler: The bpm build destroys my eclipse installation
> [13:09:47] Tom Baeyens: ouch
> [13:10:07] ... which target did you use ?
> [13:10:19] ... that should not happen
> [13:10:33] Thomas Diesler: [tdiesler@tddell jpdl]$ /usr/java/eclipse/eclipse
> bash: /usr/java/eclipse/eclipse: No such file or directory
> [13:10:51] ... the default target
> [13:11:03] Tom Baeyens: in the build dir ?
> [13:11:31] Thomas Diesler: it seems to remove my eclipse executable and copies some windows .exe into the eclipse dir
> [13:11:47] ... yes, int the build dir
> [13:11:48] Tom Baeyens: i'll look at it right away
> [13:11:57] Thomas Diesler: 3.2.2.GA
> [13:12:48] Tom Baeyens: i know we have targets that can create an eclipse installation, but it should definitely not be in the default build
> [13:14:24] Thomas Diesler: on a linux system, it should never copy eclipse.exe
> [13:14:33] Tom Baeyens: right
> [13:17:17] Thomas Diesler: # the eclipse home property has to end with 'eclipse' since the folders in the eclipse
> # distribution package start with eclipse and that package will be unzipped in
> # ${software.installation.dir}/eclipse/..
> # preferrably
> eclipse.home=${software.installation.dir}/eclipse
> [13:18:54] ... phu ... I think I need to nuke my eclipse install and rebuild it again, adding all my plugins
> [13:21:59] ... also, the build cannot assume a certain eclipse version, can it?
> [13:31:48] Tom Baeyens: i verified it with koen
> [13:31:59] ... it's different on head
> [13:32:08] ... but still an extra check needs to be added
> [13:32:26] ... basically the eclipse is needed to build the process designer
> [13:32:41] ... but the jbpm build should not build the process designer from source
> [13:32:49] ... instead it should be taken from the repository
> [13:33:22] ... that's why on head, the gpd should not be build from source
> [13:33:41] ... apart from that, an extra check will be included (koen will make a jira for that)
> [13:34:02] ... that check will see if the eclipse installation present is one created for the build or another one (like yours)
> [13:34:19] ... if it finds another eclipse installation, the build will fail
> [13:34:47] ... (currently it wipes the eclipse installation)
--
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
16 years, 2 months