File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases 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 and Relational Databases
Bookmark "a testing question" Watch "a testing question" New topic

a testing question

seema kamath

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
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.
Sun Certified Programmer for Java2 Platform

Sun Certified Programmer for Java2 Platform
I agree. Here's the link:
subject: a testing question
It's not a secret anymore!