tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Cook" <jimc...@iname.com>
Subject Curious about classes in server directory
Date Wed, 04 Oct 2000 18:22:11 GMT
I'm just curious why the classes in <tomcat>/server are duplicated by the
classes in <tomcat>/lib. Since the classes in <tomcat>/lib are specified in the
VMs classpath, one would think that tomcat wouldn't have to load these classes
from <tomcat>/server.

The reason for the duplication must assume that the server's classloader (for
server-specific functionality), must exclude the system classpath. Why is that?
I am not aware of a security problem with this approach, unless the server class
loader looks at the VM classpath first. Is this the case?

thanks,
jim


Mime
View raw message