Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection Establishment problem with Oracle

 
ramu av
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic