advise on handling interrupts for Inline::Java?
[email protected] (Russ Tremain)
| Newsgroups | perl.inline |
|---|---|
| Message-ID | <p0624080ecd3b0d35245b@[10.0.101.154]> |
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 [email protected]