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 200354

Summary: add wizards to support app scoped resources
Product: serverplugins Reporter: iuiz
Component: GlassFishAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: ENHANCEMENT Exception Reporter:

Description iuiz 2011-07-25 13:39:39 UTC
Hi,

when you create a new JDBC Connection Pool for Application scoped resources in a Maven Project Netbeans creates the glassfish-resources.xml in "Other Sources/setup/". However this file gets never packed into the .war archive.

Moving it to "Other Sources/META-INF" works, as it puts the file to "/WEB-INF/classes/META-INF".


Greetings,

iuiz
Comment 1 Vince Kraemer 2011-07-25 15:19:56 UTC
You are right.

NetBeans does not have wizards/etc. that support app scoped resources.

NetBeans does not prevent a user from modifying their app to use app scoped resources.

so, I am converting this to an RFE.
Comment 2 iuiz 2011-07-25 17:04:34 UTC
Ok thx. I solved this problem by moving the glassfish.xml to the WEB-INF folder, but I thought this was a bug.
Comment 3 Petr Hejl 2015-06-16 12:54:14 UTC
App scoped resources are no used by default I believe.