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 189213

Summary: Data source not displayed under Resources explorer
Product: serverplugins Reporter: Petr Jiricka <pjiricka>
Component: WebLogicAssignee: Denis Anisimov <ads>
Status: RESOLVED FIXED    
Severity: normal CC: phejl
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:
Attachments: Screenshot of the WLS admin console
Screenshot of the Resources node in the IDE
Screenshot of Summary of Datasources - Configuration tab
Screenshot of Summary of Datasources - Monitoring tab

Description Petr Jiricka 2010-08-04 15:26:55 UTC
Created attachment 101200 [details]
Screenshot of the WLS admin console

1. Register WebLogic 11g PS3 (10.3.4) dev build in the IDE
2. Create a new Java EE 5 Web Application with WLS target
3. Create a persistence unit, while creating it, create a new datasource (I used Derby database as the target)
4. Deploy the application
5. Expand the Resource/JDBC node under WebLogic node in Services

You see that there are no entries under JDBC Resources nor Connection Pools. And this is not even after doing a Refresh, and not even after server restart. At the same time, the datasource is correctly deployed (see the attached screenshot of the admin console).
Comment 1 Denis Anisimov 2010-08-04 17:23:07 UTC
Hm, the screenshot shows deployments list.
JDBC resource nodes actually query registered datasources as services.
Probably this is incorrect.
I need to understand the difference and what is correct.
Could you please attach a screenshot with Services/JDBC/DataSources node expanded
and and the page "Summary of JDBC Data Sources" on the right side ?
Comment 2 Petr Jiricka 2010-08-04 20:42:26 UTC
Created attachment 101208 [details]
Screenshot of the Resources node in the IDE
Comment 3 Petr Jiricka 2010-08-04 20:43:28 UTC
Created attachment 101209 [details]
Screenshot of Summary of Datasources - Configuration tab
Comment 4 Petr Jiricka 2010-08-04 20:44:15 UTC
Created attachment 101210 [details]
Screenshot of Summary of Datasources - Monitoring tab
Comment 5 Petr Jiricka 2010-08-04 20:47:26 UTC
I attached the screenshots - interestingly, when I go to the Summary of Datasources, the Configuration tab does not list any, but the Monitoring tab shows both of the datasources that I created and that I can now see on the Deployments screen.
Comment 6 Petr Hejl 2010-08-04 20:55:36 UTC
Denis:

http://download.oracle.com/docs/cd/E15051_01/wls/docs103/jdbc_admin/config.html

See "JDBC Application Modules"
Comment 7 Denis Anisimov 2010-08-05 03:25:59 UTC
Than you , I've got the point.
Comment 8 Denis Anisimov 2010-08-11 12:17:24 UTC
changeset:   175511:a973523223cc
user:        Denis Anisimov <ads@netbeans.org>
date:        Wed Aug 11 16:15:47 2010 +0400
summary:     Fix for BZ#189213 -  Data source not displayed under Resources explorer.
Comment 9 Quality Engineering 2010-08-12 02:58:40 UTC
Integrated into 'main-golden', will be available in build *201008120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a973523223cc
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#189213 -  Data source not displayed under Resources explorer.