aspose file tools*
The moose likes JDBC and the fly likes Database connection through Netbeans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Database connection through Netbeans" Watch "Database connection through Netbeans" New topic
Author

Database connection through Netbeans

divya anand
Greenhorn

Joined: Oct 28, 2008
Posts: 25
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

Joined: Dec 20, 2006
Posts: 2500
    
    8

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.


OCUP UML fundamental and ITIL foundation
youtube channel
divya anand
Greenhorn

Joined: Oct 28, 2008
Posts: 25
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

Joined: Dec 20, 2006
Posts: 2500
    
    8

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Database connection through Netbeans