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 access 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 "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: 63839

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] [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: 33102

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]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
I agree. Here's the link:
subject: access
It's not a secret anymore!