ctakes-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Masanz, James J." <Masanz.Ja...@mayo.edu>
Subject RE: Adding UMLS username and password ....
Date Tue, 24 Dec 2013 01:45:09 GMT

You might try from the command line


or even better for debug purposes put it just before the  CD %CTAKES_HOME%  line.

It should respond with the parent of the bin, desc, and resources directory.

If it responds with something else, try clearing %CTAKES_HOME% by entering the following on
the command line and then trying the bat file again.
set %CTAKES_HOME%=""

Oh, and you'll probably want to change -Xmx1024M  to be  -Xmx2048M or even larger or you will
run into a heap space error for many parts of cTAKES.

-- James

From: joshuaweiner89@gmail.com [mailto:joshuaweiner89@gmail.com] On Behalf Of Joshua Weiner
Sent: Monday, December 23, 2013 7:36 PM
To: user@ctakes.apache.org
Subject: Re: Adding UMLS username and password ....


Thanks so much for your response. When I remove the brackets I still get an error, I get:

"Error: could not find or load main class org.apache.uima.tools.cvd.CVD

Thank you so much for your help. I appreciate your dilligence.


On Mon, Dec 23, 2013 at 8:32 PM, Masanz, James J. <Masanz.James@mayo.edu<mailto:Masanz.James@mayo.edu>>
Sorry for the confusion, don't include the brackets, so it should look like this:

-Dctakes.umlsuser=joshuawiener2  -Dctakes.umlspw=mypassword

From: joshuaweiner89@gmail.com<mailto:joshuaweiner89@gmail.com> [mailto:joshuaweiner89@gmail.com<mailto:joshuaweiner89@gmail.com>]
On Behalf Of Joshua Weiner
Sent: Monday, December 23, 2013 7:28 PM
To: user@ctakes.apache.org<mailto:user@ctakes.apache.org>
Subject: Adding UMLS username and password ....

Hey guys,

I know this is probably a dumb question but I can't for the life of me figure it out. I finally
got a UMLS username and password, but I don't think I am updating the BAT files correctly...
here is what I did: note my username is joshuaweiner2 and my password (for this example) is
mypasswordd (see below).... I now can't get the CVD to run.

Thank you for your help...

java -Dctakes.umlsuser=<joshuawiener2> -Dctakes.umlspw=<mypasswordd> -cp "%CTAKES_HOME%/lib/*;%CTAKES_HOME%/desc/;%CTAKES_HOME%/resources/"
-Dlog4j.configuration=file:/%CTAKES_HOME%/config/log4j.xml -Xms512M -Xmx1024M org.apache.uima.tools.cvd.CVD


Joshua S. Weiner

Joshua S. Weiner

View raw message