[
https://issues.apache.org/jira/browse/CAY-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787901#action_12787901
]
Marcin Skladaniec commented on CAY-1331:
----------------------------------------
forgot to mention, server side there are no exceptions, from server point of
view everything is ok.
this is client side only.
> hessian upgrade stops rop
> -------------------------
>
> Key: CAY-1331
> URL: https://issues.apache.org/jira/browse/CAY-1331
> Project: Cayenne
> Issue Type: Bug
> Components: Cayenne Core Library
> Affects Versions: 3.0 beta 1
> Reporter: Marcin Skladaniec
>
> I tried to upgrade to most recent hessian library (4.0.2). The Cayenne
> Hessian transport stopped working. On client connection is created ok, but
> once the client-server data channel is created following exception is thrown:
> [java] 13:45:27,866 [AWT-EventQueue-0] INFO
> org.apache.cayenne.remote.hessian.HessianConnection :189 - Connecting to
> [admin:****...@http://delish.ish.com.au:8181/angel-server-cayenne] -
> dedicated session.
> [java] 13:45:28,428 [AWT-EventQueue-0] INFO
> org.apache.cayenne.remote.hessian.HessianConnection :228 - Error establishing
> remote session. URL - http://delish.ish.com.au:8181/angel-server-cayenne;
> CAUSE - expected integer at 0x53 java.lang.String
> [java] 13:45:28,430 [AWT-EventQueue-0] INFO
> ish.oncourse.controller.LoginController :429 - Authentication failed.
> [java] org.apache.cayenne.CayenneRuntimeException: [v.3.0B1 Nov 03 2009
> 19:16:06] Error establishing remote session. URL -
> http://delish.ish.com.au:8181/angel-server-cayenne; CAUSE - expected integer
> at 0x53 java.lang.String (org.apache.cayenne.remote.RemoteSession)
> [java] 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:256)
> [java] at
> org.apache.cayenne.remote.ClientChannel.<init>(ClientChannel.java:94)
> [java] at
> org.apache.cayenne.remote.ClientChannel.<init>(ClientChannel.java:76)
> [java] at
> org.apache.cayenne.remote.ClientChannel.<init>(ClientChannel.java:71)
> [java] at
> ish.oncourse.ContextManager.getDataChannel(ContextManager.java:81)
> [java] at
> ish.oncourse.ContextManager.getChannel(ContextManager.java:70)
> [java] at
> ish.oncourse.ContextManager.getNewDedicatedContext(ContextManager.java:107)
> ....
> [java] Caused by: com.caucho.hessian.io.HessianProtocolException:
> expected integer at 0x53 java.lang.String
> (org.apache.cayenne.remote.RemoteSession)
> [java] at
> com.caucho.hessian.io.Hessian2Input.error(Hessian2Input.java:2765)
> [java] at
> com.caucho.hessian.io.Hessian2Input.expect(Hessian2Input.java:2736)
> [java] at
> com.caucho.hessian.io.Hessian2Input.readInt(Hessian2Input.java:796)
> [java] at
> com.caucho.hessian.io.Hessian2Input.readObject(Hessian2Input.java:1621)
> [java] at
> com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:253)
> [java] at $Proxy2.establishSession(Unknown Source)
> [java] at
> org.apache.cayenne.remote.hessian.HessianConnection.connect(HessianConnection.java:210)
> [java] ... 48 more
> as additional info: in our setup we are using basic authentication username
> and password
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.