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.
To reproduce: mount a few web modules in the IDE and execute them all. Unmount all the directories except one, and then delete them from disk. Exit the IDE. Restart the IDE and try to execute the web module. You see a lot of execptions in the output log because of the deleted modules. Go to the runtime tab and undeploy all the modules that are marked as stopped. Excute the remaining module again (everything is fine). Exit the IDE and start it again. Try to execute the module. All the modules that were undeployed are back!
When the undeply action is called, then the undeployed webmodule disappear from the list of deployed webmodules in both IDE webmodules node and tomcat manager web application. The problem is with the ${CATALINA_BASE}/conf/Catalina/host/<wmname>.xml file which is not deleted when the undeployment is done from the IDE. If I do the undeployment via tomcat's manager app, the file <wmname>.xml is deleted and there are no errors during next tomcat startup.
I'm not able to reproduce. Do I need to have some special webmodules?
I asked Martin for help but now I think I have the fix so I am taking the issue back. I can reproduce what Marek Fukala describes. The problem was that tomcat5 plugin was using "remove" instead of "undeploy". "remove" is not even mentioned at manager page of t5 docs, it is likely 4.1-ism and is not fully funtional in t5.
forgot to assign to myself, should you ever dare to reopen this issue please assign it to pbuzek@netbeans.org tx
verified