Login  Register

Re: binding RMIDispatcher to client

Posted by Brett on Aug 08, 2006; 10:36pm
URL: http://ofbiz.116.s1.nabble.com/binnding-RMIDispatcher-to-client-tp140489p140505.html

FYI,

Another quick fix to the RMI serialization problem is to explicitly
define the serialization constant, serialVersionUI.  Then it doesn't
matter if the code was compiled outside of eclipse (i.e. Ant for
ofbiz) or inside eclipse for your RMI test client.

For example:

  private static final long serialVersionUID = -6978458356505526156L;

This may be impractical to do for every serializable class in ofbiz
but it does work on a case by case basis.



Brett