Caldarale, Charles R wrote:
From: Mario Splivalo [mailto:mario.spliv...@megafon.hr]
Subject: Two contexts of the same webapp

Is it possible for a webbaplication to have two instances within single tomcat?

Yes, just keep the location of the .war (or expansion thereof) outside of the 
<Host> appBase directory.  Note that the two webapp instances will not share 
any classes or static data, which is probably a good thing.

Thnx! Yes, apps need to be separate, it's just that they're the same. I have separate configurations, logs, everything set up.

But, now, I'm wondering, since I'll be having dozens of the same applications, I'd like to automate deploying using war files. In that case, having separate war file for each instance forces me to have several same docBase directories?

        Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to