wood burning stoves 2.0*
The moose likes JDBC and the fly likes Connection Establishment problem with Oracle 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 "Connection Establishment problem with Oracle" Watch "Connection Establishment problem with Oracle" New topic
Author

Connection Establishment problem with Oracle

ramu av
Greenhorn

Joined: Feb 25, 2003
Posts: 28
hello all,

i am using a dsn to connect to the oracle server from the servlet. the following is the code that i'm using. this code works fine for about 15 connections to the server and on the increase of the number of users the connection further connections are not established.

please help
Kishore Nair
Greenhorn

Joined: Nov 30, 2004
Posts: 10
Try closing the connection after your statement has been executed. Also, print out e.getMessage() or e.printStackTrace() upon exception. It could be that you have a single user license to Oracle. Oracle is very picky about their licensing.


Never resign to your fate
 
 
subject: Connection Establishment problem with Oracle
 
Similar Threads
Query about datasource
Invalid cursor state
java.sql.SQLException: No available resource. Wait-time expired.
Display struts output to jsp
Display struts output to jsp