Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis2 Service (mar) and hibernate

 
Robert Hogan
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic