On Oct 8, 2008, at 11:33 AM, Jason Deffenbaugh wrote:

> <servlet-hack> successfully loaded the classpath in the reverse order.

You really don't want to use <servlet-hack>.  It breaks the whole Java  
classloader architecture.

-- Scott

>
> Thanks!
>
> -Jason
>
> On Wed, 2008-10-08 at 19:44 +0200, BUSCH Steffen wrote:
>> I think you're looking for the <servlet-hack>
>> http://caucho.com/resin/doc/env-tags.xtp#servlet-hack
>> which should not be used in general! I would prefer any other  
>> solution, such as duplicating your 'common' but older oracle driver  
>> jar into the WEB-INF/lib of the other web-apps ...
>>
>>
>> -----Urspr√ľngliche Nachricht-----
>> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
>> ] Im Auftrag von Jason Deffenbaugh
>> Gesendet: Mittwoch, 8. Oktober 2008 19:20
>> An: resin-interest@caucho.com
>> Betreff: [Resin-interest] override global classpath with webapp  
>> classpath
>>
>> We're configuring resin to connect to a db using an oracle db driver.
>> The driver jar is in ${server.root}/lib.  The problem is that for  
>> one webapp I need to change the version of the oracle driver so I  
>> put the new driver jar in WEB-INF/lib in the webapp.  Resin appears  
>> to be ignoring the local version of the driver class in favor of  
>> the global one.
>>
>> Is there a way to configure resin to load the webapp local  
>> classpath first instead of the global one?
>>
>> Thanks,
>>
>> -Jason
>>
>>
>>
>> _______________________________________________
>> resin-interest mailing list
>> resin-interest@caucho.com
>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>>
>>
>>
>>
>> _______________________________________________
>> resin-interest mailing list
>> resin-interest@caucho.com
>> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
>
>
> _______________________________________________
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to