logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Glezen <pgle...@atdial.net>
Subject Re: Serialization error - help needed
Date Fri, 14 Sep 2001 23:54:37 GMT
Kevin Johnson wrote:
[snip]
> VisualAge.  In its remote interface I have a method with argument of
> type Priority. It allowed me to create it only after rewriting
> Priority class implenting Serializable interface.(original Priority
> class is not implenting Serializable interface). But when I deployed
[snip]

Kevin,

  It seems you have solved your problems by synchronizing your libraries
appropriately.  However, I would like to suggest you use the integer
representation of the priority and pass that rather than a Priority
object that you have to marshal and un-marshal with each call.  The
Priority class provides the toPriority and toInt methods to facilitate
this.

- Paul
-- 
Beware of bugs in the above code.  I have
only proved it correct, not tried it.
-Don Knuth

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message