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 267838 - Problem with creating JDBC Resources and Connection Pools on GlassFish Server using NetBeans IDE appropriate wizard.
Summary: Problem with creating JDBC Resources and Connection Pools on GlassFish Server...
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 8.1
Hardware: PC Windows 10 x64
: P1 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-02 16:00 UTC by ALBODOR
Modified: 2017-04-05 11:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (80.38 KB, text/plain)
2016-09-02 16:00 UTC, ALBODOR
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ALBODOR 2016-09-02 16:00:45 UTC
Product Version = NetBeans IDE 8.1 (Build 201510222201)
Operating System = Windows 10 version 10.0 running on amd64
Java; VM; Vendor = 1.8.0_102
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.102-b14

Reproducibility: Happens every time

STEPS:
  * Clicking Finish of the wizard "New JDBC Resource".
  * Right click on the web project, and choosing "Deploy".
  * My web project is successfully deployed on my GlassFish server (as indicated by GlassFish Server logs).
  * In the Services window, expanding Servers -> GlassFish Server -> Resources -> JDBC -> JDBC Resources & JDBC -> Connection Pools.

ACTUAL:
  The JDBC Resources and Connection Pools I created via the wizard does not appear, which means they were not executed on the GlassFish Server.
  Even though the file "glassfish-resources.xml" was created and appears in the project files.

EXPECTED:
   The JDBC Resources and Connection Pools I created via the wizard should be executed on the GlassFish server and appears in 
   Servers -> GlassFish Server -> Resources -> JDBC -> JDBC Resources & JDBC -> Connection Pools listings
Comment 1 ALBODOR 2016-09-02 16:00:53 UTC
Created attachment 161881 [details]
IDE log
Comment 2 Zenas 2016-09-26 17:39:04 UTC
This is the best explanation of the issue i am facing. I have been all over looking for this fix. I have been following this tutorial:
https://netbeans.org/kb/docs/web/mysql-webapp.html
and at "Setting up a JDBC data source and connection pool" after step 7. I deploy the project. as the tip suggests.
EXPECTED:
   The JDBC Resources and Connection Pools I created via the wizard should be executed on the GlassFish server and appears in 
   Servers -> GlassFish Server -> Resources -> JDBC -> JDBC Resources & JDBC -> Connection Pools listings.
ACTUAL:
  The JDBC Resources and Connection Pools I created via the wizard does not appear, which means they were not executed on the GlassFish Server.
  Even though the file "glassfish-resources.xml" was created and appears in the project files.
I have refreshed the folders, i have restarted the server, no change my created JDBC resource and connection are not found in the server.
I opened the GlassFish admin console and tried to manually add the JDBC resource and connection pool.
i receive a run time exception error when clicking on the new under JDBC resource.
Hope this helps.