• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Call Jar pojo method from SAR

 
Anurag Bhatia
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have and 2 files deployed on my jboss-4.2.2.GA server -

100project.ear (which contains other jar files)
200mbean.sar

I have to call a method in a pojo (which in turn calls an EJB Session bean) from one of the jars residing in the ear file. If I call the method directly from the sar then I get a ClassNotFoundException (no suprises there). I tried adding the jar to be called to the sar manifest.mf classpath but that did not work either. How do I make the sar call the method correctly?

--Anurag
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just answered this question in your jboss.org forum thread http://community.jboss.org/thread/166246?tstart=0

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic