https://bz.apache.org/bugzilla/show_bug.cgi?id=63358

            Bug ID: 63358
           Summary: Allow exceptions thrown by Connector.start() when
                    adding a connector to be caught and handled in code
                    that embeds Tomcat
           Product: Tomcat 9
           Version: 9.0.x
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: awilkin...@pivotal.io
  Target Milestone: -----

This is a follow-on from https://bz.apache.org/bugzilla/show_bug.cgi?id=60152.
When a connector is added to StandardService it calls Connector.start() if the
service is available. If the connector throws an exception it is caught,
logged, and swallowed [1]. This prevents an embedder from handling the
exception.

Could a similar change to [2] please be made that makes it possible for an
embedder to catch and handle the exception themselves?

[1]
https://github.com/apache/tomcat/blob/d7a770acf8761c42958b56d6ce4864e32f8a9957/java/org/apache/catalina/core/StandardService.java#L227
[2] http://svn.apache.org/viewvc?view=revision&revision=1763769

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to