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

Could not establish connection to Oracle 9i

 
Mingwei Jiang
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

I met a database connection problem. I'm doing a project offshore, and it's fine while I try to connect to the Oracle 9i database here. But when deliver the code to the on site to have a test. It gives me a


And I've asked the on site to use other tools to test the connectivity first. It works fine, but using the java JDBC, it gives me such exception. I ensure the parameters are configured properly except I use IP address of the server at offshore, but they configured the server name on site.
 
Debopam Poddar
Ranch Hand
Posts: 51
Eclipse IDE Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just chk whether ports are open from offshore or not!!!
 
Chengwei Lee
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check for firewall issues. The database server should be behind a firewall, normally.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic