RE: Two contexts of the same webapp

2010-02-19 Thread Caldarale, Charles R
From: Mario Splivalo [mailto:mario.spliv...@megafon.hr] Subject: Re: Two contexts of the same webapp I could, of course, but I'm loosing the auto-war-deploy feature that way, right? No, the auto-deploy still works. Place each webapp's Context element in conf/Catalina/[host]/[appName].xml

Re: Two contexts of the same webapp

2010-02-19 Thread Mario Splivalo
Caldarale, Charles R wrote: Although, the app is fairly simple, so I could just use manager to stop all the applications, overwrite the docBase directory with the new version, and then start all the apps. Or just overwrite the docBase target with the new version, then do a touch on each of

Re: Two contexts of the same webapp

2010-02-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mario, On 2/19/2010 2:39 AM, Mario Splivalo wrote: Well, the proprietary library we're using to receive connection to some proprietary -based service is awfully written - we can't get an service-identifier (let's call it that way) within the

Two contexts of the same webapp

2010-02-18 Thread Mario Splivalo
Is it possible for a webbaplication to have two instances within single tomcat? I was thinking of having two (almost) identical context files which both point to the same docBase. Mike - To unsubscribe, e-mail:

RE: Two contexts of the same webapp

2010-02-18 Thread Caldarale, Charles R
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

Re: Two contexts of the same webapp

2010-02-18 Thread Mario Splivalo
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

RE: Two contexts of the same webapp

2010-02-18 Thread Caldarale, Charles R
From: Mario Splivalo [mailto:mario.spliv...@megafon.hr] Subject: Re: Two contexts of the same webapp 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

Re: Two contexts of the same webapp

2010-02-18 Thread André Warnier
Mario Splivalo wrote: ... 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

Re: Two contexts of the same webapp

2010-02-18 Thread Mario Splivalo
Caldarale, Charles R wrote: From: Mario Splivalo [mailto:mario.spliv...@megafon.hr] Subject: Re: Two contexts of the same webapp 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

Re: Two contexts of the same webapp

2010-02-18 Thread Mario Splivalo
André Warnier wrote: Mario Splivalo wrote: ... 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