Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

access  RSS feed

 
Clod Patry
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
when im going to my jsp: index.jsp?action=sessions
im getting error such as:

what is that error exactly ?
and how can i fix it ?
thanks in advance
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65979
140
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It probably means that you have too many connections to the DB open. Are you sure that you are closing them?
In any case, this would be better off in the JDBC forum. Moving it there.
bear
 
Clod Patry
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what should i put at the end? just to be sure ?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 36875
481
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Clod,
Every time you are done with a query, you should call conn.close() for the connection object. Similarly, it is good to close the result set and statement objects.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!