The moose likes EJB and other Java EE Technologies and the fly likes Call EJB method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Call EJB method" Watch "Call EJB method" New topic

Call EJB method

Andris Sigs

Joined: Sep 16, 2013
Posts: 18
Sorry for my English.

I have EJB:

When I call doSale method remotely, I get error on server:

Other methods in this class works successfully.
Please help. Thanks You!

Jorge Montes

Joined: Mar 03, 2012
Posts: 12
The exception cause is: wrong number of arguments. You are calling the method doSale(SaleModel sale) with the wrong arguments. How are you calling the method?
Andris Sigs

Joined: Sep 16, 2013
Posts: 18


sale is instance of SaleModel.
James Boswell

Joined: Nov 09, 2011
Posts: 1012

Meanwhile, over on SO:

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Call EJB method
Similar Threads
ejb error
Loading BusinessDelegates in Servlet Context?
error delploying ear file on JBOSS 3.0.8
EJB Deployment descriptor problem
Jboss Error