• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

Database connection through Netbeans

 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm trying to connect to an oracle database server through netbeans. I installed ojdbc14 driver. Through the "services" window, I tried to connect and I did the following but gives an error, "Ioexception: Network adapter failed to connect".

I selected the installed oracle driver from the services window and selected, "Connect using.." and opted for "direct url entry" and gave the url in the jdbc url field but it gives me the above exception.

Could anyone help me solve this issue.

Thanks,
Divyaa
 
Bartender
Posts: 2662
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you connect outside of NetBeans? IOException tells that your database driver (the jdbc library) is found, but that your computer cannot connect to the database.
 
divya anand
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, I could not connect. I tried to connect to the database server from an other computer, even then I get the same error. Is there anything else I should install other
than the oracle driver?

Please help!


Thanks,
Divyaa
 
Jan Cumps
Bartender
Posts: 2662
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Is there anything else I should install other
than the oracle driver?

No. First try to set up a connection with help of your DBA.
only f that works, go one step further and try with NetBeans.
 
Any sufficiently advanced technology will be used as a cat toy. And this tiny ad contains a very small cat:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic