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.
Created attachment 108668 [details] Stack trace from add server instance wizard. If Tomcat 7.0.14 is installed by installer (either NetBeans installer or installer downloaded from http://mirror.atlanticmetro.net/apache/tomcat/tomcat-7/v7.0.14/bin/apache-tomcat-7.0.14.exe), it is not possible register its instance to IDE and attached exception is always thrown. If I download zip distribution of Tomcat 7.0.14, it works.
Created attachment 108674 [details] sample test For some reason code inside tomcat is throwing exception. The code is simple so it might be something in Windows preventing access. Please try to run the test: java -cp TestTomcat.jar;C:\path\to\tomcat\lib\catalina.jar;C:\path\to\tomcat\lib\tomcat-coyote.jar testtomcat.TestTomcat I know how to resolve CNFE, but there might be something wrong anyway. I'm not able to reproduce in XP.
Fixed in web-main 8af5cd163906. The root cause was usage of File.toURL().
Transplanted to 701 25578f30e02a.
Integrated into 'main-golden', will be available in build *201106031000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/8af5cd163906 User: phejl@netbeans.org Log: #199102 Tomcat installed by installer cannot be registered
Verified. Product Version: NetBeans IDE 7.0.1 Dev (Build 201106052101) Java: 1.7.0-ea; Java HotSpot(TM) Client VM 21.0-b14 System: Windows XP version 5.1 running on x86; Cp1250; en_US (nb)