Re: [Resin-interest] override global classpath with webapp classpath

2008-10-08 Thread BUSCH Steffen
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


Re: [Resin-interest] override global classpath with webapp classpath

2008-10-08 Thread Jason Deffenbaugh
Thanks, I understand and will hopefully be able to get this done the
correct way soon... in the meantime we need to get this webapp out and
QA doesn't want to test the new driver on the other apps.  :)

-Jason

On Wed, 2008-10-08 at 12:22 -0700, Scott Ferguson wrote:
 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



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