• Post Reply Bookmark Topic Watch Topic
  • New Topic

access

 
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: 65680
129
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
Sheriff
Posts: 36032
432
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.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!