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 257885

Summary: After deploy JDBC Resource does not appear
Product: serverplugins Reporter: oburger
Component: GlassFishAssignee: Petr Hejl <phejl>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P2    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description oburger 2016-02-08 09:09:35 UTC
Steps to reproduce:

1. Install JDK 7 or 8
2. Install GlassFish 4.0 or 4.1.1
3. Install NetBeans IDE 8.1 (Build 201510222201)
4. Create new MySQL-Connection in Services
5. Start GlassFish Server
6. Create Java Web Web Application
7. Right-click on the web application, select New -> GlassFish -> JDBC Resource, klick next, choose "Create New JDBC Connection Pool", klick next, klick next, give Connection Pool a name, choose "Extract from Existing Connection", choose before created MySQL-Connection, klick next, Datasource Classname is "com.mysql.jdbc.jdbc2.optional.MysqlDataSource", choose Resource Type javax.sql.ConnectionPoolDataSource, klick next and finish
8. glassfish-resources.xml was created
9. Deploy the web application
10. BUILD SUCCESSFUL
11. Go to Services and right-click GlassFish Server, choose "Refresh"
12. Open "Resources" -> "JDBC" -> "JDBC Resources" and "ConnectionPools"

BUG:
No new JDBC Resource or ConnectionPool does appear.
Comment 1 Petr Hejl 2016-05-17 08:27:39 UTC

*** This bug has been marked as a duplicate of bug 255304 ***