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 2009/07/09 07:05:05 UTC
DO NOT REPLY [Bug 47499] New: provide better insight on
BindException: Cannot assign requested address
https://issues.apache.org/bugzilla/show_bug.cgi?id=47499
Summary: provide better insight on BindException: Cannot assign
requested address
Product: Tomcat 6
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Connectors
AssignedTo: dev@tomcat.apache.org
ReportedBy: hauser@acm.org
1) cite the address you attempt to listen (not just the port)
2) proper exception chaining
the following info is currently lost: <<java.net.BindException: Cannot 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 javax.net.ssl.SSLServerSocket.<init>(SSLServerSocket.java:106)
at
com.privasphere.net.ssl.SSLServerSocketImpl.<init>(SSLServerSocketImpl.java:106)
at
com.privasphere.net.ssl.SSLServerSocketFactoryImpl.createServerSocket(SSLServerSocketFactoryImpl.java:71)
at
org.apache.tomcat.util.net.jsse.JSSESocketFactory.createSocket(JSSESocketFactory.java:100)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:295)
at
org.apache.coyote.http11.Http11BaseProtocol.init(Http11BaseProtocol.java:139)
at org.apache.catalina.connector.Connector.initialize(Connector.java:1017)
at
org.apache.catalina.core.StandardService.initialize(StandardService.java:578)>>
--
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 47499] provide better insight on BindException:
Cannot assign requested address
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47499
--- Comment #1 from Ralf Hauser <ha...@acm.org> 2009-07-08 22:06:49 PST ---
Created an attachment (id=23946)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=23946)
tomcat_rfe_47499patch.txt
an idea how to improve the error reported
--
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 47499] provide better insight on BindException:
Cannot assign requested address
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47499
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #4 from Mark Thomas <ma...@apache.org> 2009-10-03 19:06:07 BST ---
The patch has been applied to 6.0.x and will be included in 6.0.21 onwards.
--
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 47499] provide better insight on BindException:
Cannot assign requested address
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47499
--- Comment #2 from Ralf Hauser <ha...@acm.org> 2009-07-08 23:30:52 PST ---
reported also to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=536328.
Some discussion that may end in fingerpointing between debian and tomcat is
here
http://marc.info/?l=tomcat-user&m=124698302231803&w=2 and
http://marc.info/?l=tomcat-user&m=124698405701221&w=2
--
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 47499] provide better insight on BindException:
Cannot assign requested address
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47499
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #23946|0 |1
is obsolete| |
--- Comment #3 from Mark Thomas <ma...@apache.org> 2009-09-22 22:18:58 BST ---
Created an attachment (id=24302)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24302)
Alternative patch
I have fixed this in trunk and have attached an alternative patch for 6.0.x.
I'll propose the alternative patch for 6.0.x shortly.
--
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