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 2010/12/03 09:33:36 UTC
DO NOT REPLY [Bug 50406] New: init() doesn't initialize connector
any more
https://issues.apache.org/bugzilla/show_bug.cgi?id=50406
Summary: init() doesn't initialize connector any more
Product: Tomcat 7
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: regression
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: mturk@apache.org
Recent change of moving connectors init() code to start()
makes Tomcat unusable under commons-daemon.
This is severe regression cause sockets are now bind in start
method when the privileges are already dropped.
--
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 50406] init() doesn't initialize connector any
more
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50406
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Mark Thomas <ma...@apache.org> 2010-12-03 13:09:07 EST ---
Breaking change reverted.
--
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 50406] init() doesn't initialize connector any
more
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50406
--- Comment #1 from Christopher Schultz <ch...@christopherschultz.net> 2010-12-03 10:40:44 EST ---
How about adding a method:
public void initAndStart()
{
init();
start();
}
Commons-daemon can use that. Of course, this introduces an API incompatibility
and users will have to have a minimum commons-daemon version to work properly
with TC 7.0.x.
Or would it be better to revert the recent patch and create new methods with
different semantics? Since TC 7 is not considered stable (yet), it seems okay
to change the API like this. On the other hand, it impacts an external project.
--
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