tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cowwoc <>
Subject Re: One process per webapp
Date Tue, 14 Jun 2011 01:26:56 GMT

Hi Christopher,

  Assuming we simply use one webapp per Tomcat instance I'm still looking
for two changes:

* Restart the entire JVM on webapp redeploy (to avoid JNI and ClassLoader
* Faster webapp redeploys if the entire JVM is restarted. I'm aiming for one
second but currently we're at ten seconds.


Christopher Schultz-2 wrote:
> Hash: SHA1
> Gili,
> On 6/13/2011 1:07 PM, cowwoc wrote:
>> I posted a RFE at
>> asking for the ability to seamlessly deploy webapps into separate JVMs.
> So you want Tomcat to have an option to run as a supervisor in one JVM
> and deploy webapps to separate JVMs?
>> Tomcat 7.0's parallel deployment sounds nice but it still doesn't solve
>> the
>> JNI and memory leak problems that haunt a single JVM architecture.
> Parallel deployment is at once orthogonal to and the opposite of what
> you are requesting.
>> Please read the proposal and let me know what you think.
> What "single management interface" are you describing in your
> enhancement comments? The Tomcat manager webapp? It's trivial to run a
> manager in each JVM and use that for deployment.
> If you know that your webapp needs to do things such as register a
> shared library on startup, you can do one of two things:
>   1. Always bounce Tomcat directly instead of re-loading the webapp
>   2. Fix the webapp so it doesn't bomb on startup when the library
>      is already loaded
> Tomcat provides the manager webapp and ant tasks to access it, plus a
> toolbox of scripts to start/stop/etc. Tomcat. Your needs seem to be
> fairly specific... why not just roll your own solution?
> - -chris
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla -
> 0zgAn1WDZNd+BRnJVD+C/kKUHh6KtotJ
> =o0Md
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message