Axis2 Service (mar) and hibernate

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Axis2 Service (mar) and hibernate

tonaldisorder
I  need to access mysql DB via hibernate from a Axis2 mar. I have run into many class loading problems when attempting to programatically create my sessionfactory. The only workaround I can find is to copy all of the jars from my mar into the main axis2 WEB-INF/lib directory. That hardly encapsulates my mar, but at least it works. Anyone have a better idea?

Loading...