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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to