On Tue, 23 Oct 2001, Carl Bacher wrote:
> Date: Tue, 23 Oct 2001 16:23:06 -0500
> From: Carl Bacher <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED],
> Tomcat <[EMAIL PROTECTED]>
> To: Tomcat <[EMAIL PROTECTED]>
> Subject: webapps/lib jar load order
>
> Is there a way to specify the order that jars get loaded/searched in the
> webapps/my-context/WEB-INF/lib directory?
>
> For example, if I place two jar files ( first.jar & second.jar ) in the
> webapp's lib directory, can I configure tomcat so that my webapp's
> classloader loads/searches second.jar before first.jar, or vice versa?
>
There are no guarantees about order of JAR file searching, and no way to
configure this. (Even if there was, it would be Tomcat-specific because
this is not defined in the spec.)
> Thanks, Carl
>
>
Craig