From: "nathan phillips" <[EMAIL PROTECTED]>
> I don't believe you can do that in Tomcat but I may be wrong. The easiest
> and cleanest approach would be too have your Singleton located in each
> respective war file that you plan on using it in. Then eliminate it from
> the classpath.
>
> i.e
Haris Papadopoulos [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 18, 2002 12:36 PM
> To: Tomcat Users List
> Subject: Re: Virtual Hosts problem with Singleton Class
>
>
> This makes sense. My Singleton class, since it's common for
> all virtual
> hosts, sits in the defaul
ctory
From: "Haris Papadopoulos" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: Re: Virtual Hosts problem with Singleton Class
Date: Mon, 18 Feb 2002 19:36:05 +0200
MIME-Versi
[EMAIL PROTECTED]
www.filip.net
>-Original Message-
>From: Haris Papadopoulos [mailto:[EMAIL PROTECTED]]
>Sent: Monday, February 18, 2002 9:36 AM
>To: Tomcat Users List
>Subject: Re: Virtual Hosts problem with Singleton Class
>
>
>This makes sense. My Singleton class, sin
t;[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 18, 2002 5:20 PM
Subject: Re: Virtual Hosts problem with Singleton Class
>
> The singletons should work fine I believe. Each web application will get
> its own classloader which will load only one instance of eac
t;
Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Subject: Re: Virtual Hosts problem with Singleton Class
Date: Mon, 18 Feb 2002 19:03:12 +0200
MIME-Version: 1.0
Received: from [192.18.49.131] by hotmail.com (3.2) with ES
t Users List" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, February 19, 2002 3:45 AM
Subject: RE: Virtual Hosts problem with Singleton Class
> something your missing
>
> A Singleton by it's name creates only a single instance of an object
(hence
> it marsha
something your missing
A Singleton by it's name creates only a single instance of an object (hence
it marshalls object creation i.e. one instance) which is totally acceptable
for a DB connection pool.
Regards
Mark
-Original Message-
From: Haris Papadopoulos [mailto:[EMAIL PROTECTED]]
S