This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30586
    
154

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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Do i need to close a connection that was