Hmm. I don't have the connector jar outside my webapps in any other environment. I can't remember what it is I did to fix it last time.
On Mar 13, 2014, at 15:37 , Rick Mann <rm...@latencyzero.com> wrote: > Oh! Sorry. That was it. Argh. I am embarrassed (and annoyed with myself, > since I've lost precious development time). > > Thank you. > > Now I'm back to an issue I had earlier (which I realize now I was solving > when I created this problem), and that is that Resin can't find the MySQL > driver in WEB-INF/lib when it goes to create the DataSource. This is a > problem that has plagued me for years, and each time I eventually get things > to work, but each new environment seem to trip me up. > > It seems to me that if the tree-loader points to lib, and the MySQL connector > jar is in there, Resin should be able to find it. Is it trying to create this > datasource before the tree-loader can load classes? I guess that also makes > sense, since this configuration is "outside" of my webapp, and therefore not > controlled by it. > > Is that the right understanding? By that understanding, I should be able to > instantiate the datasource inside my webapp instead, using the jar inside the > webapp, no? > > Thanks again for spotting my error! > > On Mar 13, 2014, at 15:31 , Alex Rojkov <a...@caucho.com> wrote: > >> Hm… In the referenced resin.xml the classloader is in the host section. Can >> you move it into the web-app section and try accessing one of your mapped >> servlets? >> >> Alex >>> >> >> >>> >>>> And can you move the class-loader registration inside the web-app please? >>>> If that doesn’t work please post log and conf/*.xml conf/*.properties >>>> someplace. >>> >>> It's inside the web-app inside resin.xml. >>> >>> resin.xml: http://pastebin.com/tY8MRf3S >>> app-defaults.xml: http://pastebin.com/iF8F6Ug9 >>> cluster-default.xml: http://pastebin.com/n84jPp1S >>> >>> properties: http://pastebin.com/sMBTiNfi >>> >>> It's probably something really stupid that I did, and I'll be suitably >>> embarrassed when you point it out. >>> >>> Thanks! >>> >>> -- >>> Rick >>> >>> >>> >>> _______________________________________________ >>> resin-interest mailing list >>> email@example.com >>> http://maillist.caucho.com/mailman/listinfo/resin-interest >> >> >> _______________________________________________ >> resin-interest mailing list >> firstname.lastname@example.org >> http://maillist.caucho.com/mailman/listinfo/resin-interest > > > -- > Rick > > > > _______________________________________________ > resin-interest mailing list > email@example.com > http://maillist.caucho.com/mailman/listinfo/resin-interest -- Rick
Description: Message signed with OpenPGP using GPGMail
_______________________________________________ resin-interest mailing list firstname.lastname@example.org http://maillist.caucho.com/mailman/listinfo/resin-interest