Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WFLY-4133] Hanging EJB threads because of a persistent timer and failed deployment #7006

Merged
merged 1 commit into from Dec 15, 2014

Conversation

elguardian
Copy link
Contributor

BZ 6.x https://bugzilla.redhat.com/show_bug.cgi?id=1147948
JIRA upstream: https://issues.jboss.org/browse/WFLY-4133
TimerServiceImpl gets a new state (active). This avoids getting stuck
during failed deployments when the TimerService starts before the
EJBComponent, causing an unrecoverable lock in
BasicComponent.waitForComponentStart

deployment
TimerServiceImpl gets a new state (active). This avoids getting stuck
during failed deployments when the TimerService starts before the 
EJBComponent, causing an unrecoverable lock in
BasicComponent.waitForComponentStart
@wildfly-ci
Copy link

Can one of the admins verify this patch?

@@ -539,6 +540,9 @@ public synchronized void start() {
if (this.controlPoint != null) {
this.controlPoint.resume();
}
if(this.timerService instanceof TimerServiceImpl) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably better to change the type of the field timerService from TimerService to TimerServiceImpl.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sometimes it will be a NonFunctionalTimerService if the EJB has no timeout methods.

@stuartwdouglas
Copy link
Contributor

This is ok to test

@wildfly-ci
Copy link

Linux Build 5586 is now running using a merge of bfef1c3

@wildfly-ci
Copy link

Windows Build 696 is now running using a merge of bfef1c3

@wildfly-ci
Copy link

Linux with security manager Build 572 is now running using a merge of bfef1c3

@wildfly-ci
Copy link

Linux with security manager Build 572 outcome was SUCCESS using a merge of bfef1c3
Summary: Tests passed: 800, ignored: 245 Build time: 0:06:35

@wildfly-ci
Copy link

Windows Build 696 outcome was SUCCESS using a merge of bfef1c3
Summary: Tests passed: 3014, ignored: 241 Build time: 0:52:02

@wildfly-ci
Copy link

Linux Build 5586 outcome was SUCCESS using a merge of bfef1c3
Summary: Tests passed: 3014, ignored: 241 Build time: 0:53:47

@bstansberry
Copy link
Contributor

I added the ee-review label, because I'm merging a bunch of PRs but don't plan to deal with this one; needs a +1 from someone more familiar with the ee details.

@stuartwdouglas stuartwdouglas added ready-for-merge Only for use by those with merge permissions! and removed ee-review labels Dec 14, 2014
@bstansberry
Copy link
Contributor

retest this please

@wildfly-ci
Copy link

Linux with security manager Build 647 is now running using a merge of bfef1c3

@wildfly-ci
Copy link

Linux Build 5660 is now running using a merge of bfef1c3

@wildfly-ci
Copy link

Windows Build 771 is now running using a merge of bfef1c3

@wildfly-ci
Copy link

Linux with security manager Build 647 outcome was SUCCESS using a merge of bfef1c3
Summary: Tests passed: 797, ignored: 370 Build time: 0:05:30

@wildfly-ci
Copy link

Linux Build 5660 outcome was SUCCESS using a merge of bfef1c3
Summary: Tests passed: 2906, ignored: 365, muted: 1 Build time: 0:51:41

@wildfly-ci
Copy link

Windows Build 771 outcome was SUCCESS using a merge of bfef1c3
Summary: Tests passed: 2907, ignored: 365 Build time: 0:52:43

bstansberry added a commit that referenced this pull request Dec 15, 2014
[WFLY-4133] Hanging EJB threads because of a persistent timer and failed deployment
@bstansberry bstansberry merged commit 69a21ad into wildfly:master Dec 15, 2014
@elguardian elguardian deleted the WFLY-4133 branch December 16, 2014 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Only for use by those with merge permissions!
Projects
None yet
5 participants