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.
Add new shared server instance - as a basedir choose some existing empty directory. Set the instance as default. Convert sampledir to webmodule and try to execute it. Exception comes: [catch]java.lang.Exception: tomcat:home=/local/tomcat/tomcat-5018:base=/local/tomcat/shared:http://localhost:8080/manager/ org.netbeans.modules.tomcat5.ide.MonitorSupport.synchronizeMonitorWithFlag(MonitorSupport.java:103) org.netbeans.modules.tomcat5.ide.StartTomcat$StartRunnable.run(StartTomcat.java:266) This is because we are checking (whether create basedir or not) just for an existence of a directory, and nothing else. We should handle case when the directory is empty, at least.
The problem was bigger than described here, but it's fixed in trunk.
Verified