*
The moose likes EJB and other Java EE Technologies and the fly likes Do i need to close a connection that was Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Do i need to close a connection that was" Watch "Do i need to close a connection that was" New topic
Author

Do i need to close a connection that was

avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
obtained from a data source?

I work with JBoss and i get an exception that there is no avilable connection.

How can i monitor the connections?

Thank you
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30085
    
149

Yes. You need to close the connection to return it to the pool.

Does JBoss come with any monitoring tools for the application server? This part would probably be a good question to ask in the JBoss forum.


[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: Do i need to close a connection that was
 
Similar Threads
HTTP Connection less or Connection based?
Jboss connection pool not releasing the connection from pool
Head First OOAD
H2 database consule lockings
Is HTTP connectionless or connection oriented