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 problems) * Faster webapp redeploys if the entire JVM is restarted. I'm aiming for one second but currently we're at ten seconds. Gili Christopher Schultz-2 wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Gili, > > On 6/13/2011 1:07 PM, cowwoc wrote: >> I posted a RFE at >> https://issues.apache.org/bugzilla/show_bug.cgi?id=51366 >> 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 > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.10 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk32htcACgkQ9CaO5/Lv0PAGJwCaA020eDYhHSRmgVxALLLisG7z > 0zgAn1WDZNd+BRnJVD+C/kKUHh6KtotJ > =o0Md > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > > -- View this message in context: http://old.nabble.com/One-process-per-webapp-tp31836121p31839136.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org