Luke,

My guess is that the Apache children processes still have open connections
to the Java processes.

When you restart it, the Apache children don't realize this until they actually
try to communicate with Java again, thus the messages (probably once
for each Apache child you have running).

You could use the netstat command to confirm (see if there still are
network connections to the Java process just before you restart it).

I would have to see the code in your mod_perl handler (at least the
Inline::Java related bits) to best tell you how to fix it.

Patrick




On 9/23/05, Luke Chambers <[EMAIL PROTECTED]> wrote:
> We are using Inline::Java in an apache environment.
>
> Upon restart of the server (with new Java code) and restart of Java
> processes, I am receiving the following error
>
>  >>>Can't receive packet from JVM:  at /usr/local/perl/lib/site_perl/
> 5.8.4//i686-linux/Inline/Java/Protocol.pm line 337
>
> This error persists for the first few requests and then disappears.
>
> Is there something that I should be doing upon restart that I am not?
>
> Luke
>


--
=====================
Patrick LeBoutillier
Laval, Québec, Canada

Reply via email to