[ 
https://issues.apache.org/jira/browse/TOMEE-2249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16633286#comment-16633286
 ] 

ASF GitHub Bot commented on TOMEE-2249:
---------------------------------------

Github user rmannibucau commented on a diff in the pull request:

    https://github.com/apache/tomee/pull/175#discussion_r221449894
  
    --- Diff: 
container/openejb-jpa-integration/src/main/java/org/apache/openejb/jpa/integration/eclipselink/OpenEJBServerPlatform.java
 ---
    @@ -63,4 +65,11 @@ protected void 
registerSynchronization_impl(AbstractSynchronizationListener list
                 transaction.registerInterposedSynchronization(synchronization);
             }
         }
    +
    +        @Override
    +        public void prepareServerSpecificServicesMBean() {
    +            if (getDatabaseSession() != null && shouldRegisterRuntimeBean) 
{
    +                 this.setRuntimeServicesMBean(new 
MBeanOpenEJBRuntimeServices(getDatabaseSession()));
    --- End diff --
    
    ensure it uses mBeanServer which has a toggle "skip jmx" on the instance


> TomEE Plume warns of an NPE during init of JPA
> ----------------------------------------------
>
>                 Key: TOMEE-2249
>                 URL: https://issues.apache.org/jira/browse/TOMEE-2249
>             Project: TomEE
>          Issue Type: Bug
>    Affects Versions: 7.0.5
>            Reporter: Jonathan S Fisher
>            Priority: Major
>              Labels: pull-request-available
>
> {code}
> [EL Warning]: 2018-09-28 14:57:39.63--ServerSession(1903518886)--Problem 
> while registering MBean: java.lang.NullPointerException
> {code}
> See analysis and discussion here:
> http://tomee-openejb.979440.n4.nabble.com/EclipseLink-NPE-Warning-occurs-every-time-during-first-use-TomEE-7-0-5-td4684797.html



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to