GeeCON Prague 2014*
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


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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a testing question