I mean the "generic" exception handler. If it´s reaching the "main" scope
then you can have a handler there that will get every uncaught exception, no
matter where they are thrown (as long as they are not caught anywhere,
also).

On 12/8/06, Daniel Daley <[EMAIL PROTECTED]> wrote:

That's what I'm afraid of heh. Being it's a memory issue causing the
exceptions it is in a different spot every time and there seem to be an
extreme amount of exception handlers in the code.
Thanks,

--Dan--

On Dec 8, 2006, at 10:06 AM, Pedro Da Ros wrote:

I think you can implement or change the implementation of the exception
handler to exit/kill the application on uncaught exceptions...


On 12/8/06, Daniel Daley <[EMAIL PROTECTED]> wrote:
>
> Oops, sorry I should have been more clear on my objective. I need the
> process to stop by itself so that daemontools can restart it since it
> watches for the process to end. I was hoping maybe there was a way to
> tell java to halt on any exception.
>
> Thanks,
>
> --Dan--
>
> On Dec 8, 2006, at 9:39 AM, Nathan P. Johansen wrote:
>
> > If it's on some variant of Unix, then use the kill command with the -9
> > option followed by the process id, like so:
> >
> >       kill -9 523451
> >
> > You can refer to the manual page for the kill command, but 9 is
> > usually
> > KILL, as in make the thing go away entirely no matter what it might
> > want
> > to do.
> >
> > Obviously, you can only use this if you have permission or
> > ownership of
> > the process in question that you wish to kill off.
> >
> > =)
> >
> > -N
> >
> > p.s.  You can use the "ps aux" command to display a list of the
> > currently
> > running processes on your machine.
> >
> >
> > On Fri, 8 Dec 2006, Daniel Daley wrote:
> >
> >> Hi all,
> >>
> >> Would anyone happen to know a way to make red5 completely die when it
>
> >> receives an exception? Maybe there's a java command line that I don't
> >> know about that would do it? I'm trying to sort out and fix all the
> >> problems causing the exceptions but during that time the server keeps
>
> >> stopping in the middle of the night. I have it setup with daemontools
> >> which will automatically restart the service if it dies but it never
> >> actually does, instead it throws an exception and sits there.
> >>
> >> Thanks for any ideas you might have,
> >>
> >> --Dan--
> >>
> >> _______________________________________________
> >> Red5 mailing list
> >> [email protected]
> >> http://osflash.org/mailman/listinfo/red5_osflash.org
> >>
> >
> >
> > _______________________________________________
> > Red5 mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/red5_osflash.org
>
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org



_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to