Yes, If I use one Analysis Engine and the same Analysis Engine instead of a CC the process completed successfully.
2007/12/3, Marshall Schor <[EMAIL PROTECTED]>: > > This appears it might be a bug. Can you work around by using an > Analysis Engine instead of a Cas Consumer? > > -Marshall > > Baptiste GAILLARD wrote: > > Ok, thanks, > > > > I've tried with a SOAP AE and a local integrated CAS Consumer, it works. > > > > But, If If use a SOAP AE an a SOAP Cas Consumer the following errors are > > displayed: > > > > > > org.apache.uima.resource.ResourceInitializationException: Initialization > of > > CAS Processor with name "WordsFilePrinterSoapService.xml" failed. > > at > > > org.apache.uima.collection.impl.CollectionProcessingEngine_impl.initialize > > (CollectionProcessingEngine_impl.java:83) > > at > > > org.apache.uima.impl.UIMAFramework_impl._produceCollectionProcessingEngine > > (UIMAFramework_impl.java:395) > > at > org.apache.uima.UIMAFramework.produceCollectionProcessingEngine( > > UIMAFramework.java:807) > > at org.apache.uima.tools.cpm.CpmPanel.startProcessing( > CpmPanel.java > > :538) > > at org.apache.uima.tools.cpm.CpmPanel.access$000(CpmPanel.java > :96) > > at org.apache.uima.tools.cpm.CpmPanel$1.construct(CpmPanel.java > :678) > > at org.apache.uima.tools.util.gui.SwingWorker$2.run( > SwingWorker.java > > :130) > > at java.lang.Thread.run(Thread.java:595) > > Caused by: org.apache.uima.resource.ResourceConfigurationException: > > Initialization of CAS Processor with name " > WordsFilePrinterSoapService.xml" > > failed. > > at > > > org.apache.uima.collection.impl.cpm.container.CPEFactory.produceIntegratedCasProcessor > > (CPEFactory.java:1107) > > at > > > org.apache.uima.collection.impl.cpm.container.CPEFactory.getCasProcessors( > > CPEFactory.java:550) > > at org.apache.uima.collection.impl.cpm.BaseCPMImpl.init( > > BaseCPMImpl.java:253) > > at org.apache.uima.collection.impl.cpm.BaseCPMImpl.<init>( > > BaseCPMImpl.java:127) > > at > > > org.apache.uima.collection.impl.CollectionProcessingEngine_impl.initialize > > (CollectionProcessingEngine_impl.java:75) > > ... 7 more > > Caused by: org.apache.uima.resource.ResourceInitializationException: The > > Resource Factory does not know how to create a resource of class > > org.apache.uima.analysis_engine.AnalysisEngine from > > the given ResourceSpecifier. (Descriptor: > > > file:/D:/workspace/imp-helper-uima/src/main/resources/descriptors/soap/WordsFilePrinterSoapService.xml) > > at org.apache.uima.UIMAFramework.produceResource( > UIMAFramework.java > > :261) > > at org.apache.uima.UIMAFramework.produceResource( > UIMAFramework.java > > :303) > > at org.apache.uima.UIMAFramework.produceAnalysisEngine( > > UIMAFramework.java:383) > > at > > > org.apache.uima.collection.impl.cpm.container.CPEFactory.produceIntegratedCasProcessor > > (CPEFactory.java:1091) > > ... 11 more > > > > So, it seams to work with SOAP AE but not SOAP CC. > > > > > > Baptiste. > > > > > > 2007/11/29, Adam Lally <[EMAIL PROTECTED]>: > > > >> On Nov 29, 2007 10:37 AM, Baptiste GAILLARD < > [EMAIL PROTECTED]> > >> wrote: > >> > >>> <?xml version="1.0" encoding="UTF-8"?> > >>> <casProcessor deployment="remote" > >>> name="WordsListAnnotatorSoapService"> > >>> <descriptor> > >>> <include > >>> > >>> > >> > href="D:\workspace\imp-helper-uima\src\main\resources\descriptors\soap\WordsListAnnotatorSoapService.xml"/> > >> > >>> </descriptor> > >>> > >> <snip/> > >> > >> Use deployment="integrated" instead of deployment="remote". I know > >> that's confusing. Using deployment="integrated" will actually work > >> just fine for remote services. deployment="remote" invokes some > >> specialized processing specifically for Vinci services, but is not > >> generally needed. > >> > >> -Adam > >> > >> > > > > > >
