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=22691>.
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=22691

TldConfig.getGlobalJarPath() throws an IOException which is not really catched

           Summary: TldConfig.getGlobalJarPath() throws an IOException which
                    is not really catched
           Product: Tomcat 5
           Version: 5.0.6
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


For a special integration support I extended the commonLoader in 
org.apache.catalina.startup.Bootstrap with a specia parent class loader 
(normaly the system classloader is used). In this case 
org.apache.catalina.startup.TldConfig.getGlobalJarPath() will throw an 
IOException at getCononicalFile() (take a look at the JavaDoc of 
File.getCanoncialFile()) which is never really catched. To fix this problem I 
wrapped this part in a try-catch-expression locally.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to