Re: EventException

Denny Chambers <[email protected]> Wed, 13 Dec 2006 09:29:19 -0600
Newsgroups gmane.comp.java.enhydra.barracuda.general
Message-ID <[email protected]>
This is a multi-part message in MIME format...

------------=_1166023801-20094-51
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I agree. Would you like to see these as web.xml parameters? Also I am 
curious to hear more about the "Moving forward" part. I have quite a bit 
invested in Barracuda, and would like to here more about the future road 
map.

Jacob Kjome wrote:
> At 03:58 PM 12/12/2006, you wrote:
> >Found another way to do this. In the ApplicationGateway class there is a
> >boolean value called RESPOND_WITH_404 that is set to false by default.
> >Setting this to true will send a 404 error when an EventExceptions
> >occurs. This works great for me, since sending the 404 is what I wanted
> >in the first place.
> >
>
> Glad it works.  I'm not so keen on all these static variables for 
> configuration, though.  Moving forward, I'd like to see less of this.
>
> Jake
>
> >Denny
> >
> >Denny Chambers wrote:
> >> Looks like I need to override the  handleEventException(..) method for
> >> the ApplicationGateway class. This is also used in the
> >> ComponentGateway class.
> >>
> >> Denny
> >>
> >> Denny Chambers wrote:
> >>> 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
> >>>>
> >>>
> >>> 
> ------------------------------------------------------------------------
> >>>
> >>>
> >>> --
> >>> 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
> >>
> >
> >
> >
> >--
> >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
>   


------------=_1166023801-20094-51
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


------------=_1166023801-20094-51--