This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes Could not establish connection to Oracle 9i 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 » Java » Java in General
Bookmark "Could not establish connection to Oracle 9i" Watch "Could not establish connection to Oracle 9i" New topic
Author

Could not establish connection to Oracle 9i

Mingwei Jiang
Ranch Hand

Joined: Feb 19, 2004
Posts: 63
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

Joined: Jun 21, 2005
Posts: 49

Just chk whether ports are open from offshore or not!!!
Chengwei Lee
Ranch Hand

Joined: Apr 02, 2004
Posts: 884
Check for firewall issues. The database server should be behind a firewall, normally.


SCJP 1.4 * SCWCD 1.4 * SCBCD 1.3 * SCJA 1.0 * TOGAF 8
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Could not establish connection to Oracle 9i
 
Similar Threads
how get the database connection in eclipse IDE
Connection Error:
Problem connecting to database
datasource connection in admin console unsuccessful
Type 4