aspose file tools
The moose likes JDBC and the fly likes access Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "access" Watch "access" New topic
Author

access

Clod Patry
Greenhorn

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
Marshal

Joined: Jan 10, 2002
Posts: 56162
    
  13

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Clod Patry
Greenhorn

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

Joined: May 26, 2003
Posts: 26154
    
  66

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.


[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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: access
 
Similar Threads
Error in insert into
Java sqlexception definition
java sqlexception
Syntax error in INSERT statement
creating virtual tables