Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [Installation,
 Configuration & DEPLOYMENT] - RMI argument in EJB method

scott.stark@jboss.org

2007-07-17


I'm beginner in j2EE, but i suppose that all I do is correct :)

JBoss 4.0.5 throws exception for RMI argument in my EJB method during deploying of my application.


| 12:59:41,260 WARN [verifier] EJB spec violation:
| Bean  : AccountSessionEJB
| Method : public abstract boolean addAccount(Account) throws RemoteException
| Section: 7.11.5
| Warning: The method arguments in the remote interface must be of valid types for RMI/IIOP.
|

RMI Interface looks like:

| public interface AccountSession extends EJBObject {
|   public boolean addAccount(Account ac) throws RemoteException;
| }
|

defining ot type:

| import java.rmi.Remote;
| public class Account implements Remote {
| }
|


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064924#4064924

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4064924
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.