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/02/24 10:26:49 UTC
hessian 3.1.3
I upgraded Hessian to 3.1.3 which is (according to people on the
Hessian lists) a bug fix release [1] over what we have now which they
highly recommend. But I get the following test errors in Cayenne:
Tests in error:
testIndexOf(org.apache.cayenne.remote.RemoteIncrementalFaultListTest)
testLastIndexOf
(org.apache.cayenne.remote.RemoteIncrementalFaultListTest)
testSelectQuerySimpleQualifier
(org.apache.cayenne.access.ClientServerChannelQueryTest)
testSelectQueryToManyRelationshipQualifier
(org.apache.cayenne.access.ClientServerChannelQueryTest)
testSelectQueryPrefetchToOne
(org.apache.cayenne.access.ClientServerChannelQueryTest)
testSelectQueryPrefetchToMany
(org.apache.cayenne.access.ClientServerChannelQueryTest)
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. It is a
little hard to understand the errors since I haven't yet been
successful in turning up the log level which running the junit tests
and the errors are not seen when running junit from Eclipse (it passes
just fine), just in maven.
Ari Maniatis
[1] http://www.caucho.com/resin-3.1/changes/changes.xtp (just look
for the word Hessian and ignore everything else)
-------------------------->
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
Re: hessian 3.1.3
Posted by Aristedes Maniatis <ar...@ish.com.au>.
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
Re: hessian 3.1.3
Posted by Aristedes Maniatis <ar...@ish.com.au>.
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.
Ari Maniatis
-------------------------->
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
Re: hessian 3.1.3
Posted by Andrus Adamchik <an...@objectstyle.org>.
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?
Andrus