3 Dec 00:12
Re: How to use a SOAP component in a CPE ?
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)(Continue reading)
)
Please post back if that solves your problem (or, especially, if it
doesn't).
-Marshall
steven shingler wrote:
> Hi all,
>
> I think I have some classpath issues!
>
> My UIMA impl runs fine on its own, but when I assemble that jar into the
> main project jar I get the following error:
>
> org.apache.uima.util.InvalidXMLException: Invalid descriptor at
> file:/home/steven/ContainsWordsAEDescriptor.xml.
> at org.apache.uima.util.impl.XMLParser_impl.parse
> (XMLParser_impl.java:193)
> at org.apache.uima.util.impl.XMLParser_impl.parseResourceSpecifier
> (XMLParser_impl.java:365)
> at org.apache.uima.util.impl.XMLParser_impl.parseResourceSpecifier
> (XMLParser_impl.java:346)
> at uk.ac.ST.process(ST.java:284)
RSS Feed