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 starting tomcat with any other server port except 8084, netbeans can't detect, that server is actually started, and continues waiting. "Starting Tomcat 6.0" progress-bar shows till "Starting of Tomcat failed" message appeared. And despite the fact, tomcat is successfully started (it prints "INFO: Server startup in 363 ms" to output window and could be accessed at http://localhost/8080), it is not possible either to stop/restart/view tomcat from context menu or deploy web app, because of netbeans tries to initialize another tomcat instance. Steps to reproduce: 1. Install new NetBeans IDE with Tomcat bundled 2. Delete bundled version of Tomcat (Servers -> Tomcat -> Remove) 3. Download and unzip any supported version of Apache Tomcat 4. In NetBeans: Add new Tomcat 5.x/6.0 (Servers -> Add Server -> Tomcat 5/6, browse for downloaded Tomcat) 5. In "Connection" tab, "Server Port" field enter any value, except 8084 6. Run Tomcat (Servers -> Tomcat -> Start)
Works ok for me. This could be a firewall issue.
I have the same issue. I installed and registered external Tomcat 6.0.28 with Services->Servers menu in NetBeans 7.2.1 and tried to start it with different ports including 8084. It behaves exactly as evillive@netbeans.org explained. It's not firewall issue, I use NetBeans and Tomcat both installed locally on my desktop.
Just some additional information if someone ends up here through a Google search. I was experiencing this same problem with an external install of Tomcat 5.5. The bundled install of Tomcat 7.2.1 worked fine. I finally resolved the issue by removing the tcnative-1.dll from the apache-tomcat/bin folder in my installation. Apparently the native connector is not playing well with the check that netbeans uses to determine that the server is up and running. I checked and the bundled tomcat server does not include the tcnative-1.dll. It's definitely not needed for development purposes. Hope this helps someone.