RE: Are multiple contexts of the same code code base visible to each other?

2008-10-25 Thread Peter Crowther
[My mailer appears to be missing part of the thread, ignore this if the question's already been answered] > From: Jonathan Mast [mailto:[EMAIL PROTECTED] > getInstance(path) checks a static hashmap for path Static held where? In MultiLogger, and Multilogger is a class (or in a jar) that is dep

RE: Are multiple contexts of the same code code base visible to each other?

2008-10-24 Thread Caldarale, Charles R
> From: Jonathan Mast [mailto:[EMAIL PROTECTED] > Subject: Re: Are multiple contexts of the same code code base > visible to each other? > > The problem that I'm worried about is how a certain > class in my webapp is going to behave when 2 instances > are of it are run

Re: Are multiple contexts of the same code code base visible to each other?

2008-10-24 Thread Jonathan Mast
OK, thats what I thought. The problem that I'm worried about is how a certain class in my webapp is going to behave when 2 instances are of it are running. I have a class called MultiLogger I use like this: MultiLogger logger = MultiLogger.getInstance("com.mysite.stuff.foo.log"); getInstance(pat

Re: Are multiple contexts of the same code code base visible to each other?

2008-10-24 Thread Serge Fonville
Unless specifically coded to do so, no thread can talk to another by default since there is no way of talking to another instance with an unknown name or identifier On Fri, Oct 24, 2008 at 7:09 PM, Jonathan Mast <[EMAIL PROTECTED]>wrote: > Suppose I have 1 webapp named "code-stuff" that sits in m