This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JDBC and the fly likes Unable to get a physical connection from the database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Unable to get a physical connection from the database" Watch "Unable to get a physical connection from the database" New topic
Author

Unable to get a physical connection from the database

Omar Mohaidat
Ranch Hand

Joined: Jan 16, 2008
Posts: 34
Dears,

I have developed web application using servlet and JSP, and have deployed on OC4J application server, i have used it and it is working fine... but after a period i got this error:

Unable to get a physical connection from the database...there are no connections available

how can i fix this problem.

Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Are all connections to the DB properly closed after they're being used?
Miku Ranjan
Ranch Hand

Joined: Oct 11, 2011
Posts: 98
Hi,
Can you show the database code from where you are getting the exception.
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

Miku Ranjan wrote:Hi,
Can you show the database code from where you are getting the exception.


With the error code we will be able to help you more. Always post them! [=


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to get a physical connection from the database
 
Similar Threads
Data source connection usage during nested method calls
Connection Pooling
static connections and connection pooling - what happens when physical connection is lost?
JMS Physical Destinations Problem in Sun Java One Application Server
JMS Physical Destinations Problem in Sun Java One Application Server