Meghana, make sure the ActiveMQ broker is running before starting your UIMA AS service. I use the following vm args to enable service jmx monitor: -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Duima.jmx.monitor.interval=1000 -Dcom.sun.management.jmxremote.port=8008
No need to set -Duima.jmx.monitor.formatter=xx. By default, the UIMA The sample output looks like this: 8/24/11 9:34:37 AM - 12: org.apache.uima.aae.jmx.monitor.JmxMonitorListener.run: INFO: Timestamp: 10,488 [ Room Number Annotator_Service Performance ] CM: false Remote: true Idle 1,006 CASes 0 InQDepth 0 RQDepth -1 CP Wait 0 Analysis: 0 ThreadCnt: 1 CMFreeCasCount: -1 SvcFreeCasCount: 1 8/24/11 9:34:37 AM - 12: org.apache.uima.aae.jmx.monitor.JmxMonitorListener.run: INFO: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 8/24/11 9:34:38 AM - 12: org.apache.uima.aae.jmx.monitor.JmxMonitorListener.run: INFO: Timestamp: 11,488 [ Room Number Annotator_Service Performance ] CM: false Remote: true Idle 983 CASes 0 InQDepth 0 RQDepth -1 CP Wait 0 Analysis: 0 ThreadCnt: 1 CMFreeCasCount: -1 SvcFreeCasCount: 1 8/24/11 9:34:38 AM - 12: org.apache.uima.aae.jmx.monitor.JmxMonitorListener.run: INFO: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ On Tue, Aug 23, 2011 at 1:49 AM, Meghana <meghana.mara...@germinait.com>wrote: > I've tried with both setting: -Dcom.sun.management.jmxremote.port=8009 and > -Dcom.sun.management.jmxremote for local monitoring. But still no logs. :( > > Thanks, > > ..meghana > > > On 23 August 2011 09:15, Meghana <meghana.mara...@germinait.com> wrote: > > > Hey Jerry, > > > > Thanks for your reply. Sorry, I skipped that in the email. I've set the > > port number to 8009. Could you please give me an example of what the > output > > is supposed to look like? > > > > I've setup log4j for UIMA > > > (-Dorg.apache.uima.logger.class=org.apache.uima.util.impl.Log4jLogger_impl) > > and get UIMA logs upto the FINER level, so i don't know what i'm missing. > > > > Thanks, > > > > Meghana > > > > > > > > On 22 August 2011 22:37, Jaroslaw Cwiklik <uim...@gmail.com> wrote: > > > >> Meghana, in addition to > >> > >> > -Duima.jmx.monitor.interval=1000 > >> > -Duima.jmx.monitor.formatter= > >> > org.apache.uima.aae.jmx.monitor.BasicUimaJmxMonitorListener > >> > -Dcom.sun.management.jmxremote.authenticate=false > >> > -Dcom.sun.management.jmxremote.ssl=false > >> > >> add -Dcom.sun.management.jmxremote.port=xxx, where xxx is a port number. > >> > >> Jerry C > >> > >> On Mon, Aug 22, 2011 at 7:49 AM, Meghana <meghana.mara...@germinait.com > >> >wrote: > >> > >> > P.S.: I do get logs of the form when the AS is initialized: > >> > 8/22/11 5:19:14 PM - 20: > DefaultMBeanServerInterceptor.sendNotification: > >> > FINER: JMX.mbean.registered > >> > org.apache.uima:type=ee.jms.services,s=AnalysisAggregator Uima EE > >> > Service,p0=AnalysisAggregator Components,name=SentencePOSAnnotator > >> > > >> > But no stats afterwards. Please help. > >> > > >> > Thanks, > >> > > >> > ..meghana > >> > > >> > > >> > On 22 August 2011 17:14, Meghana <meghana.mara...@germinait.com> > wrote: > >> > > >> > > Hi, > >> > > > >> > > I have deployed a broker & client on one machine & the AS on > another. > >> On > >> > > both, i've added the following JVM properties, as mentioned in the > >> > > documentation: > >> > > > >> > > -Duima.jmx.monitor.interval=1000 > >> > > -Duima.jmx.monitor.formatter= > >> > > org.apache.uima.aae.jmx.monitor.BasicUimaJmxMonitorListener > >> > > -Dcom.sun.management.jmxremote.authenticate=false > >> > > -Dcom.sun.management.jmxremote.ssl=false > >> > > > >> > > However, i am unable to find any JMX information in the logs :( I > >> can, > >> > > however, connect to the process via jconsole. > >> > > > >> > > Suggestions please? > >> > > > >> > > Thanks, > >> > > > >> > > Meghana > >> > > > >> > > >> > > > > >