uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eddie Epstein (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Commented: (UIMA-1091) ServicePerformanceMBean implementation in Uima AS does not return valid idle time from getIdleTime()
Date Mon, 07 Jul 2008 12:49:32 GMT

    [ https://issues.apache.org/jira/browse/UIMA-1091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611139#action_12611139
] 

Eddie Epstein commented on UIMA-1091:
-------------------------------------

Jerry, extendedTests hangs for me in testProcessWithAggregateUsingRemoteMultiplier with the
02 patches applied. Here is the console output:

>>>> Cas Multiplier Controller:Simple Text Segmenter Activated Listener to Receive
Free CAS Notifications - Temp Queue Name:ID:exhandball-3451-1215433812174-3:295:1
NoOpAnnotator.initialize() Initializing With Process Delay of 0 millis
CasManager Initialized Cas Pool:PrimitiveAEService. Cas Pool Size:5 Initial Cas Heap Size:500000
cells
NoOpAnnotatorQueue Controller Initialized. Ready To Process
Configuring Internal Broker With Max Memory Of:1048576000
JMX Console connect URI:  service:jmx:rmi:///jndi/rmi://localhost:1200/jmxrmi
Adding TCP Connector:tcp://exhandball.watson.ibm.com:18810
Broker Service Started - URL:vm://localhost
Endpoint:NoOpAnnotatorQueue Configured to Reply To fixed queue
Endpoint:TestMultiplierQueue Configured to Reply To fixed queue
NoOp Remote Service Registered Successfully
TestMultiplier Remote Service Registered Successfully
Setting Shadow Pool of Size:5 For Cas Multiplier:TestMultiplier
CasManager Initialized Cas Pool:TestMultiplier. Cas Pool Size:5 Initial Cas Heap Size:500000
cells
CasManager Initialized Cas Pool:AggregateContext. Cas Pool Size:5 Initial Cas Heap Size:500000
cells
TopLevelTaeQueue Controller Initialized. Ready To Process
>>>> Client Activated Temp Reply Queue:ID:exhandball-3451-1215433812174-3:305:1
Initializing Process Latch. Number of CASes Expected:1
 Sending CAS
org.apache.uima.aae.error.AsynchAEException: java.lang.NullPointerException
	at org.apache.uima.adapter.jms.activemq.JmsOutputChannel.sendCasToRemoteEndpoint(JmsOutputChannel.java:1391)
	at org.apache.uima.adapter.jms.activemq.JmsOutputChannel.sendReply(JmsOutputChannel.java:725)
	at org.apache.uima.aae.controller.BaseAnalysisEngineController.releaseNextCas(BaseAnalysisEngineController.java:1740)
	at org.apache.uima.aae.handler.input.ProcessRequestHandler_impl.handleReleaseCASRequest(ProcessRequestHandler_impl.java:641)
	at org.apache.uima.aae.handler.input.ProcessRequestHandler_impl.handle(ProcessRequestHandler_impl.java:725)
	at org.apache.uima.aae.handler.input.MetadataRequestHandler_impl.handle(MetadataRequestHandler_impl.java:81)
	at org.apache.uima.adapter.jms.activemq.JmsInputChannel.onMessage(JmsInputChannel.java:666)
	at org.springframework.jms.listener.AbstractMessageListenerContainer.doInvokeListener(AbstractMessageListenerContainer.java:485)
	at org.springframework.jms.listener.AbstractMessageListenerContainer.invokeListener(AbstractMessageListenerContainer.java:442)
	at org.springframework.jms.listener.AbstractMessageListenerContainer.doExecuteListener(AbstractMessageListenerContainer.java:414)
	at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.doReceiveAndExecute(AbstractPollingMessageListenerContainer.java:309)
	at org.springframework.jms.listener.AbstractPollingMessageListenerContainer.receiveAndExecute(AbstractPollingMessageListenerContainer.java:254)
	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.invokeListener(DefaultMessageListenerContainer.java:871)
	at org.springframework.jms.listener.DefaultMessageListenerContainer$AsyncMessageListenerInvoker.run(DefaultMessageListenerContainer.java:811)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
	at org.apache.uima.aae.controller.BaseAnalysisEngineController.getIdleTimeBetweenProcessCalls(BaseAnalysisEngineController.java:1842)
	at org.apache.uima.adapter.jms.activemq.JmsOutputChannel.populateStats(JmsOutputChannel.java:1044)
	at org.apache.uima.adapter.jms.activemq.JmsOutputChannel.sendCasToRemoteEndpoint(JmsOutputChannel.java:1335)
	... 14 more

> ServicePerformanceMBean implementation in Uima AS does not return valid idle time from
getIdleTime()
> ----------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-1091
>                 URL: https://issues.apache.org/jira/browse/UIMA-1091
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>         Attachments: uimaj-as-activemq-UIMA-1091-patch-02.txt, uimaj-as-activemq-UIMA-1091-patch.txt,
uimaj-as-core-UIMA-1091-patch-02.txt, uimaj-as-core-UIMA-1091-patch.txt
>
>
> Current code updates idleTime only when a new CAS arrives for processing. JMX stats for
idle time are not valid. The delta should be calculated every time getIdleTime() is called.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message