Anonymous | Login | Signup for a new account | 12-17-2024 10:57 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0000017 | [Resin] | minor | always | 03-03-05 00:00 | 05-11-05 00:00 | ||||
Reporter | joshh | View Status | public | ||||||
Assigned To | |||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | |||||||
Summary | 0000017: Hessian readResolve writeReplace issues. | ||||||||
Description |
RSN-7 Hessian has problems serializing objects that use readResolve and writeReplace methods. - Will not call readReplace or writeResolve unless they are declared public. This is not a huge issue, but normally these methods can be given any modifier and it will work. - When I change the methods to public and readReplace/writeResolve is used on an object I get the following error: com.caucho.hessian.io.HessianProtocolException: testing_Test: unknown code:z at com.caucho.hessian.io.HessianInput.error(HessianInput.java:1640) at com.caucho.hessian.io.HessianInput.readObject(HessianInput.java:1143) at com.caucho.hessian.io.JavaDeserializer.readMap(JavaDeserializer.java:141) at com.caucho.hessian.io.JavaDeserializer.readMap(JavaDeserializer.java:105) at com.caucho.hessian.io.HessianInput.readObject(HessianInput.java) at _ejb.nms.ejb.RepriceEngine__HessianSkel._execute(RepriceEngine__HessianSkel.java:22) at com.caucho.ejb.hessian.HessianSkeleton._service(HessianSkeleton.java:93) at com.caucho.ejb.EJBServlet.service(EJBServlet.java:205) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:341) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:467) at com.caucho.util.ThreadPool.run(ThreadPool.java:408) at java.lang.Thread.run(Thread.java:534) Attached is a very simple object that I tried to serialize using hessian that will demonstrate the issue. |
||||||||
Additional Information |
Resin 3.0.12 Java 1.4.2_07 Windows XP SP2 |
||||||||
Attached Files | |||||||||
|
Issue History | |||
Date Modified | Username | Field | Change |
03-03-05 00:00 | joshh | New Issue | |
11-30-05 00:00 | administrator | Fixed in Version | => 3.0.13 |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 27 unique queries executed. |