axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TomazM <tomaz.majerh...@arnes.si>
Subject Re: hibernate and axis2
Date Tue, 06 Oct 2009 14:20:21 GMT
robert lazarski wrote:
> On Wed, Sep 30, 2009 at 9:53 AM, Andreas Veithen
> <andreas.veithen@gmail.com> wrote:
>>> I suggest you don't put all these jar's in the aar, put them in
>>> WEB-INF/lib . hibernate uses the TCCL and that won't work directly in
>>> an aar without some extra effort.
>> It should be enough to add the following parameter to the service:
>>
>> <parameter name="ServiceTCCL" locked="false">composite</parameter>
>>
>>

So where to put Hibernate persistance.xml in axis2 dir structure per one service?

Regards, Tomaz

>> Andreas
>>
> 
> Right. With only one end user aar and without the OP showing a need to
> have a hibernate session isolated to axis2, however, its probably
> overkill. Its possible to do spring and/or hibernate per aar, I just
> think it rarely makes sense. Just my 2 brazilian centavos :-) .
> 
> - R


Mime
View raw message