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.

Bug 42692 - Unable to execute web module, deployment progress monitor hangs.
Summary: Unable to execute web module, deployment progress monitor hangs.
Status: VERIFIED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 3.x
Hardware: HP Windows XP
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
: 59288 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-02 14:33 UTC by yantriki
Modified: 2005-12-14 09:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yantriki 2004-05-02 14:33:06 UTC
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)
Comment 1 yantriki 2004-05-02 14:44:30 UTC
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)

Comment 2 yantriki 2004-05-02 14:57:54 UTC
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

Comment 3 Sherold Dev 2004-09-21 16:30:23 UTC
We should probably add a check whether ports which Tomcat will use are
available and provide a meaningful message if not.
Comment 4 Sherold Dev 2005-03-18 10:05:31 UTC
Setting TM to 4.1. 
Comment 5 Sherold Dev 2005-03-18 10:13:32 UTC
Fixed set by mistake, reopening. 
Comment 6 Sherold Dev 2005-10-21 12:42:02 UTC
TM -> 5.0
Comment 7 Sherold Dev 2005-10-23 20:48:55 UTC
*** Issue 59288 has been marked as a duplicate of this issue. ***
Comment 8 Sherold Dev 2005-10-23 20:49:32 UTC
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
Comment 9 Jaroslav Pospisil 2005-12-14 09:43:48 UTC
Verified in 200512131900