Hugo Lafayette | 27 Aug 17:17

"No proxy is available" error message

(UIMA 2.2.1)

Sometimes in our application that use remote UIMA components, we get the
following error:

"No proxy is available. Instantiate a proxy before calling process()"

Does someone knows why this exception occurs, or at least already
experiment such problem ?

It seems to be "random", and usually restarting the UIMA components and
the VINCI server "solve" it.

I look into the source code (NetworkCasProcessorImpl.java): as far as I
understand, it may only occur when the process() method is called before
setProxy() or after collectionProcessComplete(), which should not happen
in real use case...

Thanks in advance for any help or tip on this one, I'm really stuck here.

--

-- 
Hugo

Aaron Kaplan | 27 Aug 13:52

XmiCollectionReader

Is it possible to use XmiCollectionReader in a CPE?  I don't see any way 
to configure a type system, and without a type system I of course get 
"unknown type" errors.

-Aaron

Christoph Büscher | 20 Aug 17:06

Is it possible to "manually" trigger batchProcessComplete?

Hi,

I recently used the CasProcessors <checkpoint> element to periodically flush the 
results of some of my processors results to a database. However, triggering the 
batchProcessComplete() method if the processor via the checkpoint seems only 
possible after a fixed number of documents (the batch=xxx attribute) configured 
at start time. I'm wondering if it is somehow possible to trigger this 
programatically. For example I would like to trigger the "batchProcessComplete" 
after certain documents (which I can already identify in the collection reader).

Is there a way of telling the UIMA framework to do so?

--

-- 
--------------------------------
Christoph Büscher

rohan rai | 19 Aug 12:28

Re: Annotation (Indexing) a bottleneck in UIMA in terms of speed

Hey Julien

 There are two aspect of making UIMA work with hadoop..

First to make it run...Somehow run on short data for the proof of concept...

And then worry about the scalability

Have you gone through the link
http://cwiki.apache.org/confluence/display/UIMA/Running+UIMA+Apps+on+Hadoop
or
http://rohanrai.blogspot.com/2008/06/uima-hadoop.html
When you have understood what is going on over here..
Then you should look at this thread which specifically talks about
scalability issues

Feel free to query more, if you are still  unable to make progress
Regards
Rohan

After

On Tue, Aug 19, 2008 at 3:49 PM, Julien Nioche <
lists.digitalpebble@...> wrote:

> Hi Rohan,
>
> I saw that thread on the uima list and am in a similar situation. Would you
> mind telling me how you built the job file? I have one which contains all my
> libs and xml configuration files but it does not get automatically extracted
(Continue reading)

Adam Lally | 15 Aug 21:54

OASIS UIMA Standard Draft out for Public Review

Hi Everyone,

For those who may be interested, a draft of the UIMA Standard
Specification that is being developed at OASIS has been posted for a
60-day public review.  You can see the announcement of the public
review here: http://lists.oasis-open.org/archives/tc-announce/200808/msg00003.html.
 There is a link to the current draft of the specification and a place
where you can leave comments.  This public review is one of the steps
along the way to becoming an OASIS standard.

  -Adam

Ahmed Abdeen Hamed | 15 Aug 15:52

Class-Path issues - Previously: Making JAR files reading from within

Hi again Marshall: We need to deploy our applications as a JAR so that it can be run from the command-line. The UIMA AE descriptor is not the main application entry-point. In fact, AE gets built on the fly. I am attaching my directory structure after I unpack the deployed JAR. I am also copying the contents of the MANIFEST.MF file to see if you can identify any funny part in it. 

============================================
Manifest-Version: 1.0
Main-Class: oboannotator.application.OBO_DocumentAnalyzerApplication

Class-Path: lib/uima-core.jar lib/jVinci.jar lib/maxent-2.4.0.jar lib/opennlp-tools-1.3.0.jar lib/uima-adapter-soap.jar lib/uima-adapter-vinci.jar lib/uima-cpe.jar lib/uima-
document-annotation.jar lib/uima-tools.jar lib/xerces.jar


============================================

Here is the RUNTIME error that I am getting:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/uima/resource/ResourceInitializationException
at oboannotator.application.OBO_DocumentAnalyzerApplication.main(OBO_DocumentAnalyzerApplication.java:168)

I have been struggling with this issue for more than a week now. I would appreciate any insight!
Ahmed
P.S. Please see the attached project directory structure screenshot.



On Thu, Aug 14, 2008 at 4:46 PM, Marshall Schor <msa-DzKsKX1/Fv4AvxtiuMwx3w@public.gmane.org> wrote:
Hi Ahmed -

Did you consider UIMA's "PEAR" packaging and the pear installer utilities that are part of UIMA?

That's how many people make annotator components available to others.

-Marshall


Ahmed Abdeen Hamed wrote:
Dear Marshall: Thank you for taking the time to response to this. You have
inspired a couple of suggestions that we ended up using here to deploy our
application. So, it's finally usable by someone else except myself, yay :)Best
wishes,
-Ahmed

 

Jörn Kottmann | 13 Aug 22:50

[ANNOUNCE][UPDATE] Apache UIMA Cas Editor version 2.2.2-incubating

The link to the Apache UIMA download page was incorrect.
The correct link to the Apache UIMA download page is

http://incubator.apache.org/uima/downloads.cgi

Jörn
Eric Nyberg | 13 Aug 22:28

Broken link to latest hot fix?

Folks,

We're excited to try out the new CAS editor, but the link to the latest 
hotfix seems broken (returns a page not found error):

http://incubator.apache.org/uima/%5Bpreferred%5D/incubator/uima/binaries/uimaj-2.2.2-incubating/uima-2.2.2-fp1-incubating.zip

Help!

-ehn

Jörn Kottmann | 13 Aug 19:25

[ANNOUNCE] Apache UIMA Cas Editor version 2.2.2-incubating

The Apache UIMA community is pleased to announce the availability of the
Apache UIMA Cas Editor release version 2.2.2-incubating.
The 2.2.2-incubating release is the first release at Apache UIMA

The Apache UIMA Cas Editor is an annotation tool which supports manual  
and
automatic annotation (via running UIMA annotators) of CAS files.

For further details about the release, please refer to the release  
notes.
http://www.apache.org/dist/incubator/uima/RELEASE_NOTES-caseditor-2.2.2-incubating.html

The release is available for download on the Apache UIMA website.
http://incubator.apache.org/uima/downloads.html

The Apache UIMA team

INCUBATION DISCLAIMER

Apache UIMA is an effort undergoing incubation at The Apache Software
Foundation (ASF). Incubation is required of all newly accepted projects
until a further review indicates that the infrastructure,  
communications,
and decision making process have stabilized in a manner consistent with
other successful ASF projects. While incubation status is not  
necessarily
a reflection of the completeness or stability of the code, it does
indicate that the project has yet to be fully endorsed by the ASF
Julien Nioche | 13 Aug 16:00

running aggregate engine within CPE and client code

Hi,

I am slightly puzzled by the following case. I have integrated an aggregate
engine into my code in a very straightforward way :

* // reset the tcas for the next document
 tcas.reset();

 InputStream fis = new BufferedInputStream(new FileInputStream(target));
 byte[] contents = new byte[(int) target.length()];
 fis.read(contents);
 fis.close();

 String document = new String(contents);

 tcas.setDocumentText(document);
 tcas.setDocumentLanguage("en");

 controller.process(tcas);

*Using the aggregate engine from the CPM is more than 10x faster than my
client code; both are running in a single thread. I profiled my application
and found that the slower part is

*87.9% - 50,781 ms
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process*
*
*i.e the time is not spent in other parts of my code but in the process()
method.*

*I get a similar difference even when setting *casPoolSize="1" *in my CPE
descriptor.* *Needless to say that I'd like to get the same type of
performance in both cases. Any idea of what might be the cause?*
**
*Thanks

Julien*

--

-- 
*DigitalPebble Ltd
http://www.digitalpebble.com
Marco Nehmeier | 13 Aug 08:58

CAS Visualization

Hi,

my name is Marco Nehmeier. I'm student at the University of Würzburg.

At the moment I'm working on a project for CAS visualization. I develop 
a Eclipse plug-in to view and edit CAS-files (annotated html-files). 
This plug-in offers visualization of annotations in a analyzed html-file 
. Additionally it allows to create/delete annotations by hand. These 
features are important for scientific work in the field of machine 
learning...

For this project I have to write a paper about the plug-in. In this 
paper I will compare my plug-in with other tools for CAS visualization 
and mortification.

And so I want to ask you if there exist some documentation about 
different CAS viewers and editors.

I would be glad if you can help me.

p.s. If you are interested in my work, I can provide you my plug-in and 
paper (in germand).

with best regards

Marco Nehmeier


Gmane