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.
I have JDK 1.5.0, Tomcat 5.5.4 and NetBeans 4.0. Besides the bundled Tomcat 5.0.28 I added my Tomcat 5.5.4 to the server registry in NetBeans. The Tomcat 5.5.4 is freshly installed and runs on port 8080. I created a simple web application project (the JSTLExample included with NetBeans) and changed the project properties to deploy it on Tomcat 5.5.4. I manually start Tomcat 5.5.4 (outside NetBeans) and then try to run the webapp. I get the following in the output window: init: deps-jar: compile: compile-jsps: run-deploy: In-place deployment at C:\jejong\netbeans\JSTLExample\build\web FAIL - Invalid context path null was specified Deployment FAILED: FAIL - Invalid context path null was specified C:\jejong\netbeans\JSTLExample\nbproject\build-impl.xml:280: org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment$DeploymentException: Deployment failed. BUILD FAILED (total time: 2 seconds) Deployment fails with a message "FAIL - Invalid context path null was specified".
Tomcat 5.5.x is not supported in NB4.0. Support will be implemented in 4.1 - see issue 49135.