axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert lazarski <robertlazar...@gmail.com>
Subject Re: hibernate and axis2
Date Tue, 06 Oct 2009 14:30:48 GMT
On Tue, Oct 6, 2009 at 11:20 AM, TomazM <tomaz.majerhold@arnes.si> wrote:
> 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
>

For just one service I'd say WEB-INF/classes , ie, the same location
if you weren't using axis2. Axis2 should be able to use any class at
that classloader level . See the spring guide for more info as the
concepts are similar.

- R

Mime
View raw message