Re: EventException
Denny Chambers <[email protected]> Fri, 08 Dec 2006 12:40:59 -0600
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1165603306-23657-86 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The servlet spec will not work here, because the exception is not being bubbled up to the Web Server code. It is being handled by the Barracuda code. If they were throwing the excpetion up, I could handle it in the web.xml file in the way you described below. I already do this for most of the HTTP error code, and a few other exception. I think this response may be coming from the dispatch queue or some close to that, when it can't map the event url to a class. I will try to look at the code today, and see if I can figure it out from there. Denny Jacob Kjome wrote: > > Hi Denny, > > I don't recall of the top of my head if there's a way to capture > this? I've had my head buried in XMLC development and other stuff > and haven't dealt with much Barracuda development of late. Hopefully > one of the guys at ATMReports can help with this, since I know they > use Barracuda on an ongoing basis. > > ....Actually, the servlet spec might provide for this. I seem to > recall you can define error pages for particular exceptions. This > would be configured in web.xml. Check out the <error-page> element (I > think that's what it's called?). > > > Jake > > At 03:57 PM 12/5/2006, you wrote: > >Resent with the Digital Signature turned off. > > > >When an invalid event URL is requested to a Barracuda webapp, you will > >get an Error: EventException, with a Barracuda specific message, and a > >stacktrace. i would like to override this canned message with my own > >error page. Is there an event that i need to listen for to make this > >happen? > > > >Denny > > > > > > > >-- > >Barracuda mailing list > >[email protected] > >http://www.objectweb.org/wws/lists/projects/barracuda > > > ------------------------------------------------------------------------ > > > -- > Barracuda mailing list > [email protected] > http://www.objectweb.org/wws/lists/projects/barracuda > ------------=_1165603306-23657-86 Content-Type: text/plain; name="message-footer.txt" Content-Disposition: inline; filename="message-footer.txt" Content-Transfer-Encoding: 8bit -- Barracuda mailing list [email protected] http://www.objectweb.org/wws/lists/projects/barracuda ------------=_1165603306-23657-86--