Re: UIMA CPE appears not to utilise more than a single thread

2015-04-13 Thread Jaroslaw Cwiklik
Not sure if this is the cause but check if your AE descriptor has this multipleDeploymentAllowedtrue/multipleDeploymentAllowed Jerry On Mon, Apr 13, 2015 at 12:07 PM, Eddie Epstein eaepst...@gmail.com wrote: The CPE runs pipeline threads in parallel, not necessarily CAS processors. In a CPE

Re: Ducc Problems

2015-02-20 Thread Jaroslaw Cwiklik
: Controller: ducc.jd.queue.13202 Output Channel Shutdown Completed Thanks Reshu. On 02/20/2015 12:40 AM, Jaroslaw Cwiklik wrote: One possible explanation for destroy() not getting called is that a process (JP) may be still working on a CAS when Ducc deallocates the process. Ducc first

Re: DUCC- Heartbeat Packets?

2015-02-10 Thread Jaroslaw Cwiklik
1.What are Heartbeat Packets? Ducc Agent publishes node metrics at regular intervals. The information included is node identification, OS info, memory, etc. This is consumed by the RM and WS. If the RM stops seeing publication from a node within a configurable window, it will mark the node as

Re: UIMA AS NullPointerException in CasDefinition constructor

2014-07-28 Thread Jaroslaw Cwiklik
This error comes from UIMA-AS client not the pipeline code. From what I can see the UIMA-AS received getMeta reply from the service (your pipeline). This means that it connected to the service and it received a reply. The only thing that comes to my mind is to check the Map that you pass in to

Re: UIMA-AS replaced by DUCC?

2014-06-23 Thread Jaroslaw Cwiklik
Hi, the UIMA-AS 2.6.0 release is being voted right now. If no issues are found it should release soon. The UIMA-DUCC uses UIMA-AS. It just extends it with extra capabilities. You can learn more about it here: https://uima.apache.org/doc-uimaducc-whatitam.html Jerry On Mon, Jun 23, 2014 at 1:54

Re: Hanging UIMA AS requests

2014-06-20 Thread Jaroslaw Cwiklik
and all the best Frank Am 12.06.2014 16:09, schrieb Jaroslaw Cwiklik: All you need is a reference to a thread that called sendAndReceive(). Once you have it, just call myThread.interrupt(). I would still like to know more about the timer not working. Is there anything in the log

Re: Hanging UIMA AS requests

2014-06-12 Thread Jaroslaw Cwiklik
Jaroslaw Cwiklik: The 2.4.2 AS code also supports interrupts on a thread stuck in sendAndReceive(). You can implement your own timer if you like, and if it pops just interrupt the thread and try calling sendAndReceive() again. The subsequent call should block until a new connection

Re: Hanging UIMA AS requests

2014-06-10 Thread Jaroslaw Cwiklik
recover after the broker gets restarted nor time out when UimaAsynchronousEngine.Timeout is reached. Is this the expected behaviour when a broker is getting terminated unexpectedly? Thanks and all the best Frank Am 22.04.2014 15:22, schrieb Jaroslaw Cwiklik: Hi, do you see any evidence

Re: Can we call Ducc Service using UIMA AS client API?

2014-05-29 Thread Jaroslaw Cwiklik
You can use UIMA-AS client API. All you need to know is the endpoint and the broker url to communicate. Jerry C On Wed, May 28, 2014 at 8:53 AM, reshu.agarwal reshu.agar...@orkash.comwrote: Hi, I am just curious about DUCC Service uses. Can we call Ducc Service using UIMA AS client API.

Re: Hanging UIMA AS requests

2014-04-22 Thread Jaroslaw Cwiklik
Hi, do you see any evidence in the service log of any problems? The client side will block in sendAndReceive() until a reply comes back from the service. You can attach jconsole to the service to see if it is hung somewhere. Please check UIMA-AS README for instructions how to configure service to

Re: JMS Send Failed. Check UIMA Log For Details.

2014-03-11 Thread Jaroslaw Cwiklik
Each UIMA-AS service should produce uima.log. Is there another exception preceding org.apache.uima.aae.error.AsynchAEException: javax.jms.JMSException: JMS Send Failed. Check UIMA Log For Details. Looks like the service was unable to deliver an ACK message to the client. This ACK message is a

Re: ActiveMQ Errors

2014-02-18 Thread Jaroslaw Cwiklik
://stackoverflow.com/questions/12938083/what-where-is-net-sf-josql On Tue, Feb 18, 2014 at 10:20 AM, Jaroslaw Cwiklik uim...@gmail.com wrote: Hi, thanks for spotting references to 5.4.1. I will create JIRA and fix these. The fixes will be in the next release. I will take a look at SLF4J

Re: ActiveMQ Errors

2014-02-18 Thread Jaroslaw Cwiklik
on there. On Tue, Feb 18, 2014 at 12:52 PM, Jaroslaw Cwiklik uim...@gmail.com wrote: Got it. Thanks for clarifying this. Jerry Cwiklik On Tue, Feb 18, 2014 at 12:24 PM, Bai Shen baishen.li...@gmail.com wrote: I don't need a newer version of AMQ. I was attempting to fix the SLF4J

Re: ActiveMQ Errors

2014-02-18 Thread Jaroslaw Cwiklik
any problems with using 5.7 instead of 5.6. The problem with the test cases is from removing the SLF4J dependencies from the UIMA pom. Just wanted to clarify that they are two separate issues. On Tue, Feb 18, 2014 at 11:32 AM, Jaroslaw Cwiklik uim...@gmail.com wrote: Just checked

Re: ActiveMQ Errors

2014-02-18 Thread Jaroslaw Cwiklik
, Jaroslaw Cwiklik uim...@gmail.com wrote: Got it. Thanks for clarifying this. Jerry Cwiklik On Tue, Feb 18, 2014 at 12:24 PM, Bai Shen baishen.li...@gmail.comwrote: I don't need a newer version of AMQ. I was attempting to fix the SLF4J issue and had to change AMQ to 5.7 just to get

Re: uima-as 2.3.1 - java.io.IOException: Frame size of 147 MB larger than max allowed 100 MB

2014-02-12 Thread Jaroslaw Cwiklik
It seems like the ActimeMQ documentation ( http://activemq.apache.org/configuring-wire-formats.html) is wrong with respect to the default maxFrameSize being MAX_LONG. I checked ActiveMQ source code and the default is 100 MB: public final class OpenWireFormat implements WireFormat {public

Re: Passing arguments To Collection Reader

2013-08-26 Thread Jaroslaw Cwiklik
Not knowing your particular CPE deployment details here is one way to programmatically configure the CR: CollectionProcessingEngine cpe = UIMAFramework.produceCollectionProcessingEngine(cpeDescriptor, params);

Re: CallBackListener (collectionProcessComplete)

2013-08-21 Thread Jaroslaw Cwiklik
Is your application calling UIMA-AS client collectionProcessComplete() method? - void collectionProcessingComplete(): Sends a Collection Processing Complete request to the UIMA-AS Analysis Service. This call is cascaded down to all delegates; however, if a particular delegate is

Re: UIMA AS Asynchronous = true not behaving as expected.

2013-08-07 Thread Jaroslaw Cwiklik
at a time. JC On Wed, Aug 7, 2013 at 2:43 PM, Marshall Schor m...@schor.com wrote: On 8/7/2013 2:07 PM, Jaroslaw Cwiklik wrote: When you launch your service, do you see a Warning similar to this: *** WARN: line-number: 30 Top Lovel Async Primitive specifies a scaleout

Re: UIMA AS Asynchronous = true not behaving as expected.

2013-08-07 Thread Jaroslaw Cwiklik
Instead of speculating, I decided to setup a test with similar configuration ( casPool=6) and am noticing similar problem. It appears that the input queue is drained one CAS at a time as if there was only one thread processing an input queue. Investigating... JC On Wed, Aug 7, 2013 at 3:14 PM,

Re: UIMA AS Asynchronous = true not behaving as expected.

2013-08-07 Thread Jaroslaw Cwiklik
. The problem is with the implementation. I will be working on solving this shortly. Should be fixed in the upcoming 2.4.2 uima-as release.For now I created JIRA for this problem https://issues.apache.org/jira/browse/UIMA-3160 JC JC On Wed, Aug 7, 2013 at 3:19 PM, Jaroslaw Cwiklik uim...@gmail.com wrote

Re: single broker and multiple remote system

2013-07-29 Thread Jaroslaw Cwiklik
, Jaroslaw Cwiklik wrote: Do you want to share your code across nodes? If so, use Network File System (NFS) JC On Fri, Jul 26, 2013 at 12:02 AM, reshu.agarwal reshu.agar...@orkash.com **wrote: Yes JC, you are rightly understand my scenario and I also want to put my code on only one

Re: Camel configuration in UIMA-AS

2013-07-29 Thread Jaroslaw Cwiklik
UIMA-AS and Camel integration is described in Chapter 6 Uima Async Scaleut document: http://uima.apache.org/d/uima-as-2.4.0/uima_async_scaleout.html#ugr.async.camel.driver Its essentially a thin camel wrapper around UIMA-AS client. Its quite dated and may not work with newer versions of Camel.

Re: single broker and multiple remote system

2013-07-26 Thread Jaroslaw Cwiklik
that? -- Reshu Agarwal On 07/25/2013 08:02 PM, Jaroslaw Cwiklik wrote: If I understand your scenario, you only need one broker.Services can be deployed an different machines and point to the same queue (endpoint) and broker (brokerURL) defined in the deployment descriptor. JC On Thu

Re: single broker and multiple remote system

2013-07-25 Thread Jaroslaw Cwiklik
If I understand your scenario, you only need one broker.Services can be deployed an different machines and point to the same queue (endpoint) and broker (brokerURL) defined in the deployment descriptor. JC On Thu, Jul 25, 2013 at 7:49 AM, reshu.agarwal reshu.agar...@orkash.comwrote: Hi, I

Re: use of remoteAnalysisEngine cause failure

2013-07-25 Thread Jaroslaw Cwiklik
AM, reshu.agarwal reshu.agar...@orkash.comwrote: On 07/24/2013 06:13 PM, Jaroslaw Cwiklik wrote: The ...Cannot publish to a deleted Destination.. is caused by a broker not being able to deliver a message to a given queue. It looks like the client has terminated and the broker deleted its

Re: use of remoteAnalysisEngine cause failure

2013-07-24 Thread Jaroslaw Cwiklik
The ...Cannot publish to a deleted Destination.. is caused by a broker not being able to deliver a message to a given queue. It looks like the client has terminated and the broker deleted its temp reply queue while the service was processing a CAS. JC On Wed, Jul 24, 2013 at 12:11 AM,

Re: UIMA-AS Broker Trouble - InvalidDestinationException

2013-06-21 Thread Jaroslaw Cwiklik
Hi, is this problem reproducable? This error happens when the uima-as is unable to deliver a reply to the client. Typically, this means that the uima-as client has gone away or there is a problem with the network. Are you running your client and service and the same machine? Not sure what else

Re: Error when deploying 5 instances of AE with External Resource, UIMA-AS 2.4.1 Snapshot

2013-06-06 Thread Jaroslaw Cwiklik
I frequently run UIMA-AS with scaled up AEs in the same jvm with no problems. The UIMA-AS calls defineCasPool() once when all AEs are instantiated. The uima-core code that throws the exception is in CasManager_impl.defineCasPool() private synchronized void defineCasPool(UimaContext

Re: Error when deploying 5 instances of AE with External Resource, UIMA-AS 2.4.1 Snapshot

2013-06-06 Thread Jaroslaw Cwiklik
As a followup, can you describe your uima-as deployment? Is it async aggregate or primitive? If aggregate, what are the delegates and how each is scaled? Jerry C On Thu, Jun 6, 2013 at 11:20 AM, Jaroslaw Cwiklik uim...@gmail.com wrote: I frequently run UIMA-AS with scaled up AEs in the same

Re: UIMA AS 2.3.1 client not receiving response when using client.sendCAS(aCas)

2013-04-15 Thread Jaroslaw Cwiklik
Florin, try the latest uima-as (2.4.0) and let me know if you can replicate the problem. There are many bug fixes in the latest code. -jc On Mon, Apr 15, 2013 at 5:58 AM, Spico Florin spicoflo...@gmail.com wrote: Hello! I'm using UIMA AS 2.3.1. My pipeline has this structure: 1. An

Re: UIMA-AS: sendAndRecieveCAS hangs with no response

2013-03-25 Thread Jaroslaw Cwiklik
Hi, do you have a deeply nested CMs in your pipeline? Is the top level UIMA-AS service (the one the client is sending CASes to) a CM? What you can do to debug this is to use jConsole attached to the UIMA-AS process once you observe a hang. Click on Threads tab and check each thread to determine

Re: Discard already sent asynchronously CASes to UIMA AS pipeline

2013-03-18 Thread Jaroslaw Cwiklik
Spico, both of these: stopProducingCases() stopProducingCases(String casReferenceId); were meant to stop remote UIMA-AS CM from producing child CASes. So the first question is, is your remote service (UIMA-AS pipeline) a CM? If it is, what is the behavior that you are seeing? A hang? If the

Re: UIMA-AS 2.4.0 - RunRemoteAsyncAE - destroy methods not called properly - JVM exits too early

2013-02-05 Thread Jaroslaw Cwiklik
Elmar, this seems to be a bug. Just to clarify, are you deploying the aggregate in the same jvm as the RunRemoteAsyncAE? The client's stop() method is not waiting for the AE threads to finish. Its doing an immediate stop. The 2.4.0 version of UIMA-AS does support Queisce mode where the service

Re: UIMA AS JMS Connection pooling for remote AE or aggregator

2012-12-11 Thread Jaroslaw Cwiklik
Hi, JMS connection in UIMA-AS is created once, cached and reused. - Jerry C On Tue, Dec 11, 2012 at 8:51 AM, Spico Florin spicoflo...@gmail.com wrote: Hello! I would like to know what kind of JMS connection is used by UIMA AS: pooled connection or each time a message is sent to a new

Re: UIMA AS get the component name from ProcessTrace

2012-12-11 Thread Jaroslaw Cwiklik
Florin, the newly released UIMA-AS 2.4.0 provides performance breakdown you are looking for. There is a new API on UIMA-AS client that facilitates this: public String sendAndReceiveCAS(CAS aCAS, ListAnalysisEnginePerformanceMetrics componentMetricsList) throws ResourceProcessException; For

[ANNOUNCE] Apache UIMA-AS 2.4.0 released

2012-11-16 Thread Jaroslaw Cwiklik
The Apache UIMA team is pleased to announce the release of version 2.4.0 of the Apache UIMA AS, which includes asynchronous scaleout capabilities for the UIMA annotators. The UIMA AS 2.4.0 binaries and source are available for download from: http://uima.apache.org/downloads.cgi UIMA AS includes

Re: Multi Core Usage

2012-11-08 Thread Jaroslaw Cwiklik
Not sure I fully understand your problem. In the CPE, the CR runs in its own thread supplying CASes to processing pipelines. Cas Consumer(s) run in a dedicated thread(s) as well. The processingUnitThreadCount property determines scaleout for your AEs if you set it to say 3, you get 3 processing

Re: UIMA 2.3.1 AS used with different ActiveMQ version

2012-10-08 Thread Jaroslaw Cwiklik
Florin, check the README that ships with the release. It says: ...set the ACTIVEMQ_HOME environment variable to the location of ActiveMQ you intend to use... Jerry On Sat, Oct 6, 2012 at 2:46 PM, Spico Florin spicoflo...@gmail.com wrote: Hello! I have installed UIMA 2.3.1 AS that comes

Re: Problem with StatusCallBackListener

2012-08-07 Thread Jaroslaw Cwiklik
Christine, I took another look at this and tested the code. You are right, the listener's batchProcessComplete() is not called no matter what the batchSize is set to. I think the real intent for the Checkpoint... element within CpeConfig... is to define a checkpoint file and frequency of

Re: Problem with StatusCallBackListener

2012-08-07 Thread Jaroslaw Cwiklik
to do special processing. It seems to me that the StatusCallbackListener.batchProcessComplete() should be deprecated since it is never called. Jerry C On Tue, Aug 7, 2012 at 11:32 AM, Jaroslaw Cwiklik uim...@gmail.com wrote: Christine, I took another look at this and tested the code. You

Re: maven hangs when trying to install uimaj-2.3.1

2012-08-01 Thread Jaroslaw Cwiklik
It seems like a CPM hung of some sort while running a jUnit tests. Does this happen every time you do mvn install? I just fetched 2.3.1 source and built fine on Win XP with java 1.5 and maven 3.0.2. I built multiple times each time with success. Not denying there is a problem, just saying cant

Re: Problem with StatusCallBackListener

2012-08-01 Thread Jaroslaw Cwiklik
If I recall, you need to modify checkpoint element and set batch attribute to enable this function. I think, by default this method is not called since batch=0 (default). JC On Tue, Jul 31, 2012 at 3:22 PM, Christine Engelmann chr.engelm...@gmx.netwrote: Hi, I seem to have some issues with

Re: exceptions and log levels

2012-07-25 Thread Jaroslaw Cwiklik
Peter, I don't recall a specific reason why Exceptions caught in ArtifactProducts.run() method are only logged at Level.FINER. This seems wrong to me. I remember putting conditionals around all logging though. Perhaps this was a cut and paste mistake. I'll add JIRA to fix this. If you want to

Re: CollectionProcessComplete Event thrown with Outstanding CAS Count

2012-06-20 Thread Jaroslaw Cwiklik
I've checked the code and indeed this is a bug in uima-as client when running with a CR. As soon as the CR returns false from hasNext() the uima-as client process() method calls collectionProcessComplete(). The fix for this is to wait until all outstanding CASes are processed before calling

Re: CollectionProcessComplete Event thrown with Outstanding CAS Count

2012-06-20 Thread Jaroslaw Cwiklik
On Jun 20, 2012, at 1:03 PM, Jaroslaw Cwiklik wrote: I've checked the code and indeed this is a bug in uima-as client when running with a CR. As soon as the CR returns false from hasNext() the uima-as client process() method calls collectionProcessComplete(). The fix for this is to wait

Re: How to deploy a UIMA-AS Serivce with a Cas Multiplier?

2012-06-15 Thread Jaroslaw Cwiklik
Jorn, this problem has been fixed: https://issues.apache.org/jira/browse/UIMA-2414 Jerry On Wed, Jun 13, 2012 at 7:30 AM, Jörn Kottmann kottm...@gmail.com wrote: I am running the 2.3.1 release version on my cluster. Jörn On 06/13/2012 01:02 PM, Jörn Kottmann wrote: The error was linked

Re: Change the UIMA AS service log configurations

2012-03-09 Thread Jaroslaw Cwiklik
Not sure if this the best way, but consider using different Logger.properties (default one is in UIMA_HOME/as_config) for each service. Change java.util.logging.FileHandler.pattern = uima.log to whatever you want and set UIMA_JVM_OPTS=-Djava.util.logging.config.file=myfile before you launch

Re: UIMA-AS node failure

2012-03-09 Thread Jaroslaw Cwiklik
From UIMA AS documentation: The continueOnRetryFailure attribute, if set to 'true' causes the framework to ask the aggregate's flow controller if the processing for the CAS can continue. If this attribute is 'false' or if the flow controller indicates it cannot continue, further processing on the

Re: Parrallel Flow Controller AAE unable to reconnect to its remote delegates after ActiveMQ failure

2012-03-05 Thread Jaroslaw Cwiklik
After you restart the broker, do you send another CAS to the remote and does it fail for the same reason? JC On Fri, Mar 2, 2012 at 9:59 AM, Spico Florin spicoflo...@gmail.com wrote: Hello! I have a pipeline that is using the AdvancedFixedFlowController.xml. After shooting down the

Re: programmatically setting parameters on CpeCasProcessor objects

2012-02-23 Thread Jaroslaw Cwiklik
Seems like a bug, as a workaround can you try the following: mCPE = UIMAFramework.produceCollectionProcessingEngine(path to cpe descriptor); ConfigurationParameterSettings settings = mCPE.getCollectionReader().getProcessingResourceMetaData().getConfigurationParameterSettings(); You

Re: Unbalanced instances Unexpected behavior for the scaleout parameter

2012-02-22 Thread Jaroslaw Cwiklik
I am not certain, but perhaps you are running into a similar bug reported and fixed recently under https://issues.apache.org/jira/browse/UIMA-2354 Maybe the UIMA AS primitive service suffers from a similar problem than the UIMA AS aggregate as described in the JIRA. I will verify this soon.

Re: UIMA AS: Invalid destination after broker restart

2012-02-10 Thread Jaroslaw Cwiklik
. None was logged. In your test case, do you send just one CAS after bouncing the broker or does your client send multiple CASes and each fails the same way (InvalidDestination) in the service? Jerry C On Wed, Feb 8, 2012 at 2:38 PM, Jaroslaw Cwiklik uim...@gmail.com wrote: Frank, I will try

Re: java.lang.NullPointerException when running fast client

2012-02-09 Thread Jaroslaw Cwiklik
Florin, your problem is that you are using one CAS instance with asynch sendCAS(). Your main() is calling sendCAS(CAS) where the CAS is being serialized. Serialization is an expensive operation and on a slow machine may exceed your 100ms sleep. While the CAS is being serialized you calling reset()

Re: UIMA AS: Invalid destination after broker restart

2012-02-08 Thread Jaroslaw Cwiklik
Frank, I will try to recreate the problem. Yesterday, I tried the scenario with async sendCAS() and saw no problems after bouncing a broker. Will test the scenario with sendAndReceive(). Jerry C On Wed, Feb 8, 2012 at 9:32 AM, Frank Enders end...@averbis.de wrote: Jerry, thanks for your reply

Re: UimaAsynchronousEngine client poor performance when the pipeline is slow processing the CAS

2012-02-01 Thread Jaroslaw Cwiklik
Florin from you description I cant figure out the cause of the slowness that you see. Are you saying that your application thread is stuck in sendCAS() method as if it was waiting for a reply? This is certainly not intent behind this API. It is an asynchronous call and should not wait for a reply

Re: Need Parallel processing explanations

2012-02-01 Thread Jaroslaw Cwiklik
UIMA AS aggregate client waits for all replies to come back from Parallel step before allowing a CAS to move on to the next step in the flow. From the UIMA AS service point of view, services are independent and consume messages(CASes) as soon there is capacity to do so. Faster service will consume

Re: UIMA AS: Client Detects Connection to Broker is Down

2012-01-06 Thread Jaroslaw Cwiklik
Dave, the UIMA AS client is designed to auto recover from broker failures. Currently there is no override for this. The client will have to change to support application directive to report an error on JMS problems. The application could add a new parameter to the Application Context Map (

Re: UIMA AS client and unkown exception classes

2011-12-08 Thread Jaroslaw Cwiklik
Jorn, this is an interesting bug. Current UIMA AS service code serializes the Exception object and the client side deserializes it. The activemq client fails in the way you describe if a class in the serialized object is not available. Seems like UIMA AS bug to me. UIMA AS service side should

Re: Obtain/create and instance of CAS for UIMA AS

2011-12-06 Thread Jaroslaw Cwiklik
Florin, there is more than one way to get a CAS. Here a two methods you can try: 1) Check UIMA Tutorial and User Guides.pdf http://uima.apache.org/d/uimaj-2.3.1/tutorials_and_users_guides.pdf page 71 shows an example how to get a CAS from a CasPool that the application manages (not UIMA AS

Re: UIMA AS: Lost Connection to Broker

2011-12-01 Thread Jaroslaw Cwiklik
; the AS remains unresponsive. However, if i also restart the AS, then things flow as normal. Could this be because i'm using a 2.4.0 snapshot build instead of a stable release? Thanks, ..meghana On 30 November 2011 20:08, Jaroslaw Cwiklik uim...@gmail.com wrote: Meghana

Re: UIMA AS: Lost Connection to Broker

2011-11-30 Thread Jaroslaw Cwiklik
Meghana, what is your broker's -Xmx setting? On linux, grep ACTIVEMQ_HOME/bin/activemq for ACTIVEMQ_OPTS_MEMORY. If you are running with a default setting (256M) perhaps you need to increase the memory. Jerry On Mon, Nov 28, 2011 at 11:55 PM, Meghana meghana.mara...@germinait.comwrote: Hi, I

Re: UIMA AS Client connecting to multiple brokers in one vm

2011-10-07 Thread Jaroslaw Cwiklik
Sorry, this is working as designed. If I remember, it was an attempt to reduce number of connections. I'll look into this next week. Perhaps I can relax this and parametrize its use. For now I will create JIRA to document this. Jerry C 2011/10/7 Dietmar Gräbner d.graeb...@gmail.com Hi, I

Re: UIMA AS: ProcessCasErrors Timeout

2011-09-27 Thread Jaroslaw Cwiklik
Meghana, UIMA AS aggregate cant recover a CAS that is stuck in a collocated AE. You may not be observing this problem in the UIMA aggregate due to a fact that UIMA aggregate is single threaded. Timeouts are only supported for remotes. Try to run synchronous (UIMA) aggregate deployed in a primitive

Re: remoteAnalysisEngine services not scaling to effect

2011-09-23 Thread Jaroslaw Cwiklik
Are you doing any real analysis in your AEs? If the analysis is fast, replicating AEs makes no sense. You can see that by observing queue depths in jConsole. Attach it to a broker and check the queue size while you are processing. You may need to enable broker JMX support in activemq.xml first:

Re: UIMA AS: Logging JMX stats

2011-08-24 Thread Jaroslaw Cwiklik
, 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

Re: UIMA AS: Logging JMX stats

2011-08-22 Thread Jaroslaw Cwiklik
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

Re: UIMA AS: script works but not code and vice-versa

2011-08-04 Thread Jaroslaw Cwiklik
Is your UIMA_HOME set correctly? Do you have spring jars in a classpath that are newer from those in the uima-as distribution? JC On Thu, Aug 4, 2011 at 7:49 AM, Meghana meghana.mara...@germinait.comwrote: Hi all, I am trying to deploy my aggregate AE as an AS. When I call

Re: UIMA AS: NoSuchMethodError for CAS.createMarker()

2011-08-02 Thread Jaroslaw Cwiklik
Meghana, check your classpath. Seems like you are running with old uima jars. When UIMA AS service starts it dumps the entire classpath. I checked uima-as source and method calls shown in a stack trace you've provided dont line up with the 2.3.1 source. JC On Tue, Aug 2, 2011 at 7:09 AM,

Re: UIMA AS: NoSuchMethodError for CAS.createMarker()

2011-08-02 Thread Jaroslaw Cwiklik
On 2 August 2011 18:51, Jaroslaw Cwiklik uim...@gmail.com wrote: Meghana, check your classpath. Seems like you are running with old uima jars. When UIMA AS service starts it dumps the entire classpath. I checked uima-as source and method calls shown in a stack trace you've provided

Re: How to deploy multiple UIMA-AS Services?

2011-07-29 Thread Jaroslaw Cwiklik
You may need to set a different JMX port for each service via -D setting if you run on the same machine. I agree with Eddie. logging should work as Eddie describes. If it doesnt, perhaps your logger.properties has been modified. Just a guess. JC On Fri, Jul 29, 2011 at 9:00 AM, Eddie Epstein

Re: Auto-Discovery of remote AS services in UIMA

2011-04-11 Thread Jaroslaw Cwiklik
Your best bet is to interrogate the Broker via JMX. Uima AS does not currently provide auto discovery mechanism beyond what AMQ broker has to offer. Looking at the brokers stats you *can* determine if a particular queue has consumers attached to it or not. Jerry C On Mon, Apr 11, 2011 at 2:16

Re: Lost Connection to Delegate

2011-04-04 Thread Jaroslaw Cwiklik
continues without errors. JC On Thu, Mar 31, 2011 at 1:55 PM, Jaroslaw Cwiklik uim...@gmail.com wrote: Pierre, thanks I will try to replicate the scenario to see what is preventing CASes from timing out in the application client. JC On Thu, Mar 31, 2011 at 11:03 AM, Pierre Pujalon ppuja

Re: Lost Connection to Delegate

2011-03-31 Thread Jaroslaw Cwiklik
) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Thanks Pierre Le 31/03/2011 15:43, Jaroslaw Cwiklik a écrit : Pierre, since the aggregate

Re: Lost Connection to Delegate

2011-03-31 Thread Jaroslaw Cwiklik
exception for the first CAS. This only occurs when I have a delegated annotator. When I configure my application with aggregates without any delegate annotator, the callback receives timeout from all CASes. Pierre Le 31/03/2011 16:40, Jaroslaw Cwiklik a écrit : Pierre, to set a timeout

Re: Lost Connection to Delegate

2011-03-29 Thread Jaroslaw Cwiklik
client always recover clean with this scenario. Anyway Thanks Pierre Le 28/03/2011 18:07, Jaroslaw Cwiklik a écrit : Pierre, in my last posting I meant maxRetries=1, not retryCount=1. JC On Mon, Mar 28, 2011 at 12:05 PM, Jaroslaw Cwiklikuim...@gmail.com wrote: Pierre, I've

Re: Lost Connection to Delegate

2011-03-28 Thread Jaroslaw Cwiklik
This should force creation of a new listener on the delegate reply queue. The listener recovery should be done with no retry being set and I will make necessary changes in the code to support that use case. Thanks for finding the bug! JC On Tue, Mar 22, 2011 at 1:12 PM, Jaroslaw Cwiklik uim

Re: Lost Connection to Delegate

2011-03-28 Thread Jaroslaw Cwiklik
Pierre, in my last posting I meant maxRetries=1, not retryCount=1. JC On Mon, Mar 28, 2011 at 12:05 PM, Jaroslaw Cwiklik uim...@gmail.com wrote: Pierre, I've identified the bug in UIMA AS code that causes the problem described. As a workaround, set the retryCount=1 in the error handling

[ANNOUNCE] Apache UIMA AS 2.3.1 released

2011-03-23 Thread Jaroslaw Cwiklik
The Apache UIMA team is pleased to announce the release of version 2.3.1 of the Apache UIMA AS, which includes asynchronous scaleout capabilities together with the base Apache UIMA SDK. The UIMA AS 2.3.1 binaries and source are available for download from: http://uima.apache.org/downloads.cgi

Re: sendAndReceiveCas doesn't throw a ResourceProcessException on processError

2011-03-15 Thread Jaroslaw Cwiklik
, Feb 21, 2011 at 5:01 PM, Jaroslaw Cwiklik uim...@gmail.com wrote: Dietmar, the UIMA AS client should throw an exception in the case you described. I am looking into why it does not. Jerry C 2011/2/21 Dietmar Gräbner d.graeb...@gmail.com Hi, for some reason sendAndReceiveCas

Re: Performance metrics

2011-02-15 Thread Jaroslaw Cwiklik
Kameron, while the CPE is processing it aggregates statistics. When the processing is completed, the CPE GUI fetches the stats using CollectionProcessingEngine API: getPerformanceReport() To see how this report is generated look at the source in: uimaj-tools project. Source File:

Re: SpringContainerDeployer deploy: Missing display name (AS 2.3.1 RC4)

2011-02-09 Thread Jaroslaw Cwiklik
First, thank you for identifying the problem. The interim fix is to add name element in the AE descriptor and specify a value. I was able to verify that if the name element is missing OR it has no value, the Spring Container throws the exception. I will create a JIRA to detect missing/undefined

Re: Performance Report bug, and best-practices for 'import by name' in CDE

2011-01-20 Thread Jaroslaw Cwiklik
Looking at the CPM code, I see that the process times are aggregated on a per component basis. If you have say 10 threads, meaning you scale out a particular component, process times for all of them are aggregated (added together). So it seems that what you are seeing is working as designed. You

Re: UimaAS blocks when accessing a queue with multiple clients concurrently

2010-12-07 Thread Jaroslaw Cwiklik
Hi, can you provide a full trace from a thread that is stuck on AbstractQueuedSynchronizer. Which version of ActiveMQ are you using? If 4.1.1, perhaps you can try a newer version like 5.3.2. Once you download new AMQ, just set ACTIVEMQ_HOME to point to the AMQ install dir. The fact that there are

Re: UimaAS blocks when accessing a queue with multiple clients concurrently

2010-12-07 Thread Jaroslaw Cwiklik
I've created a multi-threaded application that uses a BaseUIMAAsynchronousEngine_impl instance per thread. Scaled this up to 100 threads (100 clients). Ran this many times with a single instance of RoomNumber Annotator service (from uima as examples). No hangs. Can you try to run your

Re: new uima-as version not being deployed.

2010-06-28 Thread Jaroslaw Cwiklik
Are there any exceptions in the uima log? On Mon, Jun 28, 2010 at 8:15 AM, Neha Yadav neha.ya...@orkash.com wrote: Hi all, I am trying to deploy AS service with version Uima-as 2.3. I had earlier done it with 2.2. Previously I did not find any problem while deploying but with the new

<    1   2