On Tue, Sep 29, 2009 at 10:48 PM, Tony Ennis <tony.en...@insightbb.com> wrote:
> Ahhh.  Slowly the light comes on.
>
> So, you're saying a minimal aar file, and then a separately constructed war
> that gets embedded into an Axis2 directory that's in the classpath.  I
> wasn't aware you could plop a war file in there indiscriminately - I thought
> they were only for deployed applications like webapps.
>
> I will try this first thing tomorrow.
>

Just to be clear, I'm saying I'd do something like this:

./myService.aar
./META-INF
./META-INF/MANIFEST.MF
./META-INF/services.xml

./myWAR
./WEB-INF/lib
./WEB-INF/lib/hibernate3.jar
./WEB-INF/classes
./WEB-INF/classes/persistence.xml
./WEB-INF/classes/com/mycompany/*
./WEB-INF/services
./WEB-INF/services/myService.aar

>From there, I'd verify that hibernate is working in the war via a
non-axis2 class like a servlet etc - from there integrating hibernate
into axis2 is a separate and easier problem, ie, just access it the
same way your non-axis2 classes do.

- R

Reply via email to