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.
My automated test fails when uses "Call EJB" in Servlet. Element <ejb-ref> is not added to sun-web.xml. I was able to reproduce it manually, but not always. I have Enteprise Application containing Web Application and EJB Module. EJB Module has one Session Bean and one Entity Bean. Web Application has one Servlet. Then I did following: 1. Started Pointbase database 2. Connected DB explorer to sample database 3. Added business method to Session Bean 4. Added business method to Entity Bean 5. Added create method to Entity Bean 6. Added home method to Entity Bean 7. And finally called "Call EJB" in Servlet. Then sun-web.xml was not updated. When I tried to skip some step (e.g. connecting to pointbase) bug didn't appear.
It seems to be a problem in plugin. The mechanism how plugin listens to changes in web.xml need to be investigated.
Similar situation is for Call EJB in Web Service. <ejb-ref> is also not added to sun-web.xml.
Is this a new test or a new failure? If this test had been passing, then we might need to check for changes that caused a regression. If the test is new, the debugging strategy may be different.
I found this bug when I was developing automated tests so the test fails from the biginning.
If the beans have local interfaces and you use the local interface, the sun-web.xml doesn't need to be updated.... Please re-open if you see this when using the remote interface...