wood burning stoves 2.0*
The moose likes JDBC and the fly likes a testing question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "a testing question" Watch "a testing question" New topic
Author

a testing question

seema kamath
Greenhorn

Joined: Nov 27, 2000
Posts: 14
Can anybody tell me what are the situations in which i get the following exception
"Cant make two active database requests"
Please let me know. it is quite urgent.
thanks in advance
seema kamath
Arunagiri, Shanmugham
Ranch Hand

Joined: Jan 23, 2001
Posts: 46
Hi,
U must have opened the Database connection in the init method if the servlet. Which will not share the database when 1 connection is already opened. U can use connection pooling concept to rectify it.
Arun
Sun Certified Programmer for Java2 Platform


Sun Certified Programmer for Java2 Platform
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: a testing question
 
Similar Threads
A Challenge!
Google India CodeJam
acronym atrocity
13 Nov Riddle
How many Brits and Europeans on this board?