Hi Gandhi, Thankyou for looking up into the issue and giving me your valuable solution to it. I will also try the method which you suggested. Even i was able to run the example project using tomcat. Two files were missing in WEB-INF folder when i have deployed the project. One was the cTakesHsql file and another one was the sno_rx_16ab file due to which this particular error was coming. Now I am able to fetch the result using tomcat. Once again thankyou for the solution.
Regards Ritwik On Wed, Nov 29, 2017 at 4:56 PM, Gandhi Rajan Natarajan < gandhi.natara...@arisglobal.com> wrote: > 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. > -- Ritwik Jain