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 - Data source not displayed under Resources explorer
Summary: Data source not displayed under Resources explorer
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WebLogic (show other bugs)
Version: 6.x
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-04 15:26 UTC by Petr Jiricka
Modified: 2010-08-12 02:58 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of the WLS admin console (229.00 KB, image/png)
2010-08-04 15:26 UTC, Petr Jiricka
Details
Screenshot of the Resources node in the IDE (30.50 KB, image/png)
2010-08-04 20:42 UTC, Petr Jiricka
Details
Screenshot of Summary of Datasources - Configuration tab (226.71 KB, image/png)
2010-08-04 20:43 UTC, Petr Jiricka
Details
Screenshot of Summary of Datasources - Monitoring tab (221.19 KB, image/png)
2010-08-04 20:44 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
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.