This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 97833 - Error when try to connect to oracle database
Summary: Error when try to connect to oracle database
Status: RESOLVED DUPLICATE of bug 84654
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-14 14:12 UTC by omarhadi
Modified: 2007-03-19 17:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description omarhadi 2007-03-14 14:12:44 UTC
Hi

I try to connect netbeans in runtime database to oracle 8i (8.1.7) using oracle
8.1.7 driver for JDBC it connect, the connection is working very good but when I
try see the tables the IDE give me this error

*********** Exception occurred ************ at 11:04 PM on Mar 12, 2007
java.lang.AbstractMethodError:
oracle.jdbc.driver.OracleDatabaseMetaData.getDatabaseMajorVersion()I
	at
org.netbeans.lib.ddl.adaptors.DefaultAdaptor.getDatabaseMajorVersion(DefaultAdaptor.java:3967)
	at
org.netbeans.modules.db.explorer.infos.TableListNodeInfo.initChildren(TableListNodeInfo.java:49)
	at
org.netbeans.modules.db.explorer.infos.DatabaseNodeInfo.refreshChildren(DatabaseNodeInfo.java:345)
	at
org.netbeans.modules.db.explorer.infos.ConnectionNodeInfo.refreshChildren(ConnectionNodeInfo.java:228)
	at
org.netbeans.modules.db.explorer.actions.RefreshChildrenAction$1.run(RefreshChildrenAction.java:57)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)

I can run and sql in the connection but I can not see the tables
also I can not connect my web application with the database 
I try to use it from other IDE it's worked but not work in Netbean 5.5

best regard
Omar Hadi
ujh4all@yahoo.com
Comment 1 Andrei Badea 2007-03-15 13:25:06 UTC
Please use a 10.x version of the Oracle JDBC driver.


*** This issue has been marked as a duplicate of 84654 ***
Comment 2 omarhadi 2007-03-16 09:37:00 UTC
But Iam using Oracle 8i (ver 8.1.7) can oracle driver ver 10 work with oracle 
8i
Comment 3 Andrei Badea 2007-03-16 10:57:59 UTC
Yes, it works with 8.1.7. See 

http://download-west.oracle.com/docs/cd/B19306_01/java.102/b14355/getsta.htm#i1008205

Note that you can still use the 8.1.7 driver in your application. You need the
10.x driver just in order to browser the database in NetBeans.
Comment 4 omarhadi 2007-03-19 14:53:21 UTC
Thank you very mush it's work perfect

I have one more question
I download tomcat server and install it and I want to add administrator to
tomcat I did all the steps but the problem the admin package from tomcat all the
folders inside are empty just few picture

can you tell me how can I work with it

best regard 
Comment 5 Andrei Badea 2007-03-19 17:00:21 UTC
Sorry, I can't reply to your last question since it's not related to the issue.
Please ask on the nbusers@netbeans.org mailing list or a forum dedicated to Tomcat.