Michael Peters wrote:

> So I'm looking for ideas for recovery from this (or ideas to fix it in
> the first place). Should I wrapp all Java calls from perl in an eval and
> then try and reconnect if I get these kind of errors? 

Since the list is silent I decided to try my approach and wrap every
Java call in an eval that checks for "Broken Pipe" messages and then
tries to reconnect if that occurs.

My main concern is trying to reproduce it to see if my method works. I
obviously could kill the running JVM and thus break the pipe, but then a
simple Inline::Java::reconnect_JVM() won't work to fix that. Whenever
the problem surfaces, the JVM process is still running, so I'd like to
try to reproduce that. Any ideas on how to force a broken pipe?

-- 
Michael Peters
Developer
Plus Three, LP

Reply via email to