• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

connection pooling

 
gaser hasan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please i am new to jsp, when i tried to implement this example of connection pooling it gives me (too many connections) error, and the connection doesn't work
those are the two classes of the example please could any one tell me where is the problem and how to implement the in a right way ?
thanks in advance
////////////////////////////class ConnectionPoo.javal /////////////////////////////////////

///////////////////////////class main.java//////////////////////////////////
 
Jan Cumps
Bartender
Posts: 2602
13
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please UseCodeTags.
When your post is properly formatted, people will find it easier to read and help you.
 
gaser hasan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you Dear Jan Cumps i am sorry i am new to the forum but i promise that i will stick to the instructions
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34965
377
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you writing your own connection pool? It would bet better to use an open source one that already works such as dbcp or c3p0.

Also, you may want to not use red for your question. It's a bit of an eyestrain on the tan background.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34965
377
Eclipse IDE Java VI Editor
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic