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 2003/03/20 19:54:25 UTC

DO NOT REPLY [Bug 18199] New: - Regression in Tomcat 5: UnavailableException thrown in init() return Status 404 not 503

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18199>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18199

Regression in Tomcat 5: UnavailableException thrown in init() return Status 404 not 503

           Summary: Regression in Tomcat 5: UnavailableException thrown in
                    init() return Status 404 not 503
           Product: Tomcat 5
           Version: 5.0.1
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: dianne.jiao@sun.com
                CC: Ryan.Lubke@Sun.COM,jfarcand@apache.org


UnavailableException thrown in init():

 public void init( ServletConfig sc ) throws ServletException {
        //throw new UnavailableException(this,"Negative Init Test");
        throw new UnavailableException( "Negative Init Test" );
    }

Configuration of the accessed servlet:
<servlet>
    <servlet-name>DoInit1TestLogicalName</servlet-name>   
<servlet-class>com.sun.ts.tests.servlet.api.javax_servlet.servlet.DoInit1TestServlet</servlet-class>
  </servlet>

  <servlet-mapping>
    <servlet-name>DoInit1TestLogicalName</servlet-name>
    <url-pattern>/DoInit1Test</url-pattern>
  </servlet-mapping>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org