aspose file tools
The moose likes JDBC and Relational Databases and the fly likes jdbc:oracle:thin: Question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "jdbc:oracle:thin: Question" Watch "jdbc:oracle:thin: Question" New topic

jdbc:oracle:thin: Question

Tempora Telora
Ranch Hand

Joined: Jun 20, 2005
Posts: 83
I have seen many references to jdbcracle:thin:@localhost:1521. The db resides on another computer and I am trying to use apache/tomcat to run a jsp website. I am having connection problems though. I have instead of jdbcracle:thin:@localhost:1521 i have jdbcracle:thin:399.22.22.11:1521. Would this still work (if the ip given was real)?

Thank you,
Tim LeMaster
Ranch Hand

Joined: Aug 31, 2006
Posts: 226
I believe you should have

jdbcracle:thin:@399.22.22.11:1521 (If 399 was in the valid IP range).
It is sorta covered in the JavaRanch Style Guide.
subject: jdbc:oracle:thin: Question