Re: Removed Mbeans
Matthias, I've delivered changes to the UIMA-AS to support orderly cleanup of MBeans. The code will only remove MBeans related to a pipeline being undeployed. Do you have a way to build UIMA-As from the SVN trunk or do you want me to post a new UIMA-AS snapshot for you? Jerry On Fri, Oct 7, 2016 at 9:29 AM, Jaroslaw Cwiklikwrote: > Matthias, I will take a look at this soon. The undeploy should only > remove MBeans related to a pipeline being undeployed. Not sure how > involved a fix for this will be yet. Just created JIRA for this: > https://issues.apache.org/jira/browse/UIMA-5136 > > Jerry > > On Fri, Oct 7, 2016 at 3:28 AM, Matthias Koch > wrote: > >> Hi, >> >> We are currently using Uima-AS 2.8.1. >> We are deploying several Pipelines on the same tomcat with the >> baseUimaAsynchronousEngine. Then we can see their statistics via JConsole >> and everything seems fine. >> But if we are undeploying on of the pipelines, every jmxMbean is removed. >> We investigated the 'bug' and it seems that the undeploy call calls a >> terminate() method and 5 methods later it leads to a >> JMXManager.destroy call >> >> Line 138 -140 in org.apache.uima.aae.jmx.JmxManager >> >> public void destroy() throws Exception { >> unregisterDomainObjects("org.apache.uima:type=ee.jms.services,*"); >> >> } >> >> >> Can we prevent this from happening? >> >> Every time we undeploy a pipeline we lose all statistic of all pipelines. >> >> >> Sincerely, >> >> Matthias >> >> >
Re: Removed Mbeans
Matthias, I will take a look at this soon. The undeploy should only remove MBeans related to a pipeline being undeployed. Not sure how involved a fix for this will be yet. Just created JIRA for this: https://issues.apache.org/jira/browse/UIMA-5136 Jerry On Fri, Oct 7, 2016 at 3:28 AM, Matthias Kochwrote: > Hi, > > We are currently using Uima-AS 2.8.1. > We are deploying several Pipelines on the same tomcat with the > baseUimaAsynchronousEngine. Then we can see their statistics via JConsole > and everything seems fine. > But if we are undeploying on of the pipelines, every jmxMbean is removed. > We investigated the 'bug' and it seems that the undeploy call calls a > terminate() method and 5 methods later it leads to a > JMXManager.destroy call > > Line 138 -140 in org.apache.uima.aae.jmx.JmxManager > > public void destroy() throws Exception { > unregisterDomainObjects("org.apache.uima:type=ee.jms.services,*"); > > } > > > Can we prevent this from happening? > > Every time we undeploy a pipeline we lose all statistic of all pipelines. > > > Sincerely, > > Matthias > >
Removed Mbeans
Hi, We are currently using Uima-AS 2.8.1. We are deploying several Pipelines on the same tomcat with the baseUimaAsynchronousEngine. Then we can see their statistics via JConsole and everything seems fine. But if we are undeploying on of the pipelines, every jmxMbean is removed. We investigated the 'bug' and it seems that the undeploy call calls a terminate() method and 5 methods later it leads to a JMXManager.destroy call Line 138 -140 in org.apache.uima.aae.jmx.JmxManager public void destroy() throws Exception { unregisterDomainObjects("org.apache.uima:type=ee.jms.services,*"); } Can we prevent this from happening? Every time we undeploy a pipeline we lose all statistic of all pipelines. Sincerely, Matthias