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 65809 - there's not possible to create DB connection
Summary: there's not possible to create DB connection
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-04 09:11 UTC by pknakal
Modified: 2005-10-11 08:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
DB connection error (15.01 KB, image/png)
2005-10-04 09:12 UTC, pknakal
Details
log with error (3.21 KB, application/x-gzip)
2005-10-04 11:18 UTC, pknakal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pknakal 2005-10-04 09:11:17 UTC
When creating JDBC connection to Oracle DB, on DB server side using Oracle
connection mamager, an error message apears.

The connection string is something like this:
jdbc:oracle:thin:@(description=(address_list=(address=(protocol=tcp)(port=1610)(host=00.00.00.00))(address=(protocol=tcp)(port=1521)(host=00.00.00.00)))(connect_data=(SID=QQQ))(source_route=yes))

The functionality is correct in the NB4.1
Comment 1 pknakal 2005-10-04 09:12:02 UTC
Created attachment 25487 [details]
DB connection error
Comment 2 Andrei Badea 2005-10-04 10:38:05 UTC
I'm not able to reproduce. I think I understand what's happening, but not why.
Are you able to reproduce the issue from a clean userdir? If, yes, please post
steps. If not, please attach your userdir. Also when the error message appears,
there may be some messages written to the message log. If yes, post them here as
well. Thanks. 
Comment 3 pknakal 2005-10-04 11:17:21 UTC
This is 100% reproducable. The Oracle DB server is Oracle8 (not oracle 8i) and
is installed on Windows, so on this server is necessary to install connection
manager to mascarade the connection ports.

I'll attached the log with exception.
Comment 4 pknakal 2005-10-04 11:18:33 UTC
Created attachment 25495 [details]
log with error
Comment 5 Andrei Badea 2005-10-04 13:32:28 UTC
Thank you for the details. Fixed.

Checking in DatabaseConnectionConvertor.java;
/cvs/db/src/org/netbeans/modules/db/explorer/DatabaseConnectionConvertor.java,v
 <--  DatabaseConnectionConvertor.java
new revision: 1.4; previous revision: 1.3
done
Comment 6 Andrei Badea 2005-10-04 14:13:10 UTC
Fixing a small bug in the previous fix.

Checking in DatabaseConnectionConvertor.java;
/cvs/db/src/org/netbeans/modules/db/explorer/DatabaseConnectionConvertor.java,v
 <--  DatabaseConnectionConvertor.java
new revision: 1.5; previous revision: 1.4
done
Comment 7 pknakal 2005-10-11 08:59:11 UTC
OK.