Re: Database Pooling Follow-up

2005-08-31 Thread Brian Cook
I have a method call I think probably does what you want public static Connection getPooledConection(String JNDIName) { Connection con = null; DataSource ds = null; try { Context initCtx = new InitialContext(); Context envCtx = (Context) initCtx.

Database Pooling Follow-up

2005-08-31 Thread Scott Purcell
Hello, I want to say thanks for the links yesterday in regards to my pooling problem. After reading the docs, I have a better handle on how this will work. I am ready to test, and I was able to get the following to work within a JSP page. But I would really like to create a Singleton class tha

Re: Database Pooling

2005-08-30 Thread Parsons Technical Services
drivers. Make sure you have only one copy of the drivers. Doug - Original Message - From: "Scott Purcell" <[EMAIL PROTECTED]> To: Sent: Tuesday, August 30, 2005 1:08 PM Subject: Database Pooling Hello, To start off with, I hand rolled a database pooling class to

RE: Database Pooling

2005-08-30 Thread Caldarale, Charles R
> From: Scott Purcell [mailto:[EMAIL PROTECTED] > Subject: Database Pooling > > If so, how simple is this to implement (I have read here: > <http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-resource > s-howto.html> but I an not familiar with JNDI. Try reading the

Database Pooling

2005-08-30 Thread Scott Purcell
Hello, To start off with, I hand rolled a database pooling class to handle database pooling for a ecommerce site I am writing. The application is web-based so of course I am using Tomcat 5.5 and all was going well. But in my implementation, I occasionally get errors when the connection has not

Re: Database Pooling

2004-11-17 Thread Andoni
- From: "Scott Purcell" <[EMAIL PROTECTED]> Newsgroups: gmane.comp.jakarta.tomcat.user Sent: Tuesday, November 16, 2004 9:35 PM Subject: Database Pooling I am developing a mid-sized application, which will use JSP Model 2 Architecture. Currently I have a class that does Database P

RE: Database Pooling

2004-11-17 Thread Allistair Crossley
ure I think. > -Original Message- > From: Scott Purcell [mailto:[EMAIL PROTECTED] > Sent: 16 November 2004 21:35 > To: [EMAIL PROTECTED] > Subject: Database Pooling > > > I am developing a mid-sized application, which will use JSP > Model 2 Architecture. Cu

Re: Database Pooling

2004-11-16 Thread QM
On Tue, Nov 16, 2004 at 03:35:25PM -0600, Scott Purcell wrote: : I am developing a mid-sized application, which will use JSP Model 2 : Architecture. Currently I have a class that does Database Pooling, but I am : curious about some threads I see time to time. : : I have noticed that some

Database Pooling

2004-11-16 Thread Scott Purcell
I am developing a mid-sized application, which will use JSP Model 2 Architecture. Currently I have a class that does Database Pooling, but I am curious about some threads I see time to time. I have noticed that some developers on this list refer to Tomcats Database Pooling. It looks like

Re: Tomcat 4.1 not starting, how do I track error (database pooling)

2004-11-04 Thread Paul Taylor
Thanks very much all working, the problem was I had removed docbase paramter not hinking it was needed because the code was hosted directly under webapps. BTW username is correct in TC4. My context is privileged just because I copied it from somehwere else without knowing what it meant, no good

RE: Tomcat 4.1 not starting, how do I track error (database pooling)

2004-11-04 Thread Shapira, Yoav
Hi, >1. How do I stop the window started my Catalina from disappearing so I >can see what the problem is. Use "catalina.bat run" instead of startup.bat (which calls "catalina.bat start"). >2. In Tomcat 4.0 can I have a config file for my application rather than >adding it to server.xml No. >3

Tomcat 4.1 not starting, how do I track error (database pooling)

2004-11-04 Thread Paul Taylor
Hi having written an application that ran fine on Tomcat 5 I am having to regress it to run on Tomcat 4.1 running on Windows. part of the deployment involves setting up database pooling. First of all I deployed my application war only and started Tomcat using catalina start this worked ok, but

Re: Help Database Pooling in Linux

2004-08-15 Thread tim
[EMAIL PROTECTED] writes: Hi I have tried a few more things including upgrading the database, but I'm still havig issues. I have attached a copy of the test file I have used to connect to the database and the context .xml file. As you can see the database connection information is identical.

Re: Help Database Pooling in Linux

2004-08-12 Thread Isen,Ciji
yup. what is the error message that you are getting? Please paste/attach them. The ones that you get on screen as well as any that are getting logged in the log files. Gig 'em QM wrote: On Fri, Aug 13, 2004 at 01:04:38AM +0100, [EMAIL PROTECTED] wrote: : I have checked that the database can be re

Re: Help Database Pooling in Linux

2004-08-12 Thread QM
On Fri, Aug 13, 2004 at 01:04:38AM +0100, [EMAIL PROTECTED] wrote: : I have checked that the database can be reached from the Linux server and : it can, and I can connect to the database if I use a direct JSP database : call. But the application will not establish a connection either to a local

Help Database Pooling in Linux

2004-08-12 Thread tim
Hi I am experiencing a bit of a tricky problem. I have an application developed under windows. The application talks to a MySQL database using connection pooling. The application works great hosted on Tomcat under Windows, but when it is placed on Linux the application cannot establish a conne

Tomcat, MS Beta 2 driver, and database pooling

2002-04-23 Thread Sean LeBlanc
Does anyone have this working? If so, can you please post your server.xml, your (context)web.xml and your working code? I just cannot get this to work. Any and all ideas are welcome. If it can't work, it'd be nice to know that, too. Thanks. My web.xml has this entry: test jdbc/nutros

Re: Database Pooling

2002-03-12 Thread Neo Gigs
But i do see anything related on their website... its kindna confusing up there - Original Message - From: "Chris Pheby" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 5:24 PM Subject: RE: Database Pooling &

RE: Database Pooling

2002-03-12 Thread Chris Pheby
09:25 To: Tomcat Users List Subject: Re: Database Pooling But does Cocoon have anything related to DB polling? - Original Message - From: "Chris Pheby" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 4:56 PM Subj

Re: Database Pooling

2002-03-12 Thread Neo Gigs
But does Cocoon have anything related to DB polling? - Original Message - From: "Chris Pheby" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, March 12, 2002 4:56 PM Subject: RE: Database Pooling > As to Excalibur, I

RE: Database Pooling

2002-03-12 Thread Chris Pheby
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Neo Gigs Sent: 12 March 2002 04:01 To: Tomcat Users List Subject: Re: Database Pooling Hi there, Would you mind to tell me how to deploy Excalibur into my Tomcat server running on Sun solaris? Also what is Cocoon and where to find it

Re: Database Pooling

2002-03-11 Thread Craig R. McClanahan
On Tue, 12 Mar 2002, Neo Gigs wrote: > Date: Tue, 12 Mar 2002 12:01:18 +0800 > From: Neo Gigs <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Database Pooling > > Hi ther

Re: Database Pooling

2002-03-11 Thread Neo Gigs
CTED]> Sent: Monday, March 11, 2002 9:00 PM Subject: RE: Database Pooling > Hi thanks for the prompt reply, very useful. I am evaluating Excalibur, > because I think Cocoon uses it, and I am interested in finding out more > about Cocoon as well. > > Regards, > > Chris. &g

RE: Database Pooling

2002-03-11 Thread Chris Pheby
: 11 March 2002 12:09 To: Tomcat Users List Subject: AW: Database Pooling Have a look at http://www2.gvsu.edu/~millerjr/ResearchPaper.html and http://jakarta.apache.org/avalon/excalibur/datasource.html > -Ursprüngliche Nachricht- > Von: Chris Pheby [mailto:[EMAIL PROTECTED]] >

AW: Database Pooling

2002-03-11 Thread Ralph Einfeldt
D] > Betreff: Database Pooling > > > Now Poolman is being declared obsolete > (http://www.codestudio.com/PoolMan), > I wondered if anyone can point me to any documentation on Connection > Pooling, hopefully within Tomcat, but perhaps otherwise in > another project > that they a

Database Pooling

2002-03-11 Thread Chris Pheby
Now Poolman is being declared obsolete (http://www.codestudio.com/PoolMan), I wondered if anyone can point me to any documentation on Connection Pooling, hopefully within Tomcat, but perhaps otherwise in another project that they are using? Thanks, Chris. -- To unsubscribe:

Re: Database Pooling

2002-02-06 Thread Patrick Lacson
Don't know if anybody answered this yet but try PoolMan at sourceforge.net -Patrick Jason Webber <[EMAIL PROTECTED]> wrote: Does anyone know of a database pooling bean or soemthing that will aloow me to share connections among many jsp pages. Preferably something that is fre

Database Pooling

2002-02-04 Thread Jason Webber
Does anyone know of a database pooling bean or soemthing that will aloow me to share connections among many jsp pages. Preferably something that is free. -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: &l

Re: Connection/Database pooling

2001-05-25 Thread Gary Lawrence Murphy
Not a dumb question at all: DB connection pooling is not intrinsic to Tomcat, but must be grafted on using a 3rd-party library (there are many). None of these will prevent you from using JSP; the connection pool looks exactly like a normal JDBC connection. You may want to browse through the docs

Connection/Database pooling

2001-05-25 Thread Mike Alba
database pooling? Should I be using servlets versus JSPs? Sorry if this is a dumb question.     Thanks for your help in advance!        

Re: Database Pooling

2001-03-15 Thread Brett Knights
> I am doing some servlet programming and I would like > to setup a Database pool. Can someone please email me > back any help [EMAIL PROTECTED] I have been using the bitmechanic pool for a couple of years. For an easy way to set this up I have a wrapper for it at http://www.knightsofthenet.co

Re: Database Pooling

2001-03-15 Thread hische
TECTED] cc:(bcc: Wilko Hische/HADV/NL) Subject: Database Pooling I am doing some servlet programming and I would like to setup a Database pool. Can someone please email me back any help [EMAIL PROTECTED] Thanks = If your into Body For Life, check out http://clubs.yahoo.com

Re: Database Pooling

2001-03-15 Thread greyson . smith
h/CCMG/CVG) Subject: Database Pooling 15-03-01 12:14

Database Pooling

2001-03-15 Thread Johnathan Smith
I am doing some servlet programming and I would like to setup a Database pool. Can someone please email me back any help [EMAIL PROTECTED] Thanks = If your into Body For Life, check out http://clubs.yahoo.com/clubs/bodyforlifestatenislandny __