Original Message-
> From: Chris Bergstresser [mailto:[EMAIL PROTECTED]
> Sent: Wednesday 27 October 2004 01:56
> To: 'Tomcat Users List'
> Subject: RE: Where do UnavailableExceptions get reported?
>
>
> Steve Kirk wrote:
> > At a guess, you are seeing the
Steve Kirk wrote:
> At a guess, you are seeing the
> UnavailableException manifested as a 404 error in your
> browser, like this: "HTTP Status 404 - Servlet hemlock is not
> available", rather than an UnavailableException ?
Yes, exactly. Which isn't a problem -- except I can't find the *actual
> Throwing a generic ServletException wrapping my UnavailableException
> would probably get the report showing up, but it also means Tomcat won't
be
> able to respond correctly to it.
Yes. Sorry, I had missed the fact that UnavailableException is a subclass
of ServletException, so unless your we
Steve Kirk wrote:
> ...I think you'll find that the Tomcat error page (or your
> own custom error page, if configured) will automatically
> strip the outer ServletException layer off and report the
> underlying UnavailableException.
That's a possible workaround. But the JavaDocs are pretty cl
eport to the JSR154 team as suggested by Yoav. Let
me know if your problem is similar, and I'll add it to my report.
> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> Sent: Monday 25 October 2004 14:18
> To: Tomcat Users List
> Subject: RE: Wher
--
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
>Sent: Friday, October 22, 2004 6:44 PM
>To: [EMAIL PROTECTED]
>Subject: Where do UnavailableExceptions get reported?
>
>Hi all --
>
> I just installed Tomcat, and created a servlet, and installed it.
It
>worked.
>
QM wrote:
> On Fri, Oct 22, 2004 at 06:44:07PM -0400, [EMAIL PROTECTED] wrote:
>> ...the message I specified in the exception I
>> threw does not show up -- not in the logs, not when I reload the
>> servlet in the manager, not on the page when I try to run the
>> servlet. I searched all the availa
On Fri, Oct 22, 2004 at 06:44:07PM -0400, [EMAIL PROTECTED] wrote:
: Finally, I changed my init
: method to throw an "UnavailableException" if a configuration variable wasn't
: specified.
:Now, obviously, I get an "The requested resource (Servlet hemlock is not
: available) is not available" er
Hi all --
I just installed Tomcat, and created a servlet, and installed it. It worked.
I then added an init() method, which also worked. Finally, I changed my init
method to throw an "UnavailableException" if a configuration variable wasn't
specified.
Now, obviously, I get an "The request