problems after upgrading jetty and hessian to the latest version

From: Marcin Skladaniec (marci..sh.com.au)
Date: Tue Nov 16 2010 - 22:33:16 UTC

  • Next message: Borut Bolčina: "Search order for cayenne.xml"

    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.<init>(ClientChannel.java:95)
          [java] at
    org.apache.cayenne.remote.ClientChannel.<init>(ClientChannel.java:77)
          [java] at
    org.apache.cayenne.remote.ClientChannel.<init>(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



    This archive was generated by hypermail 2.0.0 : Tue Nov 16 2010 - 22:34:06 UTC