On Tue, Oct 6, 2009 at 11:20 AM, TomazM <[email protected]> wrote:
> robert lazarski wrote:
>> On Wed, Sep 30, 2009 at 9:53 AM, Andreas Veithen
>> <[email protected]> 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

Reply via email to