what is NotSerializableForCorba ?


EJB programming & troubleshooting: what is NotSerializableForCorba ?

  1. what is NotSerializableForCorba ? (2 messages)

    i have created an ejb that has a method that accepts an command with a java.lang.reflect.Class and a java.lang.reflect.Method object inside.
    This doesn't seem to work (see exception).
    Does anybody know why? Because what i will do now, is work arround it, transport the class name and method name, and look it up on the other side.

    java.rmi.MarshalException: CORBA BAD_PARAM 1398079494 Maybe; nested exception is:
    org.omg.CORBA.BAD_PARAM: minor code: 1398079494 completed: Maybe
    org.omg.CORBA.BAD_PARAM: minor code: 1398079494 completed: Maybe
    at com.sun.corba.se.internal.util.Utility.throwNotSerializableForCorba(Utility.java:857)
  2. you have wrong versions for the packages to be imported/your parameters are not serializable.either of these only.

  3. indeed java.lang.Method is not Serializable.