Is your UIMA_HOME set correctly? Do you have spring jars in a classpath that
are newer from those in the uima-as distribution?

JC

On Thu, Aug 4, 2011 at 7:49 AM, Meghana <[email protected]>wrote:

> Hi all,
>
> I am trying to deploy my aggregate AE as an AS.
>
> When I call uimaEngine.deploy(service, appCtx) it throws the following
> exception:
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line
> 3 in XML document from URL
> [file:/home/me/workspace/uima/descriptors/async/AsyncAggregate.xml] is
> invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1:
> Cannot find the declaration of element
> 'analysisEngineDeploymentDescription'.
>
> However, if I run dd2spring.sh on the same deployment descriptor, it
> generates the Spring XML without any problem. I can then run
> springDeployer.deploy(springContext) and the rest of the deploy() method
> using the generated XML, which successfully deploys my AS.
>
> On the other hand, if I call deployAsyncService.sh on that deployment
> descriptor, it fails with the earlier exception again!
>
> What could be the issue here? :-s   As far as I know, the UIMA_CLASSPATH
> and
> other params are the same in both cases. I'd like to have one entire flow
> working... either script or code.
>
> Thanks!
>
> ..meghana
>

Reply via email to