Hi,

Platform : Windows NT 4
Database: mySql
Web Server: Apache
JSP Engine: Tomcat

So far i was trying to connect to the database thru mm.mysql-jdbc driver
and was successful.I was even able to insert the values into the
database and retrieve them.
 I am new to JSP, but not new to Java. I am referring to the
Professional JSP book. And according to the book, for connection pooling
they had recommended to download PoolMan1.4 and add the PoolMan.jar file
to the CLASSPATH (which I have done)and also add the poolman.props path
to the CLASSPATH.

Now the problem is that every time i run the PoolMAn.jsp file to test
the database connectivity, it gives me java.NullPointerException and
FAILED TO CONNECT TO THE DATABASE.

The modifications that have to be done in the poolman.props file are:

db_name.1=akdant
db_driver.1=org.gjt.mm.mysql.Driver
db_url.1=jdbc:mysql://development2:3306/akdant
db_username.1=root
enableCache.1=true
cacheSize.1=5
cacheRefresh.1=10000
connection_timeout.1=15000
checkfrequency.1=30000
usertimeout.1=10000
maximumsize.1=20


Is there any configuration to be done...or is there any other better
wasy for connection pooling. Please help me out.

Thanx in advance
CB

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to