Hello all,

I don't know if anyone has any ideas of what might be happening, or
where to start trouble shooting this, but I thought I'd toss it out there.

We have an application that uses Inline::Java under mod_perl and it
works great most of the time. We are using the JT400 open source Java
libraries to access an IBM AS400 machine and it works as expected.
However the AS400 is constantly coming down for backups (at least once a
day for about an hour, and 2-3 hours over the weekend). The smaller
backups don't seem to be a problem, but the longer ones do. When the
AS400 comes back up and the mod_perl application (or even standalone
scripts that run under cron) attempts to contact the AS400 again, we get
this message in the error log:

[error] Can't receive packet from JVM:  at
/usr/local/plunkit/lib/i386-linux/Inline/Java/Protocol.pm line 337

To muddy the waters even further, this doesn't happen in the QA
environment, but only on the production machines. The main difference I
can see right now is the firewall between the AS400 and the
mod_perl/Inline::Java app in production.

Restarting the JVM and restarting our mod_perl application seems to fix
it everytime. But we'd rather not have to do that. Suggestions?

-- 
Michael Peters
Developer
Plus Three, LP

Reply via email to