wood burning stoves 2.0*
The moose likes JDBC 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
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: 60741

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
internet detective

Joined: May 26, 2003
Posts: 30057

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.

[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: http://aspose.com/file-tools
subject: access
Similar Threads
java sqlexception
Java sqlexception definition
creating virtual tables
Error in insert into
Syntax error in INSERT statement