You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2008/11/19 00:22:23 UTC
DO NOT REPLY [Bug 46234] New: Can't Bind Address
https://issues.apache.org/bugzilla/show_bug.cgi?id=46234
Summary: Can't Bind Address
Product: Tomcat 6
Version: 6.0.16
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: blocker
Priority: P1
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: disappearedng@gmail.com
1) I have installed the following:
jdk 1.6.0
apache-tomcat6
tomcat-native
via the port tree of freebsd
2) These are my variables:
[root@miuky1 /usr/local/apache-tomcat6.0/logs]# echo $JAVA_HOME
/usr/local/jdk1.6.0
3) Upon starting, I get the following message
[root@miuky1 /usr/local/apache-tomcat6.0/logs]#
/usr/local/apache-tomcat6.0/bin/startup.sh
Using CATALINA_BASE: /usr/local/apache-tomcat6.0
Using CATALINA_HOME: /usr/local/apache-tomcat6.0
Using CATALINA_TMPDIR: /usr/local/apache-tomcat6.0/temp
Using JRE_HOME: /usr/local/jdk1.6.0
4) The logs are as follows:
catalina.log
Nov 18, 2008 6:14:46 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.15.
Nov 18, 2008 6:14:47 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [true],
random [true].
Nov 18, 2008 6:14:47 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Nov 18, 2008 6:14:47 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Nov 18, 2008 6:14:47 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 835 ms
Nov 18, 2008 6:14:47 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 18, 2008 6:14:47 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
Nov 18, 2008 6:14:47 PM org.apache.catalina.core.StandardContext
addApplicationListener
INFO: The listener "listeners.ContextListener" is already configured for this
context. The duplicate definition has been ignored.
Nov 18, 2008 6:14:47 PM org.apache.catalina.core.StandardContext
addApplicationListener
INFO: The listener "listeners.SessionListener" is already configured for this
context. The duplicate definition has been ignored.
Nov 18, 2008 6:14:48 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8180
Nov 18, 2008 6:14:48 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Nov 18, 2008 6:14:48 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 782 ms
Nov 18, 2008 6:14:48 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Can't assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at
org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:642)
at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 18, 2008 6:14:48 PM org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8180
Nov 18, 2008 6:14:48 PM org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
Nov 18, 2008 6:14:49 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Nov 18, 2008 6:14:49 PM org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8180
Nov 18, 2008 6:14:49 PM org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009
catalina.out
Nov 18, 2008 6:14:46 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.15.
Nov 18, 2008 6:14:47 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [true],
random [true].
Nov 18, 2008 6:14:47 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8180
Nov 18, 2008 6:14:47 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Nov 18, 2008 6:14:47 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 835 ms
Nov 18, 2008 6:14:47 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 18, 2008 6:14:47 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
Nov 18, 2008 6:14:47 PM org.apache.catalina.core.StandardContext
addApplicationListener
INFO: The listener "listeners.ContextListener" is already configured for this
context. The duplicate definition has been ignored.
Nov 18, 2008 6:14:47 PM org.apache.catalina.core.StandardContext
addApplicationListener
INFO: The listener "listeners.SessionListener" is already configured for this
context. The duplicate definition has been ignored.
Nov 18, 2008 6:14:48 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8180
Nov 18, 2008 6:14:48 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Nov 18, 2008 6:14:48 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 782 ms
Nov 18, 2008 6:14:48 PM org.apache.catalina.core.StandardServer await
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Can't assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)
at java.net.ServerSocket.bind(ServerSocket.java:319)
at java.net.ServerSocket.<init>(ServerSocket.java:185)
at
org.apache.catalina.core.StandardServer.await(StandardServer.java:373)
at org.apache.catalina.startup.Catalina.await(Catalina.java:642)
at org.apache.catalina.startup.Catalina.start(Catalina.java:602)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 18, 2008 6:14:48 PM org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8180
Nov 18, 2008 6:14:48 PM org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
Nov 18, 2008 6:14:49 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Nov 18, 2008 6:14:49 PM org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8180
Nov 18, 2008 6:14:49 PM org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009
localhost.log
Nov 18, 2008 6:14:47 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Nov 18, 2008 6:14:47 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Nov 18, 2008 6:14:49 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextDestroyed()
Nov 18, 2008 6:14:49 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextDestroyed()
5) I have even tried with Tomcat-5 and have the same error. I don't think
there's anything blocking port 8080
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 46234] Can't Bind Address
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46234
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #1 from Mark Thomas <ma...@apache.org> 2008-11-18 16:41:55 PST ---
Please use the users list.
You may also want to search the archives for IPv6 related bugs with the native
connector.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org