Hi Ritwik,

If you run the demo app in Jetty server using 'mvn jetty:run' command as 
mentioned in this link - http://healthnlp.github.io/examples/ ,it should work 
fine.

In Tomcat deployment, the HSQL in-memory DB implementation is the issue. You 
may have to use MySQL DB to make it work in Tomcat.

Regards,
Gandhi

-----Original Message-----
From: Ritwik Jain [mailto:ritwik.j...@raxa.com]
Sent: Wednesday, November 29, 2017 2:15 PM
To: dev@ctakes.apache.org
Subject: ResourceInitializationException in DefaultJCasTermAnnotator

Hi All,

I have cloned the CTake-Temporal_demo from github repo. After that I run the 
query mvn clean install which allowed me to have a .war file. I have deployed 
the war file in my tomcat server but after putting the Text like
:- "Potassium 40" and hitting the submit button, I am getting the error - 
"*org.apache.uima.resource.ResourceInitializationException:
Initialization of annotator class
"org.apache.ctakes.dictionary.lookup2.ae.DefaultJCasTermAnnotator" failed.
(Descriptor: <unknown>)*"

I have even installed the resources again and replace it with the resources 
that have been there earlier but it is of no use. I have even clones the trunk 
repo of Ctake and installed the maven dependencies but this method also goes in 
vain. Can anyone please help in it. I am really badly stuck in this point.

Regards
Ritwik
--
Ritwik Jain
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you are not the named addressee you should not disseminate, distribute or copy 
this e-mail. Please notify the sender or system manager by email immediately if 
you have received this e-mail by mistake and delete this e-mail from your 
system. If you are not the intended recipient you are notified that disclosing, 
copying, distributing or taking any action in reliance on the contents of this 
information is strictly prohibited and against the law.

Reply via email to