Discussion:
advise on handling interrupts for Inline::Java?
Russ Tremain
2013-02-08 20:25:11 UTC
Permalink
Hi Patrick!

I'm using inline java to implement a commandline monitor that
interacts with databases via JDBC.

I'm catching interrupts on the perl side, but the interrupt is
killing Inline::Java, with a message like this:

sqlpjImpl[sql_init_connection]: ERROR on connect: 'Can't receive
packet from JVM: Interrupted system call at
/usr/local/perl/lib/site_perl/5.8.9/darwin-2level/Inline/Java/Protocol.pm
line 431.
at sqlpjImpl.pm line 517.

(sqlpjImpl.pm is my program).

Any advise on how to recover from this, i.e., reinstate the
perl<->java connection to the JVM cleanly?

thanks,
-Russ
russt-***@public.gmane.org

Loading...