Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 52862 invoked from network); 23 Nov 2010 08:57:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Nov 2010 08:57:24 -0000 Received: (qmail 45060 invoked by uid 500); 23 Nov 2010 08:57:56 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 44897 invoked by uid 500); 23 Nov 2010 08:57:56 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 44889 invoked by uid 99); 23 Nov 2010 08:57:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 08:57:55 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [59.167.240.32] (HELO fish.ish.com.au) (59.167.240.32) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Nov 2010 08:57:46 +0000 Received: from ip-136.ish.com.au ([203.29.62.136]:62030) by fish.ish.com.au with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.69) (envelope-from ) id 1PKoga-0001bL-1Z for user@cayenne.apache.org; Tue, 23 Nov 2010 19:57:12 +1100 X-CTCH-RefID: str=0001.0A150203.4CEB81E8.012D,ss=1,fgs=0 Message-ID: <4CEB81E8.9070903@maniatis.org> Date: Tue, 23 Nov 2010 19:57:12 +1100 From: Aristedes Maniatis User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b3pre Thunderbird/3.1.6 MIME-Version: 1.0 To: user@cayenne.apache.org Subject: Re: problems after upgrading jetty and hessian to the latest version References: <4CE306AC.3000001@ish.com.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I can confirm that just swapping in the latest Hessian 4 binary breaks the Cayenne tests, although I did not spend any time trying to identify exactly what the issue was. Also, the version of Hessian we are using (3.1.6) looks to be missing from Maven Central. I would have sworn it was there before, but it can be found only at the caucho repository as far as I can tell. Should we push it to maven central ourselves or add the caucho repo to our pom? Ari On 23/11/10 7:46 PM, Andrus Adamchik wrote: > Haven't tried the latest Hessian, but historically Hessian arbitrarily changed the serialization protocol between versions, so switching to a newer version required some tweaking on our end. > > Jetty 7 on the other hand just works... The only thing that caused me trouble with 6->7 upgrade about a year ago, was a change in cookie encoding algorithm. > > Andrus > > > On Nov 17, 2010, at 12:33 AM, Marcin Skladaniec wrote: > >> Hello >> >> I was wondering if someone has tried cayenne with jetty 7 and hessian 4. >> >> After some trial and error I finally got to the stage where servlet is replying, but cayenne fails to establish ClientChannel. this is the log >> >> org.apache.cayenne.CayenneRuntimeException: [v.3.0.1 Aug 04 2010 18:38:23] Error establishing remote session. URL - http://localhost:8181/angel-server-cayenne; CAUSE - expected integer at 0x53 java.lang.String (org.apache.cayenne.remote.RemoteSession) >> [java] [O] S [\x00'org.apache.cayenne.remote.RemoteSession\x94\x04name\x09sessionId\x12eventBridgeFactory\x15eventBridgeParameterso\x90N\x1913mrh1ds35gq3cu0vcyroaazzNNz] >> at org.apache.cayenne.remote.hessian.HessianConnection.connect(HessianConnection.java:229) >> [java] at org.apache.cayenne.remote.hessian.HessianConnection.getServerEventBridge(HessianConnection.java:114) >> [java] at org.apache.cayenne.remote.ClientChannel.setupRemoteChannelListener(ClientChannel.java:299) >> [java] at org.apache.cayenne.remote.ClientChannel.(ClientChannel.java:95) >> [java] at org.apache.cayenne.remote.ClientChannel.(ClientChannel.java:77) >> [java] at org.apache.cayenne.remote.ClientChannel.(ClientChannel.java:72) >> [java] at ish.oncourse.ContextManager.getDataChannel(ContextManager.java:84) >> [java] at ish.oncourse.ContextManager.getChannel(ContextManager.java:70) >> [java] at ish.oncourse.ContextManager.getNewDedicatedContext(ContextManager.java:111) >> [java] at ish.oncourse.controller.ViewController.getContext(ViewController.java:1091) >> >> seems like something has changed on the deserialisation level(?) in hessian, but I cannot pinpoint what. >> >> Has someone hit or maybe solved this problem? >> Thanks >> Marcin >> > -- --------------------------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A