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 74458 - incorrect list of data sources
Summary: incorrect list of data sources
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
Depends on: 74435
Blocks:
  Show dependency tree
 
Reported: 2006-04-05 18:37 UTC by Pavel Buzek
Modified: 2006-04-06 06:04 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 Pavel Buzek 2006-04-05 18:37:00 UTC
When I start the app server I can see the DSs, but there are 2 issues:

First, __CallFlow and __TimerPool should not be on the list. They are not
intended to be used by the end user.

Second, I created a data source jdbc/orders. There are the xml files in Server
Resources and when I run the app the DS gets registered -- all good. Now when I
go to the Entity From DB wizard again I see jdbc/orders in the combo box twice!
Comment 1 Nitya Doraisamy 2006-04-05 18:51:41 UTC
For the First Issue, regarding System DSs, there is already a issue filed : 74435
http://www.netbeans.org/issues/show_bug.cgi?id=74435
The Second Issue, it is because the list shows both the registered datasources and 
the one's in the project. In this case, since the project has been deployed
previously with resources, the deployed resources are showing up twice. 
The list should either filter to show only unique names or the resource names
should be extended to indicate the ones on the server. Will investigate.
Comment 2 Nitya Doraisamy 2006-04-06 06:04:40 UTC
Add hashset() to SunDatasource which enables correct merge of resources returned
from the server and resources within the project.