• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Database connection through Netbeans

 
divya anand
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • 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
 
Jan Cumps
Bartender
Posts: 2586
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • 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
  • 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: 2586
11
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic