wood burning stoves 2.0*
The moose likes JDBC 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/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "jdbc:oracle:thin: Question" Watch "jdbc:oracle:thin: Question" New topic
Author

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,
Randy
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