Hi: Trying to roll your own DBCP is quite fun, but to get it working properly it does involve a lot of design, foresight, testing, and more testing.
I would recommend rather use the DBCP that comes standard with Tomcat: It works, is stable, and is quite mature. Look at the Tomcat docs, or do a google. hth, Paul On Mon, 2003-03-24 at 19:00, Jason Smartt wrote: > Hi, > I am trying to set up a database connection pool using JDBC and MS Access. > I initially just wrote a small servlet to do a login lookup to my database > which worked fine and then proceeded onto the connection pool program > (which I obtained from James Goodwill, Developing Java Servlets book). > My Servlets compile fine, but for some reason when I run my app in the > browser window, I get a java.lang.nullPointerException. > Am I missing something in my tomcat setup. Everything seemed to work fine > before trying the pooling. > Many thanks > JS > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- p niemandt <[EMAIL PROTECTED]> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
