Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Bai Shen <baishen.lists-Re5JQEeQqe8AvxtiuMwx3w <at> public.gmane.org>
Subject: Re: Error deploying pear on AS 2.4.2
Newsgroups: gmane.comp.apache.uima.general
Date: Thursday 13th February 2014 19:52:11 UTC (over 3 years ago)
Gotcha.  Thanks. :)


On Thu, Feb 13, 2014 at 2:40 PM, Eddie Epstein
 wrote:

> Using the OpenNLP pear described in the DUCC sample app, this would
> be a UIMA-AS deployment descriptor, Deploy_OpenNLP.xml:
> 
>
>    xmlns="http://uima.apache.org/resourceSpecifier">
>
>   OpenNLP Text Analyzer
>   Deploys OpenNLP text analyzer.
>
>   
>     
>        brokerURL="${defaultBrokerURL}"/>
>       
>        
>       
>     
>   
>
> 
>
> This descriptor assumes it is in the same directory as the pear
descriptor
> in the import statement.
> Then, assuming the service is to be deployed from the same directory,
that
> UIMA_HOME and PATH have been updated for the UIMA-AS SDK, and a JMS
broker
> started with startBroker.sh, the command would be:
>
> UIMA_CLASSPATH=`pwd`/lib deployAsyncService.sh Deploy_OpenNLP.xml
>
>
>
>
> On Wed, Feb 12, 2014 at 3:53 PM, Bai Shen
 wrote:
>
> > That would explain why it's not working. :)  What command should I use
to
> > deploy my pear?
> >
> > The documentation talks about merging, packaging, and installing the
> pear,
> > but I can't find any mention about deploying it.
> >
> > Is there a specific section that I should be looking at?
> >
> > Thanks.
> >
> >
> > On Wed, Feb 12, 2014 at 3:09 PM, Eddie Epstein

> > wrote:
> >
> > > A pear is a packed UIMA analysis engine, or AE. UIMA-AS deploys
> services
> > > that contain AEs. The command deployAsyncService requires a UIMA-AS
> > > Deployment Descriptor.
> > >
> > >
> > > On Wed, Feb 12, 2014 at 10:52 AM, Bai Shen

> > > wrote:
> > >
> > > > I'm running the following command to deploy my pear to UIMA-AS
2.4.2.
> > > >
> > > > deployAsyncService.sh test_pear.xml -brokerURL
> tcp://uima-broker:61616
> > > >
> > > > I'm getting the following error.
> > > >
> > > > SEPM0004: When 'standalone' or 'doctype-system' is specified, the
> > > document
> > > > must be
> > > >   well-formed; but this document contains a top-level text node
> > > >
> > > > It's a saxon error, but I can't tell what causing it.  Any
> suggestions
> > > for
> > > > where to look?
> > > >
> > > > Thanks.
> > > >
> > >
> >
>
 
CD: 3ms