Re: lifecycle exceptions
Alan Pevec <[email protected]>
| Newsgroups | gmane.linux.redhat.ccm.general |
|---|---|
| Organization | Red Hat, Inc. |
| Message-ID | <[email protected]> |
Hi
a quick fix would be to wrap Scheduler.run call in
c.a.cms.lifecycle.SchedulerTask
with a try-catch(Throwable) block. Log the exception in the catch block,
so that it does not fail silently.
Hope this helps,
Alan Pevec
Thomas, Mary wrote:
>Hi
>Noticed that lifecycle in redhat cms breaks when an assertion throws the
>exception and it is not caught.
>And then one has to restart the server . This is not acceptable in
>production environment.
>Could you offer recommendations/modifications wherein errors are caught and
>does not break the lifecycle during publishing of an item.
>
>Thanks
>Mary
>
>public class AssertionError extends Error {
>
> public AssertionError(String msg) {
> super(msg);
> }
>}
>
>
--
Redhat-ccm-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-ccm-list
Archives: https://www.redhat.com/pipermail/redhat-ccm-list/