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.
The first time I started the execution of the WEB-INF module (After a reboot). The Tomcat HTTP server starts execution but did not open the Web Browser. The deployment progress monitor hangs around 80%. On subsequent tries I get bind exception. Following are the settings on my machine: 1) I am running JBoss on port 80. Some of the ports that Tomcat tries to bind to are being used by JBoss (8009). 2) There is a single index.jsp file in my WEB app. I have tried with clearing the .NetBeans/3.6/jakarta-tomcat-5.0.19_base folder, but it did not work. I get following errors on subsequent tries, since internal Tomcat has crashed without releasing the port (I need to reboot the PC to clear the port): SEVERE: Error initializing endpoint java.net.BindException: Address already in use: JVM_Bind:8080 at org.apache.tomcat.util.net.PoolTcpEndpoint.initEn dpoint(PoolTcpEndpoint.java:306)
May 2, 2004 8:34:58 AM org.apache.catalina.startup.Catalina stop SEVERE: Catalina.stop LifecycleException: Cannot find message associated with key coyoteConnector.protocolHandlerPauseFailed at org.apache.coyote.tomcat5.CoyoteConnector.pause (CoyoteConnector.java:1462) at org.apache.catalina.core.StandardService.stop (StandardService.java:560) at org.apache.catalina.core.StandardServer.stop (StandardServer.java:2379) at org.apache.catalina.startup.Catalina.stop (Catalina.java:643) at org.apache.catalina.startup.Catalina$CatalinaShutdownHook.run (Catalina.java:686)
May 2, 2004 8:54:29 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on port 8080 May 2, 2004 8:54:29 AM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1500 ms May 2, 2004 8:54:29 AM org.apache.catalina.core.StandardService start INFO: Starting service Catalina May 2, 2004 8:54:29 AM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.0.19 May 2, 2004 8:54:29 AM org.apache.catalina.core.StandardHost start INFO: XML validation disabled May 2, 2004 8:54:31 AM org.apache.catalina.core.StandardHost getDeployer INFO: Create Host deployer for direct deployment ( non-jmx ) May 2, 2004 8:54:31 AM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:C:\Documents and Settings\Owner\.netbeans\3.6\jakarta-tomcat- 5.0.19_base\conf\Catalina\localhost\admin.xml May 2, 2004 8:54:31 AM org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true May 2, 2004 8:54:31 AM org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true May 2, 2004 8:54:31 AM org.apache.struts.util.PropertyMessageResources <init> INFO: Initializing, config='org.apache.webapp.admin.ApplicationResources', returnNull=true May 2, 2004 8:54:35 AM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:C:\Documents and Settings\Owner\.netbeans\3.6\jakarta-tomcat- 5.0.19_base\conf\Catalina\localhost\balancer.xml May 2, 2004 8:54:35 AM org.apache.catalina.core.StandardHostDeployer install INFO: Processing Context configuration file URL file:C:\Documents and Settings\Owner\.netbeans\3.6\jakarta-tomcat- 5.0.19_base\conf\Catalina\localhost\manager.xml May 2, 2004 8:54:35 AM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on port 8080 May 2, 2004 8:54:35 AM org.apache.jk.common.ChannelSocket init INFO: Port busy 8009 java.net.BindException: Address already in use: JVM_Bind May 2, 2004 8:54:35 AM org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8010 May 2, 2004 8:54:35 AM org.apache.jk.server.JkMain start INFO: Jk running ID=1 time=0/63 config=null May 2, 2004 8:54:36 AM org.apache.catalina.startup.Catalina start INFO: Server startup in 6563 ms
We should probably add a check whether ports which Tomcat will use are available and provide a meaningful message if not.
Setting TM to 4.1.
Fixed set by mistake, reopening.
TM -> 5.0
*** Issue 59288 has been marked as a duplicate of this issue. ***
State of server ports is now being checked before starting the server. F. Checking in src/org/netbeans/modules/tomcat5/TomcatManager.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/TomcatManager.java,v <-- TomcatManager.java new revision: 1.80; previous revision: 1.79 done Checking in src/org/netbeans/modules/tomcat5/TomcatManagerImpl.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/TomcatManagerImpl.java,v <-- TomcatManagerImpl.java new revision: 1.44; previous revision: 1.43 done Removing src/org/netbeans/modules/tomcat5/URLWait.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/URLWait.java,v <-- URLWait.java new revision: delete; previous revision: 1.5 done Checking in src/org/netbeans/modules/tomcat5/ide/Bundle.properties; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/ide/Bundle.properties,v <-- Bundle.properties new revision: 1.33; previous revision: 1.32 done Checking in src/org/netbeans/modules/tomcat5/ide/StartTomcat.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/ide/StartTomcat.java,v <-- StartTomcat.java new revision: 1.79; previous revision: 1.78 done Checking in src/org/netbeans/modules/tomcat5/nodes/TomcatWebModuleChildren.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/nodes/TomcatWebModuleChildren.java,v <-- TomcatWebModuleChildren.java new revision: 1.10; previous revision: 1.9 done Checking in src/org/netbeans/modules/tomcat5/util/Utils.java; /cvs/tomcatint/tomcat5/src/org/netbeans/modules/tomcat5/util/Utils.java,v <-- Utils.java new revision: 1.4; previous revision: 1.3 done
Verified in 200512131900