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 34166] New: - ClassLoader and Loader.delegate
Date Thu, 24 Mar 2005 17:10:11 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34166>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34166

           Summary: ClassLoader and Loader.delegate
           Product: Tomcat 5
           Version: 5.5.7
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: lionel.farbos@free.fr


Hi,

Because I have no response here
http://marc.theaimsgroup.com/?l=tomcat-user&m=111159856524453&w=2
I think it is perhaps a bug...

Within the ClassLoader behaviour, I thought that a Class was searched 
1- in the WebAppClassLoader
2- then, in the Common ClassLoader.

But as you say in the Loader documentation, this order can be changed with the
attribute delegate.

But, in my test, I have 
DriverMysql-2.0.14 under common/lib/
and DriverMysql-3.0.15 in my war.

and whatever the value of Loader.delegate,
the Common/lib/Driver is used :-(

Note: I use TC5.5.7 with jdk1.5.0_01 on Linux(but I think it is not Linux
dependant).

Cheers.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
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