At 19:18 12.04.2001 -0400, you wrote:
>Hi,
>
>I want to pass into a session bean my Category object.  I want to pass it in
>to my Seesion bean, but I get this error when I try to deploy:
>==================== Validation Errors =======================
>
>SBCategoryNode  store.browse
>        Remote interface
>                void setLog(org.apache.log4j.Category)
>                        Non-fatal Error:        This method is not
>RMI-compliant: check the type of the following argument:
>'org.apache.log4j.Category orgApacheLog4jCategory0'. See Enterprise
>JavaBeans v.1.1: 7.2.1, 9.2.
>
>I believe it is because the Category object is not Serializable?

Indeed, Category object is not serializable. You can however send the name of the 
category on the wire and retrieve a category with Category.getInstance(name). Hope 
this helps, Ceki


--
Ceki Gülcü


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to