Well, his bug is more related to where the xerces.jar should go, I
think. Under 4.1.12, place your jar file under the common/endorsed
folder. Tomcat uses that directory at startup: -Djava.endorsed.dirs.
More info at:
http://java.sun.com/j2se/1.4/docs/guide/standards/
-- Jeanfrancois
Greg Bullough wrote:
> Yes, I did and it got answered here :-)
>
> By default, the settings in $CATALINA_HOME/conf/catalina.policy
> exclude the local directories from the Class Loader hierarchy,
> for security reasons. You have to grant EACH codebase that
> is a WEB-INF subdirectory explicit permissions (use other
> entries in that file as a model) to execute java code.
>
> I've opened a documentation bug suggesting that this be
> documented in the class loader HOWTO.
>
> Greg
>
> At 06:18 AM 10/23/02 -0600, Vijay KN wrote:
>
>> Hi,
>>
>> I have developed a servlet that works with a specific version of
>> 'xerces.jar' and want to ensure that the class loaded picks this
>> version of xerces.jar when the servlet is invoked.
>>
>> The Class Loader INFO note that explains how the class loader works
>> in Tomcat 4 says that the local repositories (WEB-INF/classes &
>> WEB-INF/lib of the web application) are always looked first. This
>> works fine with Tomcat 4.0.5. However it is apparently not working
>> with the latest Tomcat build 4.1.12.
>>
>> Anyone faced this problem ? I would appreciate your response.
>>
>> thanks
>> vijay
>>
>>
>>
>>
>> --
>> To unsubscribe, e-mail:
>> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>> For additional commands, e-mail:
>> <mailto:tomcat-user-help@jakarta.apache.org>
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-user-help@jakarta.apache.org>
>
>
--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
|