This week's giveaway is in the Spring forum.
We're giving away four 3 month subscriptions to Marco Behler Videos and have Marco Behler on-line!
See this thread for details.
Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Call Local EJB From EJB EndPoint  RSS feed

Salman Riaz
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I have a very Simple Webservice deployed on Oracle OC4J Container.
Web Service End point is Stateless Session EJB.
I am trying to call other EJBs from within my EJB End point. Other EJB i am defiing as local with only local and local-home interface, and am defining in the EJB-JAR.xml as <ejb-local-ref> element within Session Tag of End Point EJB.

When i try to Run that EJB it gives me error as java.rmi.ServerException.

Where Client Calls --> EndpointEJB calls -->EndpointEjbInt_stub calls EndpointEJBBean.someMethod(), (this method is simple String return)

Another Method within the EndpointEJBBean is calling local beans method.

Please provide any help!!

Thanks in Advance.

Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!