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 40099 - Deleting WEB-INF from a module converts it to regular directory but does not undeploy it
Summary: Deleting WEB-INF from a module converts it to regular directory but does not ...
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: PC Windows XP
: P4 blocker (vote)
Assignee: Pavel Buzek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-13 18:02 UTC by Ana.von Klopp
Modified: 2004-09-20 15:56 UTC (History)
0 users

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 Ana.von Klopp 2004-02-13 18:02:40 UTC
To reproduce: create a web module and add a JSP. 
Execute the JSP. 

Delete the WEB-INF directory. It is no longer a 
web module but it stays deployed.
Comment 1 Marek Fukala 2004-02-16 09:09:53 UTC
This seems to me to be quite a strange case - sounds like an
enhancement. I would suggest to prevent users to delete the WEB-INF
folder and web.xml file from the IDE or show a nice warning dialog,
that this would lead to the webmodule became invalid. I wouldn't
handle the case when the user corrupts the structure externally -
after doing that the webmodule continues running until someone tries
to reload it or stop s the whole server. When the server is started
for the next time, there will be some error messages in the server
output, but the user will be able to undeploy the corrupted webmodule
via tomcat instance in server registry.
Comment 2 Pavel Buzek 2004-02-26 23:16:26 UTC
first, we do not undeploy anything now (although Ana would probably
argue we should)
second, the user can still undeploy from server registry
Comment 3 Pavel Buzek 2004-04-16 06:49:51 UTC
problem does not exist in trunk (WEB-INF is always a regular directory
now)
Comment 4 Jiri Skrivanek 2004-09-20 15:56:06 UTC
Verified.