Results 1 to 1 of 1
- 08-07-2007, 07:01 AM #1
Member
- Join Date
- Jul 2007
- Posts
- 5
- Rep Power
- 0
problems with connecting to Oracle DB in NetBeans
Hi, guys,
I have a problem when trying to connect to Oracle DB in NetBeans. I've downloaded the Oracle Jar files like ocrs12.jar, ojdbc14.jar, ojdbc14dms.jar, orai18n.jar, and also I have built a new driver where I've added those four Jar files.
The problem is when I try to use this Oracle driver with the URL 'jdbc: oracle:thin:@//localhost:1527/sample', I always get a error message saying 'unable to get a connection,cannot establish a connection to jdbc: oracle:thin:@//localhost:1527/sample using oracle.jdbc.driver.OracleDriver(Io exception:The Network Adapter cannot establish the connection)'!!
Can anyone tell me what the problem is? Did I miss some Jar files or was the URL pattern incorrect? Please help, it's urgent!!!!!!!!! Many many thanks
Similar Threads
-
problems with connecting to Oracle DB in NetBeans
By m16k2002 in forum Web FrameworksReplies: 6Last Post: 03-25-2009, 10:14 AM -
Problems with NetBeans
By gabriel in forum NetBeansReplies: 2Last Post: 11-07-2007, 09:49 PM -
Problems updating blob columns on Oracle 9
By ljustiniano in forum JDBCReplies: 0Last Post: 08-14-2007, 06:17 PM -
Error While connecting to Oracle thru JAVA
By javaneed in forum Advanced JavaReplies: 1Last Post: 08-11-2007, 10:05 PM -
Problems to install NetBeans
By fred in forum NetBeansReplies: 1Last Post: 08-02-2007, 05:58 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks