Jorn, I took Burn's suggestion and removed a busy loop from the getCas(). Instead of waiting between retries I use a semaphore to signal availability of a CAS. Not sure what this hang is all about. Can you refresh all projects from the svn and try again.
Thanks On Tue, Sep 1, 2009 at 12:03 PM, Jörn Kottmann <kottm...@gmail.com> wrote: > Jaroslaw Cwiklik wrote: > >> Jorn, I've fixed this under UIMA-1540. Let me know if this fixes the >> problem. >> >> > Yeah, tried to build it, but it the tests hang here: > > +------------------------------------------------------------------ > Sep 1, 2009 5:54:13 PM > org.apache.uima.aae.controller.BaseAnalysisEngineController logPlatformInfo > INFO: > +------------------------------------------------------------------ > Starting UIMA AS Service - PID:20891 > +------------------------------------------------------------------ > + Service Name:Person Title Annotator > + Service Queue Name:PersonTitleAnnotatorQueue > + Service Start Time:01 Sep 2009 17:54:05 > + UIMA AS Version:2.3.0 > + UIMA Core Version:2.3.0 > + OS Name:Linux > + OS Version:2.6.28-15-generic > + OS Architecture:i386 > + OS CPU Count:2 > + JVM Vendor:Sun Microsystems Inc. > + JVM Name:Java HotSpot(TM) Server VM > + JVM Version:14.0-b16 > + JVM Input Args:[-Xmx300M] > + JVM Classpath:/usr/share/maven2/boot/classworlds.jar > + JVM > LIB_PATH:/usr/lib/jvm/java-6-sun-1.6.0.14/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.14/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.14/jre/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib > +------------------------------------------------------------------ > Sep 1, 2009 5:54:13 PM org.apache.uima.adapter.jms.activemq.JmsInputChannel > setEndpointName > INFO: top_level_input_queue_service_1 Service Starting - Listening for > Messages > Sep 1, 2009 5:54:13 PM > org.apache.uima.adapter.jms.activemq.SpringContainerDeployer > waitForServiceNotification > INFO: Uima EE Client Blocking - Awaiting Top Level Controller > Initialization Notification > Service:Person Title Annotator Listener Ready. Broker:tcp://localhost:8118 > Queue:queue://PersonTitleAnnotatorQueue Selector:Command=2000 OR > Command=2002 > Service:Person Title Annotator Listener Ready. Broker:tcp://localhost:8118 > Queue:queue://PersonTitleAnnotatorQueue Selector:Command=2001 > CasManager Initialized Cas Pool:PrimitiveAEService. Cas Pool Size:5 Initial > Cas Heap Size:500000 cells > Service:Person Title Annotator Initialized. Ready To Process Messages From > Queue:PersonTitleAnnotatorQueue > Sep 1, 2009 5:54:14 PM > org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl > initialize > INFO: ********* Initialized the Controller. Person Title Annotator Ready To > Process. ******** > Sep 1, 2009 5:54:14 PM > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl > setupConnection > INFO: UIMA AS Client Created Shared Connection To Broker: > tcp://karkand:8118 > UIMA AS Client Created Shared Connection To Broker:tcp://karkand:8118 > Sep 1, 2009 5:54:14 PM > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl > initializeProducer > INFO: Initializing JMS Message Producer. Broker: tcp://karkand:8118 Queue > Name: PersonTitleAnnotatorQueue > Sep 1, 2009 5:54:14 PM > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl > initializeConsumer > INFO: Initializing JMS Message Consumer. Broker: tcp://karkand:8118 Queue > Name: ID:karkand-56803-1251820447466-3:2:1 > >>>> Client Activated Temp Reply Queue:ID:karkand-56803-1251820447466-3:2:1 > Sep 1, 2009 5:54:15 PM > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl > initialize > INFO: Asynchronous Client Has Been Initialized. Serialization Strategy: > [xmi] Ready To Process. > First Initialize Call Completed > Received Expected Exception:class > org.apache.uima.UIMA_IllegalStateException >