Re: [Resin-interest] Sometimes resin can find jdbc driver in webapp, other times no. What gives?

2009-06-25 Thread Shane Cruz
If you define your database pools at the server level in resin.conf,
then you need to put the JDBC drivers in the resin/lib directory so the
pools can be created when the server starts.
Privileged/Confidential Information may be contained in this message. If you 
are not the addressee indicated in this message (or responsible for delivery of 
the message to such person), you may not copy or deliver this message to 
anyone. In such case, you should destroy this message and kindly notify the 
sender by reply email. Please advise immediately if you or your employer does 
not consent to Internet email for messages of this kind. Opinions, conclusions 
and other information in this message that do not relate to the official 
business of my firm shall be understood as neither given nor endorsed by it.


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


Re: [Resin-interest] Sometimes resin can find jdbc driver in webapp, other times no. What gives?

2009-06-24 Thread Joseph Dane
where'd you get that idea?  unless things have changed very  
dramatically since 3.1.6 (the version I'm using) you can put database  
drivers in WEB-INF/lib just fine.

I don't know a simple way to find out the location from which classes  
are loaded.  I agree -- that could be quite useful.

If you're having problem with the driver living in WEB-INF/lib, then  
it's probably because you've got something *else* in resin/lib that  
needs the driver.  the classloaders can look up, but they can't look  
down.


On Jun 24, 2009, at 3:05 PM, Rick Mann wrote:

 It seems to me that resin ought to be able to find the MySQL JDBC
 driver when the jar is loaded from WEB-INF/lib, rather than requiring
 it to be installed in resin's lib.

 Is there a way to see when each specific jar gets loaded, so I can
 sort of verify that resin should have access to it or not?

 Thanks.



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

-- 

joe



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