I have an
EJB that uses a helper class to retrieve information from ldap. In every other method I receive no errors but in one I get:
java.rmi.MarshalException: CORBA MARSHAL 1229125786 No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Mismatched serialization UIDs : Source (Rep. IDRMI:com.anico.dasd.ejb.util.AgentInformationFromLDAP:8BCED5C4CE89FB00:6CA5AA1E270C1489) = 6CA5AA1E270C1489 whereas Target (Rep. ID RMI:com.anico.dasd.ejb.util.AgentInformationFromLDAP:8BCED5C4CE89FB00:FEB9E2DAA1FC36E6) = FEB9E2DAA1FC36E6 minor code: 4942F89A completed: No
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : Mismatched serialization UIDs : Source (Rep. IDRMI:com.anico.dasd.ejb.util.AgentInformationFromLDAP:8BCED5C4CE89FB00:6CA5AA1E270C1489) = 6CA5AA1E270C1489 whereas Target (Rep. ID RMI:com.anico.dasd.ejb.util.AgentInformationFromLDAP:8BCED5C4CE89FB00:FEB9E2DAA1FC36E6) = FEB9E2DAA1FC36E6 minor code: 4942F89A completed: No
at com.ibm.rmi.iiop.CDRInputStream.read_value(CDRInputStream.java:1567)
at com.anico.access.ldap.ejb._Ldap_Stub.getUserInfoFromLdap(_Ldap_Stub.java:341)
at com.anico.test.ejb.TestEJB.main(TestEJB.java:34)
Any idea what I am doing wrong here?