Skip to content

Conversation

@exabrial
Copy link
Contributor

No description provided.

@exabrial
Copy link
Contributor Author

Fix TOMEE-2249 https://issues.apache.org/jira/projects/TOMEE/issues/TOMEE-2249?filter=reportedbyme by implementing required interfaces and executing method

Copy link
Contributor

@rmannibucau rmannibucau left a comment

Choose a reason for hiding this comment

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

Wonder if service code can be dropped, looks like it brings no override, isnt it?

@exabrial
Copy link
Contributor Author

exabrial commented Oct 8, 2018

@rmannibucau If this looks good, could you merge? (also probably want to do this is 7.1.x and 8.0.x)

Copy link
Contributor

@rmannibucau rmannibucau left a comment

Choose a reason for hiding this comment

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

I still dont get this jmx service split and the seevice can use the parent class, no need to type it in the current form of this pr

.getMethod("get").invoke(null));
this.prepareServerSpecificServicesMBean();
} catch (final Exception e) {
// no-op
Copy link
Contributor

Choose a reason for hiding this comment

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

Fail instead of noop?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree with you; I don't understand why they split it out either, but they literally did it for every other server so there's probably a good reason.

On the fail vs noop, that was there before me. I suggest leaving it so we don't change current behavior (if JMX fails to initialize, we still alow the application to run. Right now JMX is failing.)

6e2a4f7 (Thiago Veronezi 2015-11-23 14:38:43 -0500 36) .getMethod("get").invoke(null));
515306f (Jonathan S. Fisher 2018-09-29 13:10:49 -0500 37) this.prepareServerSpecificServicesMBean();
6e2a4f7 (Thiago Veronezi 2015-11-23 14:38:43 -0500 38) } catch (final Exception e) {
6e2a4f7 (Thiago Veronezi 2015-11-23 14:38:43 -0500 39) // no-op
6e2a4f7 (Thiago Veronezi 2015-11-23 14:38:43 -0500 40) }
6e2a4f7 (Thiago Veronezi 2015-11-23 14:38:43 -0500 41) }
6e2a4f7 (Thiago Veronezi 2015-11-23 14:38:43 -0500 42)

@rmannibucau
Copy link
Contributor

Ok so let's merge it.

On the fail point we must not start if we are broken so let's drop it also ;)

@asfgit asfgit merged commit 0640376 into apache:tomee-7.0.x Oct 17, 2018
@exabrial exabrial deleted the issues/TOMEE-2249_eclipselink-npe branch October 17, 2018 01:13
cesarhernandezgt added a commit to cesarhernandezgt/tomee that referenced this pull request Dec 30, 2021
…patch

updated release notes for 8.0.9-TT.4 release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants