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.
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.
*** This bug has been marked as a duplicate of bug 255304 ***