File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes how to configure connection pooling in tomcat server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to configure connection pooling in tomcat server?" Watch "how to configure connection pooling in tomcat server?" New topic
Author

how to configure connection pooling in tomcat server?

Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
can anyone tell me how to configure connection pooling settings in tomcat server?


Abhishek
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41863
    
  63
Look for "DBCP" in the Tomcat DatasSource docs.


Ping & DNS - my free Android networking tools app
Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
thanks for the reply..
thanks for the reply, i have configured the connection pool settings in the conetext.xml file.
created a class and tested it is working perfectly..

I created a class with static method, which will return the connection object.
whenever i need the connection object, iam invoking the static method, once its usage is over iam closing the connection..

now tell me is it the right way of using the connection object in the web application.Will it create any problem later.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to configure connection pooling in tomcat server?