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.
If jsp modules are in user modules directory (this is the case of installing modules via autoupdate) then it causes that system/tomcat/conf directory isn't created and exceptions are thrown with every execution. Probably due to this bug there are problems with deployment descriptor. Some properties are read-only on contain NoSuchMethodError or NoClassDefFoundError in value place. If I use fix from Milan Kuchtiak then all above problems disappear.
Created attachment 1404 [details] exceptions
Filesystems API works differently whether tomcat-plugin is installed at the beginning or added through the update center. This is due to different behaviour of createFolder() method. Possible fix : change layer.xml file and TomcatServerExecution file in Tomcat-plugin
The workaround is to create the tomcat/conf directory manually.
The deployment descriptor problem is not related with this bug. It's caused by using not compatible j2eelib.jar so I am descreasing priority to P2.
Changed layer.xml file from : <filesystem> <folder name="tomcat"> <folder name="conf"> <file name="server.xml" url = "defaultserver.xml" /> </folder> </folder> </filesystem> to <filesystem> <folder name="tomcat"> <file name="server.xml" url = "defaultserver.xml" /> </folder> </filesystem> previous version caused sometimes that createFolder() method didn't create tomcat/conf directory, because it was already found in XMLFileSystem.
verified in 010611_2