No. I did not try to find a solution as Google said at first that the issue was
closed. Shay gets in the 0.19 branch the last version of Guava. But then the
issue was reopened...
I'm not sure that there is a solution actually...
Also, in production, by now, each time I push a new version of my project, Sysop
team restart my jboss instance. So I don't really have Threads remaining.
But it's really a pain when you want to debug under tomcat as each time tomcat
restart, I get OOM exceptions...
You said that you run jobs using cron. That means that you start each time a new
jvm and stop it after the end of the job ?
If so, it should not be a problem for you as you kill the java process...
Le 13 juin 2012 à 18:12, Eugene Strokin email@example.com a écrit :
Thank you David, I'll try spring-elasticsearch out.
Did you find any solution for this hang up problem? I need to run some jobs
periodically which are using ES. I was planing to use cron, but with this
problem, I end up with lots of hanging process. Not acceptable for production.
On Wednesday, June 13, 2012 2:42:07 AM UTC-4, David Pilato wrote:
Yes. It's a pain.
It's relative to this issue :
BTW, may I suggest that you gave a look at the ES Spring Project ? :
Le 13 juin 2012 à 07:53, Eugene Strokin a écrit :
I'm using Spring Bean to initialize ES TransportClient: see the code
I just @Autowire EsClientProvider and everything works fine, except
when application stops, I still have threads running and it hangs, and
I need to kill the process to stop it.
Is anything could be done about this?
I've also tried explicitly call getClient().stop() before application
exits, but it doesn't change anything.
Twitter : @dadoonet