java.io.IOException: Expected 'H' (Hessian 2.0) or 'c' (Hessian 1.0) in hessian input at 172

Spring JIRA | Sakib Mehasanewala | 8 years ago
  1. 0

    Hello, JIRA Issue says that Hessian 2 should work with Hessian 3.2.1. http://jira.springframework.org/browse/SPR-5469 . Are you sure this is working. I upgraded from Spring 3.0.0M2 to 3.0.0M3 and hessian from 3.2.0 to 3.2.1 and all my Hessian 2 calls started failing. I am filing this issue, because no one responsed to my comments for that issue. I hope this is okay. My Clients are configured like ... <bean id="userService" class="org.springframework.remoting.caucho.HessianProxyFactoryBean"> <property name="serviceUrl" value="${cbs2BaseUrl}/remoting/hessian/UserService" /> <property name="serviceInterface" value="com.test.services.cbs2.service.UserService" /> <property name="hessian2" value="true"/> </bean> The errors I see on the server side are: java.io.IOException: Expected 'H' (Hessian 2.0) or 'c' (Hessian 1.0) in hessian input at 172 at org.springframework.remoting.caucho.HessianExporter.doInvoke(HessianExporter.java:165) [org.springframework.web-3.0.0.M3.jar:3.0.0.M3] at org.springframework.remoting.caucho.HessianExporter.invoke(HessianExporter.java:119) [org.springframework.web-3.0.0.M3.jar:3.0.0.M3] at org.springframework.remoting.caucho.HessianServiceExporter.handleRequest(HessianServiceExporter.java:66) [org.springframework.web-3.0.0.M3.jar:3.0.0.M3] at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49) [org.springframework.web.servlet-3.0.0.M3.jar:3.0.0.M3]

    Spring JIRA | 8 years ago | Sakib Mehasanewala
    java.io.IOException: Expected 'H' (Hessian 2.0) or 'c' (Hessian 1.0) in hessian input at 172
  2. 0

    Hello, JIRA Issue says that Hessian 2 should work with Hessian 3.2.1. http://jira.springframework.org/browse/SPR-5469 . Are you sure this is working. I upgraded from Spring 3.0.0M2 to 3.0.0M3 and hessian from 3.2.0 to 3.2.1 and all my Hessian 2 calls started failing. I am filing this issue, because no one responsed to my comments for that issue. I hope this is okay. My Clients are configured like ... <bean id="userService" class="org.springframework.remoting.caucho.HessianProxyFactoryBean"> <property name="serviceUrl" value="${cbs2BaseUrl}/remoting/hessian/UserService" /> <property name="serviceInterface" value="com.test.services.cbs2.service.UserService" /> <property name="hessian2" value="true"/> </bean> The errors I see on the server side are: java.io.IOException: Expected 'H' (Hessian 2.0) or 'c' (Hessian 1.0) in hessian input at 172 at org.springframework.remoting.caucho.HessianExporter.doInvoke(HessianExporter.java:165) [org.springframework.web-3.0.0.M3.jar:3.0.0.M3] at org.springframework.remoting.caucho.HessianExporter.invoke(HessianExporter.java:119) [org.springframework.web-3.0.0.M3.jar:3.0.0.M3] at org.springframework.remoting.caucho.HessianServiceExporter.handleRequest(HessianServiceExporter.java:66) [org.springframework.web-3.0.0.M3.jar:3.0.0.M3] at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49) [org.springframework.web.servlet-3.0.0.M3.jar:3.0.0.M3]

    Spring JIRA | 8 years ago | Sakib Mehasanewala
    java.io.IOException: Expected 'H' (Hessian 2.0) or 'c' (Hessian 1.0) in hessian input at 172
  3. 0

    ถามเรื่อง การใช้ Remote Plug-in ใน grails คับ

    Google Groups | 7 years ago | OptixPro
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/myapp2/hessian/MyserviceService
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ถามเรื่อง การใช้ Remote Plug-in ใน grails คับ

    Google Groups | 7 years ago | OptixPro
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/myapp2/hessian/MyserviceService
  6. 0

    ถามเรื่อง การใช้ Remote Plug-in ใน grails คับ

    Google Groups | 7 years ago | OptixPro
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://localhost:8080/myapp2/hessian/MyserviceService

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Expected 'H' (Hessian 2.0) or 'c' (Hessian 1.0) in hessian input at 172

      at org.springframework.remoting.caucho.HessianExporter.doInvoke()
    2. Spring
      HessianServiceExporter.handleRequest
      1. org.springframework.remoting.caucho.HessianExporter.doInvoke(HessianExporter.java:165)[org.springframework.web-3.0.0.M3.jar:3.0.0.M3]
      2. org.springframework.remoting.caucho.HessianExporter.invoke(HessianExporter.java:119)[org.springframework.web-3.0.0.M3.jar:3.0.0.M3]
      3. org.springframework.remoting.caucho.HessianServiceExporter.handleRequest(HessianServiceExporter.java:66)[org.springframework.web-3.0.0.M3.jar:3.0.0.M3]
      3 frames
    3. Spring MVC
      HttpRequestHandlerAdapter.handle
      1. org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49)[org.springframework.web.servlet-3.0.0.M3.jar:3.0.0.M3]
      1 frame