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/01/19 13:55:03 UTC
DO NOT REPLY [Bug 46558] New: Shutdown port with address binding
https://issues.apache.org/bugzilla/show_bug.cgi?id=46558
Summary: Shutdown port with address binding
Product: Tomcat 6
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: melbichon@laposte.net
We use Tomcat in a cluster configuration.
Connectors can be bind an address but not the server container.
Is it possible to add an address attribute for the server container so
Catalina.java open port for this address and not for 127.0.0.1 ?
Thanks in advance
Marc
--
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 46558] Shutdown port with address binding
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46558
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Mark Thomas <ma...@apache.org> 2010-10-11 16:08:14 EDT ---
kill -15 <pid> will initiate a controlled shutdown that does exactly the same
things as the shutdown command.
The address attribute was added to the Server element for Tomcat 7. It is
highly unlikely to get back-ported to Tomcat 6.
--
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 46558] Shutdown port with address binding
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46558
--- Comment #2 from M.ElBichon <me...@laposte.net> 2009-01-20 05:30:03 PST ---
If -1 is set to disable the feature, is there another way to stop Tomcat rather
than killing the process ?
--
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 46558] Shutdown port with address binding
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46558
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |enhancement
--- Comment #1 from Mark Thomas <ma...@apache.org> 2009-01-20 05:24:14 PST ---
I have changed this to an enhancement.
Be aware that this was changed several major versions ago (around Tomcat 3 or
4) to only listen on localhost due to the security issues with listening on
other interfaces.
Any patch would have to address the obvious security concerns.
Also keep in mind that in production environments the port is often set to -1
to completely disable this feature - again for security reasons. The general
push seems to be to tighten this up rather than relax it.
--
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
[Bug 46558] Shutdown port with address binding
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46558
--- Comment #5 from dknox@redhat.com ---
Created attachment 30209
--> https://issues.apache.org/bugzilla/attachment.cgi?id=30209&action=edit
Patch adding address attribute to server
--
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
[Bug 46558] Shutdown port with address binding
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46558
dknox@redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Version|unspecified |6.0.36
Resolution|FIXED |---
--- Comment #4 from dknox@redhat.com ---
reopening because in an ipv6 only environment where 'localhost' is not used,
the server fails to start. This is not a clustered environment
SEVERE: StandardServer.await: create[8005]:
java.net.BindException: Cannot assign requested address
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
at java.net.ServerSocket.bind(ServerSocket.java:328)
at java.net.ServerSocket.<init>(ServerSocket.java:194)
at
org.apache.catalina.core.StandardServer.await(StandardServer.java:406)
at org.apache.catalina.startup.Catalina.await(Catalina.java:676)
at org.apache.catalina.startup.Catalina.start(Catalina.java:628)
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:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Aug 7, 2012 3:40:03 PM org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-0%3A0%3A0%3A0%3A0%3A0%3A0%3A1-8080
this has been fixed in tomcat7, so I'm reopening and offering a patch which
ports changes from tomcat7 where the address attribute is defined under
Server.Let me know if the format needs to be corrected, or if i've missed
patch protocol.
--
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