I believe earlier version of Orion were quite forgiving on serialization.
Orion would serialize a class even if it it did not implement the serialable
interface.  If you make sure everything you are serializing implements the
interface I think that will solve your problem.

-----Original Message-----
From: Alexandru Balut [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 24, 2001 2:32 AM
To: Orion-Interest
Subject: 1.3.8 -> 1.5.2


Hi.

I have an application that works fine on Orion 1.3.8:
(This is from web.xml)

        <module>
                <ejb>web/WEB-INF/classes</ejb>
        </module>
        <module>
                <web>
                        <web-uri>web</web-uri>
                        <context-root>/</context-root>
                </web>
        </module>
        <module>
                <java>web/WEB-INF/classes</java>
        </module>


The problem is that it doesn't work on Orion 1.5.2. When I try to create 
an UClass entity bean through UClassInterface session bean:


        classID = uclassInter.addUClass(uclass).id ;


this error comes up: (at the end of the message)

Any idea why?

Thanx, Alex



com.evermind[Orion/1.5.2 (build 10460)].server.rmi.OrionRemoteException:
Error (de-)serializing object: com.ctk.ua.cgu.UClassValue       
at com.evermind[Orion/1.5.2 (build
10460)].server.ejb.EJBUtils.cloneObject(Unknown Source) 
at
UClassInterface_StatelessSessionBeanWrapper4.addUClass(UClassInterface_State
lessSessionBeanWrapper4.java:203)       
at /class.jsp._jspService(/class.jsp.java:136) (JSP page line 235)      
at com.orionserver[Orion/1.5.2 (build
10460)].http.OrionHttpJspPage.service(Unknown Source)   
at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)     
at com.evermind[Orion/1.5.2 (build
10460)].server.http.JSPServlet.service(Unknown Source)  
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)    
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)    
at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)     
at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)      
at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)      

Nested exception is:java.io.NotSerializableException:
com.ctk.ua.cgu.UClassValue      
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1161)

at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:372)  
at com.evermind[Orion/1.5.2 (build
10460)].server.ejb.EJBUtils.cloneObject(Unknown Source) 
at
UClassInterface_StatelessSessionBeanWrapper4.addUClass(UClassInterface_State
lessSessionBeanWrapper4.java:203)       
at /class.jsp._jspService(/class.jsp.java:136) (JSP page line 235)      
at com.orionserver[Orion/1.5.2 (build
10460)].http.OrionHttpJspPage.service(Unknown Source)   
at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)     
at com.evermind[Orion/1.5.2 (build
10460)].server.http.JSPServlet.service(Unknown Source)  
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._abe(Unknown Source)    
at com.evermind[Orion/1.5.2 (build 10460)]._cxb._uec(Unknown Source)    
at com.evermind[Orion/1.5.2 (build 10460)]._io._twc(Unknown Source)     
at com.evermind[Orion/1.5.2 (build 10460)]._io._gc(Unknown Source)      
at com.evermind[Orion/1.5.2 (build 10460)]._if.run(Unknown Source)

Reply via email to