Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jdbc:oracle:thin: Question

 
Tempora Telora
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe you should have

jdbcracle:thin:@399.22.22.11:1521 (If 399 was in the valid IP range).
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!