-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 1/29/2010 4:41 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: Embedded tomcat example
>>
>> That's how Tomcat typically "waits foreve
9/10 3:41 PM, "Caldarale, Charles R" wrote:
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Embedded tomcat example
>
> That's how Tomcat typically "waits forever" before stopping,
> rather than stopping immediately after init
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Embedded tomcat example
>
> That's how Tomcat typically "waits forever" before stopping,
> rather than stopping immediately after initialization.
>
> You could do something l
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Clay,
On 1/29/2010 4:17 PM, Clay McCoy wrote:
> Thanks for your response.
> So my main application probably keeps going because it is hooked up to a
> database, JMS broker, and several other things I guess.
> What is the simple and preferred way to k
On Fri, Jan 29, 2010 at 1:17 PM, Clay McCoy wrote:
> What is the simple and preferred way to keep Tomcat going without adding
> anything like that.
Run it normally? :-)
Seriously, I'm curious about the use case for "embedded Tomcat" --
embedded in what? What's the goal? I'm totally in the dark
to simply want to run a servlet
in a servlet container, and it certainly breaks the principle of least surprise
that it stops.
On 1/29/10 2:04 PM, "Caldarale, Charles R" wrote:
> From: Clay McCoy [mailto:cmc...@acteksoft.com]
> Subject: Embedded tomcat example
>
> Th
> From: Clay McCoy [mailto:cmc...@acteksoft.com]
> Subject: Embedded tomcat example
>
> There are no errors, why would the embedded Tomcat server just stop?
Most (possibly all) Tomcat threads are daemons, so they terminate automatically
when the last non-daemon thread exits.
http://github.com/claymccoy/ExecutableWar
Here is an example project for people interested in making an executable war,
or a Groovy script to start embeded Tomcat.
The idea was to take my real project and remove everything not relevant to this
example. But it doesn't work anymore. :(
The scr