Re: How to use datasource and db connection pooling in struts?

2002-10-15 Thread Eddie Bush
I use Tomcat 100% of the time, so, no, I don't have code to initialize the data-source. Sorry :-( A ContextListener would also be another approach I forgot to mention. That's a servlet spec 2.3 thing - and would be even further independent of the particular app. Once written, you could drop

Re: How to use datasource and db connection pooling in struts?

2002-10-15 Thread Eddie Bush
[EMAIL PROTECTED] wrote: >If I'm getting this right, I could for instance configure tomcat >(server.xml) to use this, and it will then be available in my webapp? > Yes. See the HOWTOs on the site. >Is there a way to configure in the web app itself? (web.xml or >something?) > see the site docs I

[OT] Re: How to use datasource and db connection pooling in struts?

2002-10-15 Thread David Graham
Yep, this is container dependant. Moving to OT thread... Dave >From: Eddie Bush <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: Struts Users Mailing List <[EMAIL PROTECTED]> >Subject: Re: How to use datasource and db

RE: How to use datasource and db connection pooling in struts?

2002-10-15 Thread Stefan.Landro
e the pool in the context. But with JNDI this should be easier. Stef. -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 15. Oktober 2002 17:29 To: Struts Users Mailing List Subject: Re: How to use datasource and db connection pooling in struts? For that one you

Re: How to use datasource and db connection pooling in struts?

2002-10-15 Thread Eddie Bush
For that one you need to play RTFM with your server docs. It should be possible, but the way you do it would be container-dependant. Tomcat will place a reference into JNDI for you - I assume (dangerous as it is) other will too. If you are using a different server than Tomcat, and it doesn'

Re: How to use datasource and db connection pooling in struts?

2002-10-15 Thread Stefan.Landro
Dave >From: <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: How to use datasource and db connection pooling in struts? >Date: Tue, 15 Oct 2002 16:40:27 +0200 > >Hi, there! > >H

RE: How to use datasource and db connection pooling in struts?

2002-10-15 Thread David Graham
You can specify this in your struts-config.xml file for each webapp. Dave >From: <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: RE: How to use datasource and db connection pooling in

RE: How to use datasource and db connection pooling in struts?

2002-10-15 Thread Stefan.Landro
EMAIL PROTECTED]] Sent: Dienstag, 15. Oktober 2002 16:42 To: 'Struts Users Mailing List' Subject: RE: How to use datasource and db connection pooling in struts? you can use commons-dbcp ... see http://jakarta.apache.org/commons/dbcp.html --- - Nayan Hajratwala - Chikli Consulting LLC - http:/

Re: How to use datasource and db connection pooling in struts?

2002-10-15 Thread David Graham
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Subject: How to use datasource and db connection pooling in struts? >Date: Tue, 15 Oct 2002 16:40:27 +0200 > >Hi, there! > >How can I easily achieve database connection pooli

RE: How to use datasource and db connection pooling in struts?

2002-10-15 Thread Adolfo Miguelez
jratwala, Nayan (N.)" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> >Subject: RE: How to use datasource and db connection pooling in struts? >

RE: How to use datasource and db connection pooling in struts?

2002-10-15 Thread Hajratwala, Nayan (N.)
] Subject: How to use datasource and db connection pooling in struts? Hi, there! How can I easily achieve database connection pooling (using a datasource in one of the xml config files - btw. which one is it?)? I know there is some stuff in jakarta-commons. What I want to achieve is an easy to

How to use datasource and db connection pooling in struts?

2002-10-15 Thread Stefan.Landro
Hi, there! How can I easily achieve database connection pooling (using a datasource in one of the xml config files - btw. which one is it?)? I know there is some stuff in jakarta-commons. What I want to achieve is an easy to configure and highly efficient db connection pool that is available to