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 57020 - databaseName property doesn't work for Oracle database
Summary: databaseName property doesn't work for Oracle database
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Rajeshwar Patil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-25 16:46 UTC by Petr Blaha
Modified: 2006-03-24 13:17 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 Petr Blaha 2005-03-25 16:46:06 UTC
[Build 20050324]
Steps:
1) generated CMP beans from Oracle database
2) connection pool resource is generated with additional properties: password,
use r and databaseName 
The last properties has url for database. The connection exists with error:
java.sql.SQLException: Error in allocating a connection. Cause: Connection could
not be allocated because: Invalid Oracle URL specified: OracleDataSource.makeURL
We should use url, e.g. jdbc:oracle:thin:@host:1521:xxx,  instead of databaseName.
Comment 1 Rajeshwar Patil 2005-03-28 18:53:08 UTC
We are always setting database name attribute. In case of Oracle we need to set
database URL attribute instead of database name.
Comment 2 Rajeshwar Patil 2005-03-30 16:52:01 UTC
File Modified:
   libsrc/org/netbeans/modules/j2ee/sun/ide/j2ee/ConfigurationSupportImpl.java
   new revision: 1.14; previous revision: 1.13



Comment 3 Petr Blaha 2005-04-06 11:34:01 UTC
[Q-build 20050406]