`

hessian3.2.1的一个问题

阅读更多

      hessian3.2.1工作在2.0-2.5.6spring下会出现问题哦。如果你遇到expected string at 0x6d这个错误信息那么看看这段话吧.不能百度啊,还是谷歌强些.搞了我一晚

 

Message: 2
Date: Tue, 10 Feb 2009 09:50:18 -0800
From: Scott Ferguson <ferg@caucho.com>
Subject: Re: [Hessian-interest] hessian 3.2.1: Does Hessian2Input
support hessian-1 input?
To: Discussion of the Hessian protocol <hessian-interest@caucho.com>
Message-ID: <D3DD4666-1F0E-41FA-BDCA-AAFD880F0FF8@caucho.com>
Content-Type: text/plain; charset="us-ascii"


On Feb 9, 2009, at 11:23 PM, Ho.Tri.Bao wrote:

> Hello,
>
> It seems to me that Hessian2Input in hessian 3.2.1 does not
> understand hessian 1 protocol whereas it did understand in hessian
> 3.1.2 -> 3.1.6. When I use hessian 3.2.1 in Sping framework, I
> always get the following exception
>
> com.caucho.hessian.io.HessianProtocolException: expected string at
> 0x6d
>
> Is it a bug or a feature?

Feature. The initial 3 bytes indicates the protocol and version. The
server needs to decode those three bytes and select the proper protocol.

Clients which need to support Hessian 1.0 servers should send "c \x02
\x00" and use Hessian 1.0 encoding. Clients which know the server is
Hessian 2.0 should send "H \x02 \x00".

-- Scott 

 

 

      原文在:http://forum.springframework.org/showthread.php?t=66876 

分享到:
评论

相关推荐

    Hessian-3.2.1.jar和源码

    Hessian是一个轻量级的remotingonhttp工具,使用简单的方法提供了RMI的功能。相比Webservice,Hessian更简单、快捷。采用的是二进制RPC协议,因为采用的是二进制协议,所以它很适合发送二进制数据。

    Hessian多个版本打包下载

    Hessian多个版本下载,包括Hessian3.1.6,Hessian3.2.1,Hessian4.0.7

    hessian-lite-3.2.1-fixed-2.jar

    com.alibaba:hessian-lite:jar:3.2.1-fixed-2 hessian-lite hessian-lite-3.2.1-fixed-2.jar

    hessian-lite-3.2.1-fixed-2-sources.jar

    java运行依赖jar包

    hessian-lite

    dubbo依赖的hessian-lite,版本号是3.2.1-fixed-2,通过下载该源码后,mvn install到本地,解决dubbo源码编译时依赖的hessian-lite的问题

    hessian lite

    hessian-lite-3.2.1-fixed-2.jar 有时源码编译dubbo时没有该jar

    hessian

    NULL 博文链接:https://laodaobazi.iteye.com/blog/1916179

    spring in action英文版

     6.6.2 在Spring里置入一个Web Service  6.7 小结  第7章 访问企业服务  7.1 从JNDI中获取对象  7.1.1 使用传统的JNDI  7.1.2 代理JNDI对象  7.2 发送电子邮件  7.3 调度任务  7.3.1 使用...

    complex valued matrix derivatives

    3.2.1 Procedure for Finding Complex Differentials 46 3.2.2 Basic Complex Differential Properties 46 3.2.3 Results Used to Identify First- and Second-Order Derivatives 53 viii Contents 3.3 Derivative ...

    Spring in Action(第2版)中文版

    2.2.1声明一个简单的bean 2.2.2通过构造函数注入 2.3注入bean属性 2.3.1注入简单的数值 2.3.2使用其他的bean 2.3.3装配集合 2.3.4装配空值 2.4自动装配 2.4.1四种自动装配类型 2.4.2混合使用自动和手动装配...

    Spring in Action(第二版 中文高清版).part2

    2.2.1 声明一个简单的Bean 2.2.2 通过构造函数注入 2.3 注入Bean属性 2.3.1 注入简单的数值 2.3.2 使用其他的Bean 2.3.3 装配集合 2.3.4 装配空值 2.4 自动装配 2.4.1 四种自动装配类型 2.4.2 混合使用...

    Spring in Action(第二版 中文高清版).part1

    2.2.1 声明一个简单的Bean 2.2.2 通过构造函数注入 2.3 注入Bean属性 2.3.1 注入简单的数值 2.3.2 使用其他的Bean 2.3.3 装配集合 2.3.4 装配空值 2.4 自动装配 2.4.1 四种自动装配类型 2.4.2 混合使用...

    Spring 2.0 开发参考手册

    9.9.1. 对一个特定的 DataSource 使用错误的事务管理器 9.10. 更多的资源 10. DAO支持 10.1. 简介 10.2. 一致的异常层次 10.3. 一致的DAO支持抽象类 11. 使用JDBC进行数据访问 11.1. 简介 11.1.1. Spring ...

    Spring中文帮助文档

    9.9.1. 对一个特定的 DataSource 使用了错误的事务管理器 9.10. 更多的资源 10. DAO支持 10.1. 简介 10.2. 一致的异常层次 10.3. 一致的DAO支持抽象类 11. 使用JDBC进行数据访问 11.1. 简介 11.1.1. 选择一...

    Spring API

    9.9.1. 对一个特定的 DataSource 使用了错误的事务管理器 9.10. 更多的资源 10. DAO支持 10.1. 简介 10.2. 一致的异常层次 10.3. 一致的DAO支持抽象类 11. 使用JDBC进行数据访问 11.1. 简介 11.1.1. 选择一种...

    spring chm文档

    9.9.1. 对一个特定的 DataSource 使用错误的事务管理器 9.10. 更多的资源 10. DAO支持 10.1. 简介 10.2. 一致的异常层次 10.3. 一致的DAO支持抽象类 11. 使用JDBC进行数据访问 11.1. 简介 11.1.1. Spring ...

    SSH整合rar包【齐全】

    commons-collections-3.2.1.jar commons-csv-1.0-20140408.132110-266.jar commons-csv-1.0-20140810.151918-300.jar commons-digester-2.1.jar commons-fileupload-1.2.2.jar commons-httpclient-3.1.jar commons-...

    Spring-Reference_zh_CN(Spring中文参考手册)

    9.9.1. 对一个特定的 DataSource 使用错误的事务管理器 9.10. 更多的资源 10. DAO支持 10.1. 简介 10.2. 一致的异常层次 10.3. 一致的DAO支持抽象类 11. 使用JDBC进行数据访问 11.1. 简介 11.1.1. Spring JDBC包结构...

Global site tag (gtag.js) - Google Analytics