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 57373 - Changes to web.xml are not reflected to sun-web.xml
Summary: Changes to web.xml are not reflected to sun-web.xml
Status: CLOSED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-02 16:21 UTC by Milan Kuchtiak
Modified: 2005-07-13 14:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kuchtiak 2005-04-02 16:21:13 UTC
Scenario :

- Invoke action Call Enterprise Bean in servlet
- Select remote session bean
- see that ejb-ref element is created in web.xml, but not in sun-web.xml

When you call another action (Use Database) - ejb-ref entry is added to
sun-web.xml together with resource-ref entry.

I noticed that sometimes changes in web.xml are not reflected to sun-web.xml at all.
Comment 1 Rajeshwar Patil 2005-04-03 09:50:30 UTC
I do not see any issue here. This is what plugin is doing(which is what is
expected from plugin) --
On Call Enterprise Bean action plugin do not add any entry to sun DD.(new
<ejb-ref> entry added in standard DD gets resolved through <ejb-link> element
and as such we do not need any entry in sun DD)

On Use Database action , plugin creates required resources and adds
<resource-ref> entry to sun DD.

I am marking this as invalid. Please feel free to reopen if plugins behaviour is
not as described above. 

Comment 2 Milan Kuchtiak 2005-04-04 13:45:23 UTC
In the latest build (050404) :
changes to web.xml are reflected to sun-web.xml - even for Call Enterprise Bean
(remote bean).

It seems that behaviour is correct now.