| Author |
connection pooling
|
gaser hasan
Greenhorn
Joined: Aug 03, 2010
Posts: 9
|
|
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
Joined: Dec 20, 2006
Posts: 2350
|
|
Please UseCodeTags.
When your post is properly formatted, people will find it easier to read and help you.
|
OCUP UML fundamental
ITIL foundation
|
 |
gaser hasan
Greenhorn
Joined: Aug 03, 2010
Posts: 9
|
|
|
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
internet detective
Marshal
Joined: May 26, 2003
Posts: 26496
|
|
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.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26496
|
|
|
And Welcome to JavaRanch!
|
 |
 |
|
|
subject: connection pooling
|
|
|