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 48559 - java.net.BindException: Address already in use: JVM_Bind
Summary: java.net.BindException: Address already in use: JVM_Bind
Status: RESOLVED INVALID
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Tomcat (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Sherold Dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-07 06:52 UTC by _ gtzabari
Modified: 2006-06-01 10:18 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 _ gtzabari 2004-09-07 06:52:53 UTC
dev build 200409061800

My startup log reads:

Using CATALINA_BASE:   C:\Documents and
Settings\Gili\.netbeans\dev\jakarta-tomcat-5.0.28_base
Using CATALINA_HOME:   C:\Program
Files\netbeans-4.0dev\nb4.0\jakarta-tomcat-5.0.28
Using CATALINA_TMPDIR: C:\Documents and
Settings\Gili\.netbeans\dev\jakarta-tomcat-5.0.28_base\temp
Using JAVA_HOME:       C:\Program Files\Java\jdk1.5.0
7-Sep-2004 1:49:22 AM
org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8084
7-Sep-2004 1:49:22 AM
org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1157 ms
7-Sep-2004 1:49:22 AM
org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
7-Sep-2004 1:49:22 AM
org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.28
7-Sep-2004 1:49:22 AM
org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
7-Sep-2004 1:49:24 AM
org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment (
non-jmx ) 
7-Sep-2004 1:49:24 AM
org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL
file:C:\Documents and
Settings\Gili\.netbeans\dev\jakarta-tomcat-5.0.28_base\conf\Catalina\localhost\admin.xml
7-Sep-2004 1:49:24 AM
org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing,
config='org.apache.struts.util.LocalStrings',
returnNull=true
7-Sep-2004 1:49:24 AM
org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing,
config='org.apache.struts.action.ActionResources',
returnNull=true
7-Sep-2004 1:49:25 AM
org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing,
config='org.apache.webapp.admin.ApplicationResources',
returnNull=true
7-Sep-2004 1:49:26 AM
org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL
file:C:\Documents and
Settings\Gili\.netbeans\dev\jakarta-tomcat-5.0.28_base\conf\Catalina\localhost\balancer.xml
7-Sep-2004 1:49:26 AM
org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL
file:C:\Documents and
Settings\Gili\.netbeans\dev\jakarta-tomcat-5.0.28_base\conf\Catalina\localhost\DesktopBeautifier.xml
7-Sep-2004 1:49:26 AM
org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL
file:C:\Documents and
Settings\Gili\.netbeans\dev\jakarta-tomcat-5.0.28_base\conf\Catalina\localhost\manager.xml
7-Sep-2004 1:49:27 AM
org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8084
7-Sep-2004 1:49:27 AM
org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException:
Address already in use: JVM_Bind
7-Sep-2004 1:49:27 AM
org.apache.jk.common.ChannelSocket init

   and it goes on (and seems to work). I'm just
concerned by "INFO: Port busy 8009
java.net.BindException: Address already in use:
JVM_Bind". Looks like a bug... Please comment on this.
Comment 1 Sherold Dev 2004-09-07 10:31:01 UTC
This is not a NB bug. Tomcat just wants to start Coyote/JK2 AJP
Connector on port 8009 but this port is already in use (possibly by
another Tomcat instance, firewall, etc.).
Comment 2 _ gtzabari 2004-09-07 15:59:31 UTC
sherold,

But does this indicate a problem? Will it prevent the integrated
Tomcat from functioning properly?
Comment 3 Sherold Dev 2004-09-07 16:55:41 UTC
No, it won't. You would need to carre for it only if you would like to
integrate Tomcat into Apache server (see
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/ajp.html).
Comment 4 _ gtzabari 2006-05-31 19:55:12 UTC
Why does Netbeans' integrated Tomcat server need AJP at all? Couldn't we just
ship with the AJP connector commented out by default in server.xml?
Comment 5 Sherold Dev 2006-06-01 10:18:22 UTC
Sure you are right that we could ship Tomcat with the AJP connector commented
out, but we do not plan to do it at this point, since we want to make as few
changes from the default configuration as possible.