|
From: Leif M. <le...@ta...> - 2006-01-19 22:17:29
|
Qian,
How are you catching the error. The Wrapper works by processing the JVM
console output. There is no way to trigger off of an exception unless
there is some
output to the console. Make sure the text "java.lang.OutOfMemoryError" is
showing up in the console and wrapper.log
Cheers,
Leif
Qian Wang wrote:
> Hi,
> I tried to use the config:
> wrapper.filter.trigger.1=java.lang.OutOfMemoryError
> wrapper.filter.action.1=RESTART so that when some
> error occurs, my application can restart by itself.
>
> however, it doesn't seem to work. in my code i wrote
> something like throw OutOfMemoryError; but looks like
> my application is still running.
>
> Is there something that i am missing here? any hint is
> greatly appreicated.
>
> Thanks
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems? Stop! Download the new AJAX search engine that makes
> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Wrapper-user mailing list
> Wra...@li...
> https://lists.sourceforge.net/lists/listinfo/wrapper-user
>
>
|