[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jboss process fails to load properly [SOLVED]

From: Zippy Zeppoli
Subject: Re: jboss process fails to load properly [SOLVED]
Date: Wed, 1 Aug 2012 19:19:11 -0700

This works. Thanks!

On Wed, Aug 1, 2012 at 1:17 AM, Martin Pala <address@hidden> wrote:

during the restart, monit checks that the application stopped (before calling start) by looking for the PID from the piddfile - if the PID is not present in the process table or the pidfile was removed, Monit thinks the process stopped.

In your case it seems, that the pidfile is removed before the process stops (by some stop script or maybe the java application itself). The solution could be to use the pattern based check:

        check process my process matching "mypattern"


On Aug 1, 2012, at 6:11 AM, Zippy Zeppoli <address@hidden> wrote:

> Hi List,
> I am using monit to monitor a jboss (java) process to restart it when it fails.
> It is doing this correctly when the process dies based on it's pid, but I suspect it is trying to start it before the process has fully died down.
> The reason for this is that when it restarts the java process, all the of the web applications fail to load properly. When I do this manually, the web apps load fine.
> Any suggestions for working around this?
> Thanks,
> z
> --
> To unsubscribe:

To unsubscribe:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]