Re: How to cancel a servlet startup?

2009-11-12 Thread Christopher Schultz
-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

RE: How to cancel a servlet startup?

2009-11-12 Thread Joseph Morgan
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

RE: How to cancel a servlet startup?

2009-11-12 Thread Joseph Morgan
ve no control over that? If so, maybe a system level monitor to shut down the context if the startup fails. -Original Message- From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] Sent: Thursday, November 12, 2009 1:18 PM To: Tomcat Users List Subject: Re: How to cancel a servlet st

Re: How to cancel a servlet startup?

2009-11-12 Thread Dan Armbrust
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 additiona

Re: How to cancel a servlet startup?

2009-11-12 Thread Tim Funk
duction. Of course, you could simply add 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

Re: How to cancel a servlet startup?

2009-11-12 Thread Mark Thomas
nd 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 cance

Re: How to cancel a servlet startup?

2009-11-12 Thread Kris Schneider
ou could simply add 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.c

Re: How to cancel a servlet startup?

2009-11-12 Thread Dan Armbrust
ay, 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 > { >

RE: How to cancel a servlet startup?

2009-11-12 Thread Joseph Morgan
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() for whatever reason - the example below takes a nu

How to cancel a servlet startup?

2009-11-12 Thread Dan Armbrust
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() {