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 - add wizards to support app scoped resources
Summary: add wizards to support app scoped resources
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 7.0
Hardware: PC Windows 7 x64
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-25 13:39 UTC by iuiz
Modified: 2015-06-16 12:54 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

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