Hi Mikolaj and Mark,

Thanks for your help. I do know about aliases, but for some reason a couple of 
years ago I decided to keep each domain in a different context. And that reason 
was.....hummm......like...... you know what? Either I forgot what the reason 
was (maybe because I have barely slept last night cause my website crashed), or 
there was no valid reason! 
As soon as I finish moving my JARs from the shared directory to the web-inf/lib 
directory and everything is OK, I will review that. Certaintly, if I don’t 
remember any valid reason to keep two contexts, I will start using just one!


> -----Original Message-----
> From: Mark Shifman [mailto:mark.shif...@yale.edu]
> Sent: Wednesday, November 17, 2010 08:30 AM
> To: Tomcat Users List
> Subject: Re: Placing JARs in "..../tomcat/shared/lib" causes leaks when
> stopping apps?
> 
> On 11/17/2010 02:43 AM, Mikolaj Rydzewski wrote:
> >
> > On Tue, 16 Nov 2010 22:55:10 -0500, "Brian" <bbprefix-m...@yahoo.com>
> wrote:
> >
> >> I have two identical apps running at the same time. I mean, they use
> >> exactly the same WAR, but each one runs in a different web domain.
> > [...]
> >
> > You should rather change your application to be aware of domain it runs in.
> > Done that, there would be only one webapp deployed - no matter how
> many domains you need to handle.
> >
> Perhaps you could give Brian a hint on how to do this.  Would using aliases
> within the host do the trick?
> 
> mas
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org


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

Reply via email to