tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 17690] New: - WARDirContext - setDocBase throws confusing message
Date Wed, 05 Mar 2003 19:51:18 GMT
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=17690>.
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=17690

WARDirContext - setDocBase throws confusing message

           Summary: WARDirContext - setDocBase throws confusing message
           Product: Tomcat 4
           Version: 4.1.21
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: jbaker@intac.com
                CC: jbaker@intac.com


In WarDirContext (build 1.5), method setDocBase(), line 180.

The exception in this case throws an error message that does not list the 
resource that was "tested".  I request the error be changed to print out the 
resource string that was tested, to make it easier to debug problems.

Here is my suggested change to the code:

  181:  (sm.getString("warResources.notWar"));
to
  181:  (sm.getString("warResources.invalidWar", docBase));

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


Mime
View raw message