I start with EJB some days ago.
I am using JDeveloper 3.0 and Oracle 8i (8.1.6)
 
My special interest goes to stateless session beans.
Everything works fine with my tests.
But I just have primitive types or String as return values.
 
Now I add a new Serializable class with some public members.
This class should now be returned from an EJB call.
 
Looking up the EJB and creating a new instance works.
But if I try to call the new method, the following exception occurs.
What is wrong?
Why does it works with primitives and with objects it doesn't?
 
----------------------------------------------------------------
::: org.omg.CORBA.UNKNOWN
::::A non CORBA exception is caught by the ORB runtime on the server:::::::
null
org.omg.CORBA.UNKNOWN[minor=16, completed=MAYBE]
 at com.visigenic.vbroker.orb.SE.read(Compiled Code)
 at com.visigenic.vbroker.orb.GiopStubDelegate.invoke(Compiled Code)
 at com.visigenic.vbroker.orb.GiopStubDelegate.invoke(Compiled Code)
 at org.omg.CORBA.portable.ObjectImpl._invoke(Compiled Code)
 at ejbtest1._st_EJB1Remote.getSomething(Compiled Code)
 at ejbtest1.MyEJBJSClient.main(Compiled Code)
----------------------------------------------------------------

 

Reply via email to