You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by dwightHugget <ja...@concentric.net> on 2003/03/24 15:03:53 UTC

Re: Database setup in tomcat

On Monday 24 March 2003 14:00, Jason Smartt professed:
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org

Safe yourself the agony.
Dump MS Access and go with MySQL at least. Get a real DBMS.
Configure Tomcat to do connection pooling with MySQL and you're off to a good 
start.

-- 
Dwight Hugget
http://www.dmhEnterprise.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org