[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-user
Subject:    Re: Axis2 / Spring3 / .aar file
From:       "robertlazarski ." <robertlazarski () gmail ! com>
Date:       2013-10-15 13:29:53
Message-ID: CABpPLBXP=znMho2D1OsAUQwgM==c3YwUj+232vs5ST5Hg-2CJQ () mail ! gmail ! com
[Download RAW message or body]

On Tue, Oct 15, 2013 at 8:48 AM, Simone <mo44@gmx.de> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic