Hi!

Just wanted to know if anyone has ever come a across the error :

             java.rmi.MarshalException Corba Bad_Param
 
Stateless Bean
---------------------
My stateless session bean (CmdProcessor) has a method signature of :
CmdProcessor.Process (ICommand aCmd)
Client
--------
My client creates the object (it implements the ICommand interface) :
CreateCmd c = new CreateCmd()
(CreateCmd implements the java.io.Serialization class)

The client calls the Process method in the session bean like so passing the :
CmdProcessor.Process (CreateCmd)

I receive the MarshalException error message.
Now using Abstract Class
-------------------------------
It works if I replace the CmdProcessor.Process (ICommand aCmd)
with an object and make the CreateCmd EXTEND AbstractCmd:
CmdProcessor.Process (AbstractCmd aCmd)

Is it that I cannot use an interface class with EJB method ???
What is the cause of this MalshalException error ?

Any ideas would be appreciated.
Thanks in advance

Glenn

Reply via email to