Re: Axis2 / Spring3 / .aar file
"robertlazarski ." <[email protected]>
| Newsgroups | gmane.text.xml.axis.user |
|---|---|
| Message-ID | <CABpPLBXP=znMho2D1OsAUQwgM==c3YwUj+232vs5ST5Hg-2CJQ@mail.gmail.com> |
On Tue, Oct 15, 2013 at 8:48 AM, Simone <[email protected]> wrote: > I copied the mysql connector jar to the web-inf/lib folder... now it works. > But I prefer that it's using the jars from the .aar file. > Is the lib folder the correct place for the jars in the .aar file??? > > Some libs like hibernate and DB drivers must be loaded from the Thread Context ClassLoader (TCCL) of the Servlet container, ie WEB-INF/lib. Hibernate in particular AFAIK requires the TCCL. I went thru my email history on this from way back around the axis2 1.0 days, and the conclusion was that some things cannot be loaded from the AAR. - R