org.apache.cayenne.CayenneRuntimeException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Exception when Using TestRestTemplate
    via Stack Overflow by winsik
    ,
    • org.apache.cayenne.CayenneRuntimeException: [v.3.0RC1 Jan 05 2010 14:44:59] Error establishing remote session. URL - http://localhost:8080/tutorial/cayenne-service; CAUSE - cannot retry due to server authentication, in streaming mode at org.apache.cayenne.remote.hessian.HessianConnection.connect(HessianConnection.java:229) at org.apache.cayenne.remote.hessian.HessianConnection.getServerEventBridge(HessianConnection.java:114) at org.apache.cayenne.remote.ClientChannel.setupRemoteChannelListener(ClientChannel.java:256) at org.apache.cayenne.remote.ClientChannel.<init>(ClientChannel.java:94) at org.apache.cayenne.remote.ClientChannel.<init>(ClientChannel.java:76) at org.apache.cayenne.remote.ClientChannel.<init>(ClientChannel.java:71) at org.apache.cayenne.remote.ClientChannel.<init>(ClientChannel.java:67) at org.example.cayenne.persistent.client.Main.main(Main.java:25) Caused by: java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1034) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) at com.caucho.hessian.client.HessianProxy.invoke(HessianProxy.java:168) at $Proxy0.establishSession(Unknown Source) at org.apache.cayenne.remote.hessian.HessianConnection.connect(HessianConnection.java:210) ... 7 more

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    1 more bugmates