It's not a secret anymore!
The moose likes JDBC and Relational Databases and the fly likes access Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "access" Watch "access" New topic


Clod Patry

Joined: Nov 21, 2003
Posts: 9
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

Joined: Jan 10, 2002
Posts: 63062

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.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Clod Patry

Joined: Nov 21, 2003
Posts: 9
what should i put at the end? just to be sure ?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32328

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.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
I agree. Here's the link:
subject: access
It's not a secret anymore!