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 135284 - Unwanted Resource Servlet in web.xml
Summary: Unwanted Resource Servlet in web.xml
Status: RESOLVED DUPLICATE of bug 134750
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Peter Liu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-18 19:03 UTC by benjamintilford
Modified: 2008-05-27 23:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack from glassfish log (41.74 KB, text/plain)
2008-05-18 19:04 UTC, benjamintilford
Details
project.properties file (7.38 KB, text/plain)
2008-05-18 19:05 UTC, benjamintilford
Details

Note You need to log in before you can comment on or make changes to this bug.
Description benjamintilford 2008-05-18 19:03:58 UTC
When opening netbeans 6.1 it seems that if you have an existing web project that on occasion netbeans will add a servlet
adaptor for /resources/* into the web.xml 

This causes a com.sun.ws.rest.api.container.ContainerException when the servlet cannot be found.

The servlet does not seem to be added everytime netbeans starts up, I am almost sure that it's only happened after
shutting down improperly (system crash). 

Stack and project.properties are attached. (I suspect it could be an error in the project.properties but don't know
where to start looking)
Comment 1 benjamintilford 2008-05-18 19:04:41 UTC
Created attachment 61536 [details]
Stack from glassfish log
Comment 2 benjamintilford 2008-05-18 19:05:10 UTC
Created attachment 61537 [details]
project.properties file
Comment 3 Peter Liu 2008-05-27 23:39:44 UTC
This is a side effect of issue 134750. I am closing this as a duplicate.

*** This issue has been marked as a duplicate of 134750 ***