Re: Custom Dictionary connected to mysql [EXTERNAL]

2017-12-27 Thread Chahal Arora
Hi Sean, I am not trying to run it with multiple threads and in fact, I haven't changed the code for the JdbcRareWordDictionary class. The changes are done in the customDictionary.xml file only. The issue comes when I am running it in a docker container. I did not encounter this issue on my

RE: Custom Dictionary connected to mysql [EXTERNAL]

2017-12-27 Thread Finan, Sean
Hi Chahal Arora, That is odd - I have never seen that message. Are you trying to run with multiple threads? Like most of ctakes, that class was designed to be run in a single thread. There are thread-safe wrappers that can be used if needed, but they should not be relied upon for speed

Re: Custom Dictionary connected to mysql [EXTERNAL]

2017-12-27 Thread Chahal Arora
Hi Gandhi, Sean, and James Thank you all for your help. It ran fine but after some time, I started getting the following error- ERROR JdbcRareWordDictionary - No operations allowed after statement closed. The class giving the issue is -