This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Web Services and the fly likes Axis2 Service (mar) and hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis2 Service (mar) and hibernate" Watch "Axis2 Service (mar) and hibernate" New topic

Axis2 Service (mar) and hibernate

Robert Hogan

Joined: Apr 09, 2007
Posts: 4
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?
I agree. Here's the link:
subject: Axis2 Service (mar) and hibernate
It's not a secret anymore!