uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Burn Lewis" <burnle...@gmail.com>
Subject Re: Multi-threaded CAS Consumer
Date Tue, 02 Sep 2008 12:40:01 GMT
Does your CAS Consumer have the default of false for
multipleDeploymentAllowed?  Usually only the annotator pipeline is run in
multiple threads ... the CPE runs a single-threaded Collection Reader that
feeds the multiple replicated pipelines which all feed into a
single-threaded CAS Consumer.  I think you can run multiple CAS Consumers
but then you are resposible for serializing access to your shared output

Perhaps you could post the full trace of your exception.


On Tue, Sep 2, 2008 at 12:11 AM, Ashutosh Sharma <ashu.sharma@hotmail.com>wrote:

> Hi,
> I would like to run CPE in multithreaded environment. For this purpose, I
> changed the value of the variable named processingUnitThreadCount=3 in CPE
> Descriptor file. When I run the CPE, it gave me a Java null pointer
> exception in my CAS Consumer. Where I initialize all basics open connection
> and initialize the command to insert the data.
> Please help me to overcome this issue. How can I achieve the running CPE in
> multithreaded mode.
> Thanks & Regards,
> Ashu
> _________________________________________________________________
> Movies, sports & news! Get your daily entertainment fix, only on live.com
> http://www.live.com/?scope=video&form=MICOAL

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message