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/09/15 14:51:08 UTC
DO NOT REPLY [Bug 23175] New: -
ClassLoaderFactory lowercases jar filenames
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=23175>.
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=23175
ClassLoaderFactory lowercases jar filenames
Summary: ClassLoaderFactory lowercases jar filenames
Product: Tomcat 4
Version: 4.1.27
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: gbenson@redhat.com
When org.apache.catalina.startup.ClassLoaderFactory.createClassLoader() reads
the contents of the packed directory it lowercases the filenames. This breaks
if you have a case-sensitive filesystem -- if it finds a file named
"MySQL-JDBC.jar" then it will attempt to add it to the classpath as
"mysql-jdbc.jar", which causes the getCanonicalPath() call later in the function
to fail.