Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a testing question

 
seema kamath
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic