Re: Problem closing datasource when used as JNDI resource

2009-08-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohammed, On 8/26/2009 12:01 AM, Mohammed Bin Mahmood wrote: Yes, that is a listener for the context, where as I am using a listener for a server. Why are you using a listener for the server... it seems much more appropriate to use a context

Re: Problem closing datasource when used as JNDI resource

2009-08-25 Thread Mark Shifman
that. Is it provided by tomcat or some other Thanks, Mohammed. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, August 24, 2009 7:48 PM To: Tomcat Users List Subject: Re: Problem closing datasource when used as JNDI resource Mohammed, On 8

RE: Problem closing datasource when used as JNDI resource

2009-08-25 Thread Mohammed Bin Mahmood
- From: Mark Shifman [mailto:mark.shif...@yale.edu] Sent: Tuesday, August 25, 2009 5:47 PM To: Tomcat Users List Subject: Re: Problem closing datasource when used as JNDI resource Since you don't seem to be able to google yourself, here is the link. http://www.mail-archive.com/users

RE: Problem closing datasource when used as JNDI resource

2009-08-25 Thread Mohammed Bin Mahmood
Sorry Chris I meant to address Mark in my previous mail. Thanks, Mohammed. -Original Message- From: Mohammed Bin Mahmood [mailto:moham...@sustainlane.com] Sent: Wednesday, August 26, 2009 9:32 AM To: 'Tomcat Users List' Subject: RE: Problem closing datasource when used as JNDI resource

Re: Problem closing datasource when used as JNDI resource

2009-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohammed, On 8/24/2009 12:49 AM, Mohammed Bin Mahmood wrote: Hi Chris, 3. There is a published filter that can close the DataSource for you. Do you have any idea about the filter that can close the Datasource? What? - -chris -BEGIN PGP

RE: Problem closing datasource when used as JNDI resource

2009-08-24 Thread Mohammed Bin Mahmood
, 2009 7:48 PM To: Tomcat Users List Subject: Re: Problem closing datasource when used as JNDI resource -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohammed, On 8/24/2009 12:49 AM, Mohammed Bin Mahmood wrote: Hi Chris, 3. There is a published filter that can close the DataSource for you. Do

RE: Problem closing datasource when used as JNDI resource

2009-08-23 Thread Mohammed Bin Mahmood
PM To: Tomcat Users List Subject: Re: Problem closing datasource when used as JNDI resource -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohammed, On 8/20/2009 9:44 AM, Mohammed Bin Mahmood wrote: But I still do not get my answer yet. Yes, you do: 1. This is a problem with Tomcat. Patches

Re: Problem closing datasource when used as JNDI resource

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohammed, On 8/20/2009 9:44 AM, Mohammed Bin Mahmood wrote: But I still do not get my answer yet. Yes, you do: 1. This is a problem with Tomcat. Patches are welcome. 2. No, there is no Tomcat configuration to fix this. You will have to work

Re: Problem closing datasource when used as JNDI resource

2009-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hop, On 8/20/2009 11:17 AM, Pham, Hop wrote: I'm new to this users list. I think that JNDI resource management (i.e., datasource) is JEE app server domain, and remains available while Tomcat up by design so that it can be shared across multiple

RE: Problem closing datasource when used as JNDI resource

2009-08-20 Thread Mohammed Bin Mahmood
. -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Wednesday, August 19, 2009 7:05 PM To: Tomcat Users List Subject: Re: Problem closing datasource when used as JNDI resource -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohammed, On 8/19/2009 8:25 AM

RE: Problem closing datasource when used as JNDI resource

2009-08-20 Thread Pham, Hop
, -hop From: Mohammed Bin Mahmood [moham...@sustainlane.com] Sent: Thursday, August 20, 2009 9:44 AM To: 'Tomcat Users List' Subject: RE: Problem closing datasource when used as JNDI resource Thanks Chris, But I still do not get my answer yet. Does anybody

RE: Problem closing datasource when used as JNDI resource

2009-08-19 Thread Mohammed Bin Mahmood
: Wednesday, August 19, 2009 5:45 PM To: users@tomcat.apache.org Subject: Problem closing datasource when used as JNDI resource Hello All, I am using datasource as a JNDI resource described in http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html The problem I see is that datasource

Re: Problem closing datasource when used as JNDI resource

2009-08-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohammed, On 8/19/2009 8:25 AM, Mohammed Bin Mahmood wrote: When tomcat takes care of creating maintaining datasource, then does it not closes it when server is shut down? According to Filip's comments on the first thread you mentioned, yes: the