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 111853 - JMS Resource Creation fails if it references adaptors which are embedded
Summary: JMS Resource Creation fails if it references adaptors which are embedded
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-03 08:51 UTC by Nitya Doraisamy
Modified: 2010-05-06 14:43 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
sun-resources.xml (5.17 KB, text/xml)
2007-08-03 08:52 UTC, Nitya Doraisamy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nitya Doraisamy 2007-08-03 08:51:08 UTC
- EAR project containing embedded resource adaptors.
- Project has Connector resources that refer to the embedded adaptor. 
The Resource Adapter resources were not registered correctly, these Resource Adapters are "embedded" within the EAR.  They
are correctly referenced as "csem#..." within the sun-resources.xml.  The initial deploy fails for the sun-resources.xml.
Redeploy successfully registers the resources

The resource registration by the plugin kicks in at the start of the deployment process. At this point since the 
ResourceAdapters are embedded within the EAR, they are not present on the server and the reference "csem# .." fails when
the resource registration happens.

sun-resources.xml attached

Fix would be to register resources after deployment but before the apps are loaded/started. This might be possible in
archive deployment but would not be possible in directory deployment.
Comment 1 Nitya Doraisamy 2007-08-03 08:52:28 UTC
Created attachment 46106 [details]
sun-resources.xml
Comment 2 Vince Kraemer 2008-04-26 03:33:22 UTC
is the future now?
Comment 3 Vince Kraemer 2008-10-18 03:34:47 UTC
this needs to be fixed in the v3/7.0 time frame.

please be prepared to discuss this issue on 2008/10/22
Comment 4 Vince Kraemer 2008-12-09 19:32:45 UTC
can you provide more details on the proposed solution strategy?

Will this be resolved in the v3 case or the v2 case or both?

Note: the v2 and v3 plugin are very different in the resource registration at deploy time implementation..
Comment 5 Vince Kraemer 2009-09-16 23:55:22 UTC
Assigned engineer: please correct the tm value.  nb 6.7 has shipped, so a tm of
6.7  is invalid at this point
Comment 6 Nitya Doraisamy 2009-11-11 17:50:28 UTC
will have to be in the next release.
Comment 7 Vince Kraemer 2010-04-28 18:19:33 UTC
this may end up being resolved by the server in the 3.1 release (by app scoped resources)
Comment 8 Vince Kraemer 2010-05-06 14:43:47 UTC
we do not embed resources in current release.