Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
I ran startVinciService with a deployment descriptor that pointed at an "old" UIMA descriptor whose <frameworkImplementation> was set to com.ibm.uima.java. The error message was uninformative:
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:/C:/Program Files/IBM/uima/docs/examples/descriptors/analysis_engine/PersonTitleAnnotator.xml)
at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:264)
at org.apache.uima.internal.util.ResourcePool.fillPool(ResourcePool.java:261)
at org.apache.uima.internal.util.ResourcePool.<init>(ResourcePool.java:106)
at org.apache.uima.internal.util.AnalysisEnginePool.<init>(AnalysisEnginePool.java:95)
at org.apache.uima.analysis_engine.impl.MultiprocessingAnalysisEngine_impl.initialize(MultiprocessingAnalysisEngine_impl.java:90)
at org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngineFactory_impl.java:90)
at org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(CompositeResourceFactory_impl.java:63)
at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:260)
at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:457)
at org.apache.uima.adapter.vinci.VinciAnalysisEngineService_impl.<init>(VinciAnalysisEngineService_impl.java:121)
at org.apache.uima.adapter.vinci.VinciAnalysisEngineService_impl.main(VinciAnalysisEngineService_impl.java:444)
at org.apache.uima.adapter.vinci.VinciCasObjectProcessorService_impl.main(VinciCasObjectProcessorService_impl.java:54)