uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter van den Toorn <peter.van.den.to...@pon.com>
Subject Simple server can't find RUTA dictionaries
Date Tue, 22 Sep 2015 20:49:35 GMT
Dear all, 

I am trying to get my SimpleServer running with a pear file containing some RUTA dictionary
annotators. Nothing fancy or to complex, see the example code below:

WORDLIST Methods = 'Methods.txt’;
DECLARE Method;
Document{-> MARKFAST(Method, Methods,true)};

When im running the script in Eclipse i get the output i expect and all works well. Also the
runPearInstaller.sh script returns no error when i test the exported pear file. 

However when i run the simple server in tomcat 6 i get the following error and it puzzles
me: 

Sep 22, 2015 10:38:50 PM org.apache.uima.ruta.RutaEnvironment getWordList
SEVERE: Can't find Methods.txt!

My text file is in the resources folder and is packed within the pear. I never encountered
this error before and i wonder if its a bug. I hope someone can clarify this issue for me.
It would be much appreciated. 

Best regards, 

Peter


PS: Couple of days ago i got the first simple server instance running on Amazons Elastic beanstalk,
there is much potential combining UIMA with Amazons scalable platform. It works like a charm!




-- 
This e-mail and its attachments are confidential and may contain legally
privileged information. The information in this e-mail is intended solely
for the addressee(s). If you are not the intended recipient, please notify
the sender and delete it from your system. Any disclosure, copying,
distribution or any other action taken or omitted to be taken to prevent
any information becoming public, is prohibited and may be unlawful. Pon IT
B.V. (operating under the trade name Pon) is a limited liability company
under Dutch law with its registered office in Almere and is listed in the
Commercial Register of the Chamber of Commerce for Gooi-, Eem- en Flevoland
in Almere under file number 24227191

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message