Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

server.xml:has to do anything with database access pools

 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
reviewing tomcat 6 server.xml found this:



has to do anything with database access pools? to work such must uncomment this? what else uncomment?
 
Jan Cumps
Bartender
Posts: 2596
12
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have moved this post to our "Tomcat" forum for you.
 
Jan Cumps
Bartender
Posts: 2596
12
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This setting is not related to database connection pools.

http://tomcat.apache.org/tomcat-6.0-doc/config/executor.html
 
Leonidas Savvides
Ranch Hand
Posts: 403
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok, briefly can you say (default tomcat6 installation) the server.xml has to do anything with database connection pools, any tag with param? default tomcat6 installation is ready bu default for this...?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18272
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat is built up out of components. The server.xml file describes how those components will be built up, configured, and connected together. The Thread Pool is just one of those components. People can - and frequently do - add components that provide database connection pool facilities in server.xml, although it's also common to define connection pools on a per-application Context level.
 
vijin das
Ranch Hand
Posts: 129
Firefox Browser Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check the link ...
dbcp with server.xml
and try to find solution from tomcat docs tomcat docs
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic