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 130195 - Cannot use existing JNDI registered Data Source to create "New Entity Classes from DB"
Summary: Cannot use existing JNDI registered Data Source to create "New Entity Classes...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
: 125416 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-03-14 20:26 UTC by jpleed3
Modified: 2008-03-20 02:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
domain.xml from user (28.48 KB, text/xml)
2008-03-18 18:50 UTC, Nitya Doraisamy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jpleed3 2008-03-14 20:26:06 UTC
Server Environment: SJSAS 9.1 and MS SQL Server 2005 on Windows Server 2003 R2, MS SQL Server 2005 JDBC Driver 1.2
Dev Environment: NB 6.0 and 6.1 Beta on WinXP

Problem: In Netbeans 6.0 and 6.1 Beta, I cannot use an existing JNDI registered connection pool to create "New Entity 
Classes from Database". The datasources show up in the dialog, but if I select one, NB gives the error "Unable to find 
the driver .[sic] Register this driver in the Databases tab."

I have the JDBC driver listed under Services/Databases/drivers and am able to use it to create a JDBC connection uder 
the databases tab. I can also view the schema with said connection.
Comment 1 Nitya Doraisamy 2008-03-14 23:00:44 UTC
Could you attach the domain.xml of the server where these resources are registered to help debug this? 
Th issue is most probably because the plugin is not able to map the datasource/connection pool on the server to the
format expectd by the IDE. 
Comment 2 Nitya Doraisamy 2008-03-18 18:50:00 UTC
Created attachment 58609 [details]
domain.xml from user
Comment 3 Nitya Doraisamy 2008-03-20 02:38:32 UTC
Fixed.
http://hg.netbeans.org/main/rev/08a0fc1848a8
Comment 4 Nitya Doraisamy 2008-03-20 02:40:13 UTC
*** Issue 125416 has been marked as a duplicate of this issue. ***