我正在使用远程会话bean来返回托管bean中的实体,但它会导致java.rmi.MarshalException,如下所示。
Warning: /login.xhtml @48,166 actionListener="#{AccountManagedBean.login}":
javax.ejb.EJBException: java.rmi.MarshalException: CORBA MARSHAL 1330446346 Maybe;
nested exception is:
org.omg.CORBA.MARSHAL: WARNING: 00810010: Error from readValue on ValueHandler in CDRInputStream
vmcid: OMG minor code: 10 completed: Maybe javax.el.ELException: /login.xhtml @48,166
actionListener="# {AccountManagedBean.login}": javax.ejb.EJBException: java.rmi.MarshalException:
CORBA MARSHAL 1330446346
但是,当我将界面从@remote设置为@local以返回实体时,它的工作完全正常。知道什么是错的吗?