If I have a servlet which fails during init() for whatever reason -
the example below takes a null pointer
public class MyServlet extends HttpServlet
{
private static final long serialVersionUID = 7997991143724219371L;
@Override
public void destroy()
{
-Original Message-
From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
Sent: Thursday, November 12, 2009 10:48 AM
To: Tomcat Users List
Subject: How to cancel a servlet startup?
If I have a servlet which fails during init() for whatever reason -
the example below takes a null pointer
Subject: How to cancel a servlet startup?
If I have a servlet which fails during init() for whatever reason -
the example below takes a null pointer
public class MyServlet extends HttpServlet
{
private static final long serialVersionUID =
7997991143724219371L;
�...@override
, and route every request to a
holding page.
Joe
-Original Message-
From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
Sent: Thursday, November 12, 2009 10:48 AM
To: Tomcat Users List
Subject: How to cancel a servlet startup?
If I have a servlet which fails during init
: Thursday, November 12, 2009 10:48 AM
To: Tomcat Users List
Subject: How to cancel a servlet startup?
If I have a servlet which fails during init() for whatever reason -
the example below takes a null pointer
public class MyServlet extends HttpServlet
{
private static final long
instrumentation to the system to detect
that this servlet didn't do its thing, and route every request to a
holding page.
Joe
-Original Message-
From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
Sent: Thursday, November 12, 2009 10:48 AM
To: Tomcat Users List
Subject: How to cancel a servlet
Thanks for all the tips. I'll have to put something together with a filter.
Just wanted to make sure there wasn't an easier way that I was missing.
Dan
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For
OK... now you're asking for miracles! You need to write
us...@miracleworkers.com har de har!
-Original Message-
From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com]
Sent: Thursday, November 12, 2009 12:08 PM
To: Tomcat Users List
Subject: Re: How to cancel a servlet startup
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dan,
On 11/12/2009 11:47 AM, Dan Armbrust wrote:
How can I make tomcat cancel the deployment of the entire war file
that this servlet was distributed with?
By the time the servlets are started, the context (webapp) has already
started up, though