You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cayenne.apache.org by Aristedes Maniatis <ar...@ish.com.au> on 2008/03/03 23:05:02 UTC

Re: hessian 3.1.3

On 26/02/2008, at 1:01 PM, Aristedes Maniatis wrote:

>
> On 24/02/2008, at 9:03 PM, Andrus Adamchik wrote:
>
>>
>> On Feb 24, 2008, at 11:26 AM, Aristedes Maniatis wrote:
>>
>>> Before I dig around in more detail, do these look familiar to  
>>> anyone. I can't see the obvious link between these two sets of tests
>>
>> Without seeing the errors, all these tests run a query with  
>> qualifier. Other tests from the same test case classes do not use  
>> qualifiers. So something in Expression serialization?
>
>
> I was unable to get the junit tests to give me the logging I wanted  
> (where do I put the log.properties file for maven to find?) but I  
> tested it in another environment and ran into problems serialising  
> the Node interface.
>
>     [java] 2008-02-25 22:22:27.923::WARN:  Nested in
> javax.servlet.ServletException:
> com.caucho.hessian.io.HessianFieldException:
> org.apache.cayenne.exp.parser.SimpleNode.children: [Ljava.lang.Object;
> ([Ljava.lang.Object;@719ebf) cannot be assigned to
> [Lorg.apache.cayenne.exp.parser.Node;:
>
> I've raised this on the Hessian mailing list to see if anyone has  
> seen this before.


I've just had some feedback from the Hessian people on this. Turns out  
to be an issue in Hessian 3.1.3 with serialising arrays of interfaces.  
They have it slated for fixing in Hessian 3.1.4 and I'll try it again  
in Cayenne after that.

The move from the Hessian 1 protocol to Hessian 2 protocol that this  
upgrade provides will apparently allow a significant reduction in  
message size and therefore speed improvement over slow links.

Ari


-------------------------->
ish
http://www.ish.com.au
Level 1, 30 Wilson Street Newtown 2042 Australia
phone +61 2 9550 5001   fax +61 2 9550 4001
GPG fingerprint CBFB 84B4 738D 4E87 5E5C  5EFA EF6A 7D2E 3E49 102A