问题记录:
1. param乱码问题
DbossError: com.duitang.dboss.client.exception.DbossClientException: dboss invoke ERROR: url=dboss2://blogQueryService/queryBlogDetail?q=%5B%22%5B%7B%5C%22blogid%5C%22%3A+90041121%2C+%5C%22userid%5C%22%3A+%5C%221574088%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91933745%2C+%5C%22ts%5C%22%3A+1376868436000%7D%2C+%7B%5C%22blogid%5C%22%3A+91930973%2C+%5C%22userid%5C%22%3A+%5C%221308238%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91931749%2C+%5C%22ts%5C%22%3A+1376863967000%7D%2C+%7B%5C%22blogid%5C%22%3A+91924730%2C+%5C%22userid%5C%22%3A+%5C%22870602%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91930973%2C+%5C%22ts%5C%22%3A+1376861338000%7D%2C+%7B%5C%22blogid%5C%22%3A+90041121%2C+%5C%22userid%5C%22%3A+%5C%221012227%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91930707%2C+%5C%22ts%5C%22%3A+1376859948000%7D%2C+%7B%5C%22blogid%5C%22%3A+90041121%2C+%5C%22userid%5C%22%3A+%5C%221714508%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_LIKE%5C%22%2C+%5C%22id%5C%22%3A+5572156%2C+%5C%22ts%5C%22%3A+1376848388000%7D%2C+%7B%5C%22blogid%5C%22%3A+91869612%2C+%5C%22userid%5C%22%3A+%5C%22229946%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91924730%2C+%5C%22ts%5C%22%3A+1376847565000%7D%2C+%7B%5C%22blogid%5C%22%3A+91010958%2C+%5C%22userid%5C%22%3A+%5C%22974501%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91923550%2C+%5C%22ts%5C%22%3A+1376846531000%7D%2C+%7B%5C%22blogid%5C%22%3A+90041121%2C+%5C%22userid%5C%22%3A+%5C%221715131%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_LIKE%5C%22%2C+%5C%22id%5C%22%3A+5568882%2C+%5C%22ts%5C%22%3A+1376836168000%7D%2C+%7B%5C%22blogid%5C%22%3A+90041121%2C+%5C%22userid%5C%22%3A+%5C%22651082%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91869612%2C+%5C%22ts%5C%22%3A+1376827065000%7D%2C+%7B%5C%22blogid%5C%22%3A+90041121%2C+%5C%22userid%5C%22%3A+%5C%221252169%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91859454%2C+%5C%22ts%5C%22%3A+1376823271000%7D%2C+%7B%5C%22blogid%5C%22%3A+90041121%2C+%5C%22userid%5C%22%3A+%5C%221252169%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91859484%2C+%5C%22ts%5C%22%3A+1376823260000%7D%2C+%7B%5C%22blogid%5C%22%3A+91058362%2C+%5C%22userid%5C%22%3A+%5C%221379858%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91854765%2C+%5C%22ts%5C%22%3A+1376821438000%7D%2C+%7B%5C%22blogid%5C%22%3A+90041121%2C+%5C%22userid%5C%22%3A+%5C%22616461%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91840826%2C+%5C%22ts%5C%22%3A+1376816139000%7D%2C+%7B%5C%22blogid%5C%22%3A+90041121%2C+%5C%22userid%5C%22%3A+%5C%22616461%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_LIKE%5C%22%2C+%5C%22id%5C%22%3A+5562127%2C+%5C%22ts%5C%22%3A+1376816127000%7D%2C+%7B%5C%22blogid%5C%22%3A+91805987%2C+%5C%22userid%5C%22%3A+%5C%22587281%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91839368%2C+%5C%22ts%5C%22%3A+1376815741000%7D%2C+%7B%5C%22blogid%5C%22%3A+90041121%2C+%5C%22userid%5C%22%3A+%5C%221684341%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91805987%2C+%5C%22ts%5C%22%3A+1376803953000%7D%2C+%7B%5C%22blogid%5C%22%3A+90041121%2C+%5C%22userid%5C%22%3A+%5C%221441001%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91802007%2C+%5C%22ts%5C%22%3A+1376802457000%7D%2C+%7B%5C%22blogid%5C%22%3A+91792146%2C+%5C%22userid%5C%22%3A+%5C%221614329%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91798584%2C+%5C%22ts%5C%22%3A+1376800900000%7D%2C+%7B%5C%22blogid%5C%22%3A+90041121%2C+%5C%22userid%5C%22%3A+%5C%22809181%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_LIKE%5C%22%2C+%5C%22id%5C%22%3A+5557284%2C+%5C%22ts%5C%22%3A+1376798195000%7D%2C+%7B%5C%22blogid%5C%22%3A+91772870%2C+%5C%22userid%5C%22%3A+%5C%22809181%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_LIKE%5C%22%2C+%5C%22id%5C%22%3A+5557283%2C+%5C%22ts%5C%22%3A+1376798195000%7D%2C+%7B%5C%22blogid%5C%22%3A+91772870%2C+%5C%22userid%5C%22%3A+%5C%22809181%5C%22%2C+%5C%22type%5C%22%3A+%5C%22EVENT_BLOG_FORWARD%5C%22%2C+%5C%22id%5C%22%3A+91792146%2C+%5C%22ts%5C%22%3A+1376798184000%7D%5D%22%5D ,message=
500com.duitang.dboss.remote.oio.DbossException: java.lang.NumberFormatException: For input string: "{id=91933745, ts=1376868436000, userid=1574088, blogid=90041121, type=EVENT_BLOG_FORWARD}"
at com.duitang.dboss.service.ServiceInvoker.doaccept2(ServiceInvoker.java:119)
at com.duitang.dboss.service.ServiceInvoker.accept(ServiceInvoker.java:46)
at com.duitang.dboss.remote.nio.DbossServerHandler.messageReceived(DbossServerHandler.java:40)
at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:98)
at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:560)
at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:796)
at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:69)
at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:307)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NumberFormatException: For input string: "{id=91933745, ts=1376868436000, userid=1574088, blogid=90041121, type=EVENT_BLOG_FORWARD}"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Long.parseLong(Long.java:410)
at java.lang.Long.valueOf(Long.java:525)
at com.duitang.dboss.resolve.resolvers.SimpleDataResolver.resolve(SimpleDataResolver.java:35)
at com.duitang.dboss.resolve.resolvers.CollectionDataResolver.resolve(CollectionDataResolver.java:59)
at com.duitang.dboss.service.ServiceInvoker.doaccept2(ServiceInvoker.java:104)
... 10 more
3. 字符乱码(错误数据,userid:74710)
DbossError: java.lang.RuntimeException: org.codehaus.jackson.JsonParseException: Illegal unquoted character ((CTRL-CHAR, code 0)): has to be escaped using backslash to be included in string value
at [Source: java.io.StringReader@65b8b5cd; line: 1, column: 279184]
server socket close时client可能存在的状态
1. get connection。
Exception in thread "main" com.duitang.dboss.client.util.DbossConnectionException: java.net.ConnectException: Connection refused
at com.duitang.dboss.client.net.Connection.connect(Connection.java:97)
at com.duitang.dboss.client.net.ServerCenter.getConnection(ServerCenter.java:44)
at com.duitang.dboss.client.net.ServerCenter.invoke(ServerCenter.java:51)
at com.duitang.dboss.client.SimpleServiceProxy.invoke(SimpleServiceProxy.java:57)
at com.duitang.dboss.client.SimpleServiceProxy.doExecute(SimpleServiceProxy.java:83)
at com.duitang.dboss.client.SimpleServiceProxy.execute(SimpleServiceProxy.java:43)
at com.duitang.dboss.client.test.DbossClientTester.main(DbossClientTester.java:37)
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at com.duitang.dboss.client.net.Connection.connect(Connection.java:93)
2. sendData
591 connect......true
591 SocketException Broken pipe, isConnected:true
591 markDead......true
591 release......false
2013-08-15 18:11:27.382:WARN::/blogs/tag/%E7%94%B5%E5%BD%B1/
com.duitang.dboss.client.exception.DbossClientException: java.net.SocketException: Broken pipe
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:124)
at com.duitang.dboss.client.net.Connection.sendData(Connection.java:46)
at com.duitang.dboss.client.net.ServerCenter.invoke(ServerCenter.java:57)
3. readLine 1
server socket断掉之后有可能client的socket也不会断掉,但这时input.read()返回-1,参考Connection.readLine()的处理。
int b = input.read(); // 此操作会阻塞,直到有数据被读到
if (b < 0) {
throw new IOException(
" end of the socket input stream has been reached,may be server socket is closed!");
}
4. readLine 2
2013-09-12 18:47:13 [ERROR] com.duitang.dboss.client.net.ServerCenter - invoke ERROR ,serverAddress=192.168.172.2
java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.net.SocketInputStream.read(SocketInputStream.java:182)
at java.io.FilterInputStream.read(FilterInputStream.java:66)
at java.io.PushbackInputStream.read(PushbackInputStream.java:122)
- 浏览: 2662690 次
- 来自: 杭州
文章分类
- 全部博客 (1188)
- webwork (4)
- 网摘 (18)
- java (103)
- hibernate (1)
- Linux (85)
- 职业发展 (1)
- activeMQ (2)
- netty (14)
- svn (1)
- webx3 (12)
- mysql (81)
- css (1)
- HTML (6)
- apache (3)
- 测试 (2)
- javascript (1)
- 储存 (1)
- jvm (5)
- code (13)
- 多线程 (12)
- Spring (18)
- webxs (2)
- python (119)
- duitang (0)
- mongo (3)
- nosql (4)
- tomcat (4)
- memcached (20)
- 算法 (28)
- django (28)
- shell (1)
- 工作总结 (5)
- solr (42)
- beansdb (6)
- nginx (3)
- 性能 (30)
- 数据推荐 (1)
- maven (8)
- tonado (1)
- uwsgi (5)
- hessian (4)
- ibatis (3)
- Security (2)
- HTPP (1)
- gevent (6)
- 读书笔记 (1)
- Maxent (2)
- mogo (0)
- thread (3)
- 架构 (5)
- NIO (5)
- 正则 (1)
- lucene (5)
- feed (4)
- redis (17)
- TCP (6)
- test (0)
- python,code (1)
- PIL (3)
- guava (2)
- jython (4)
- httpclient (2)
- cache (3)
- signal (1)
- dubbo (7)
- HTTP (4)
- json (3)
- java socket (1)
- io (2)
- socket (22)
- hash (2)
- Cassandra (1)
- 分布式文件系统 (5)
- Dynamo (2)
- gc (8)
- scp (1)
- rsync (1)
- mecached (0)
- mongoDB (29)
- Thrift (1)
- scribe (2)
- 服务化 (3)
- 问题 (83)
- mat (1)
- classloader (2)
- javaBean (1)
- 文档集合 (27)
- 消息队列 (3)
- nginx,文档集合 (1)
- dboss (12)
- libevent (1)
- 读书 (0)
- 数学 (3)
- 流程 (0)
- HBase (34)
- 自动化测试 (1)
- ubuntu (2)
- 并发 (1)
- sping (1)
- 图形 (1)
- freemarker (1)
- jdbc (3)
- dbcp (0)
- sharding (1)
- 性能测试 (1)
- 设计模式 (2)
- unicode (1)
- OceanBase (3)
- jmagick (1)
- gunicorn (1)
- url (1)
- form (1)
- 安全 (2)
- nlp (8)
- libmemcached (1)
- 规则引擎 (1)
- awk (2)
- 服务器 (1)
- snmpd (1)
- btrace (1)
- 代码 (1)
- cygwin (1)
- mahout (3)
- 电子书 (1)
- 机器学习 (5)
- 数据挖掘 (1)
- nltk (6)
- pool (1)
- log4j (2)
- 总结 (11)
- c++ (1)
- java源代码 (1)
- ocr (1)
- 基础算法 (3)
- SA (1)
- 笔记 (1)
- ml (4)
- zokeeper (0)
- jms (1)
- zookeeper (5)
- zkclient (1)
- hadoop (13)
- mq (2)
- git (9)
- 问题,io (1)
- storm (11)
- zk (1)
- 性能优化 (2)
- example (1)
- tmux (1)
- 环境 (2)
- kyro (1)
- 日志系统 (3)
- hdfs (2)
- python_socket (2)
- date (2)
- elasticsearch (1)
- jetty (1)
- 树 (1)
- 汽车 (1)
- mdrill (1)
- 车 (1)
- 日志 (1)
- web (1)
- 编译原理 (1)
- 信息检索 (1)
- 性能,linux (1)
- spam (1)
- 序列化 (1)
- fabric (2)
- guice (1)
- disruptor (1)
- executor (1)
- logback (2)
- 开源 (1)
- 设计 (1)
- 监控 (3)
- english (1)
- 问题记录 (1)
- Bitmap (1)
- 云计算 (1)
- 问题排查 (1)
- highchat (1)
- mac (3)
- docker (1)
- jdk (1)
- 表达式 (1)
- 网络 (1)
- 时间管理 (1)
- 时间序列 (1)
- OLAP (1)
- Big Table (0)
- sql (1)
- kafka (1)
- md5 (1)
- springboot (1)
- spring security (1)
- Spring Boot (3)
- mybatis (1)
- java8 (1)
- 分布式事务 (1)
- 限流 (1)
- Shadowsocks (0)
- 2018 (1)
- 服务治理 (1)
- 设计原则 (1)
- log (0)
- perftools (1)
最新评论
-
siphlina:
课程——基于Python数据分析与机器学习案例实战教程分享网盘 ...
Python机器学习库 -
san_yun:
leibnitz 写道hi,我想知道,无论在92还是94版本, ...
hbase的行锁与多版本并发控制(MVCC) -
leibnitz:
hi,我想知道,无论在92还是94版本,更新时(如Puts)都 ...
hbase的行锁与多版本并发控制(MVCC) -
107x:
不错,谢谢!
Latent Semantic Analysis(LSA/ LSI)算法简介 -
107x:
不错,谢谢!
Python机器学习库
发表评论
-
spring-cloud问题排查
2019-11-18 14:58 538### 问题1报错,应用无法启动 org.springfra ... -
log4j 和slf4j的 类冲突解决
2018-07-14 16:11 20001. 检查 log4j 和slf4j的冲突 pub ... -
HikariPool-1 - Connection is not available, request timed out after
2018-05-07 19:13 6716在开发中遇到 HikariPool-1 - Conn ... -
java.io.StreamCorruptedException: invalid stream header: EFBFBDEF
2018-05-03 16:54 2474Java代码 publi ... -
log4j问题总结-加载配置文件
2014-08-20 16:34 1068今天遇到log4j的log4j.properties没有生效 ... -
一个诡异的类冲突错误排查记录
2014-08-13 10:44 822今天遇到一个问题排查了很久,记录一下。 问题原因,日常环境 ... -
tomcat7.0.26的连接数控制bug的问题排查
2014-04-23 19:51 1716今儿线上一台机器,监控一直在告警, mtophost[CM ... -
tomcat,jboss,jetty访问出现404错误问题记录
2014-04-21 19:51 1711原因是WEB-INF下面缺少jboss-web.xml ... -
记录Hadoop native libraries无法load的问题
2014-04-10 19:45 2313今天遇到一个错误,在本地往Hadoop写文件的时候报了一个错 ... -
Exception性能问题
2014-01-24 22:25 13121.从Exception往上介绍相关结构、代码 ... -
spring加载xml去远程获取dtd验证xml的问题
2014-01-24 11:57 903最近遇到spring 加载xml去远程获取dtd,但外网不 ... -
hbase查询超时导致的错误
2013-12-25 19:53 2717今天上线跑一个hbase程序出现如下错误: org.ap ... -
hbase无法启动问题
2013-12-24 23:53 934今天遇到hbase无法启动,找了很久,才发现可能是data ... -
web.xml配置注意点
2013-12-19 20:29 6451. servlet启动初始化 servlet默认只有访 ... -
Linux服务器Cache占用过多内存导致系统内存不足问题的排查解决
2013-12-17 23:22 3926作者: 大圆那些事 | 文章可以转载,请以超链接形式标明文章 ... -
linger close用法
2013-12-13 14:18 972Linux下tcp连接断开的时候调用close()函数,有 ... -
log4j-over-slf4的log4j Loger加载问题
2013-12-11 00:19 5795log4j-over-slf4是通过定义和log4j同包名 ... -
log4j,slf4j,logback问题总结
2013-12-10 18:12 6546ls4j初始化过程参考:l ... -
maven 小结(打包和单元测试)
2013-12-04 11:53 6891. 如何把一个jar和他依赖的包打包成一个 使用mave ... -
solr load比较高
2013-12-02 09:50 1073最近solr的load比较高,通过jstack查看: 写 ...
相关推荐
DBOSS和BOSS15接口业务消息规范标准.doc
绝对是反编译工具中的神器,安装后直接鼠标右键一键反编译,回编译,非常方便, 这是今年最新版2.0.0,本人已在使用中, 推荐给大家。 备注:《Android APK+Dex文件反编译及回编译工具(APKDB)》 简称:APKDB ...
unity超精致BOSS模型(含动作) FBX格式文件,高模!大家快来下载吧!
Matlab领域上传的视频均有对应的完整代码,皆可运行,亲测可用,适合小白; 1、代码压缩包内容 主函数:main.m; 调用函数:其他m文件;无需运行 运行结果效果图; 2、代码运行版本 Matlab 2019b;若运行有误,根据提示修改;若不会,私信博主; 3、运行操作步骤 步骤一:将所有文件放到Matlab的当前文件夹中; 步骤二:双击打开main.m文件; 步骤三:点击运行,等程序运行完得到结果; 4、仿真咨询 如需其他服务,可私信博主; 4.1 博客或资源的完整代码提供 4.2 期刊或参考文献复现 4.3 Matlab程序定制 4.4 科研合作
Matlab领域上传的视频均有对应的完整代码,皆可运行,亲测可用,适合小白; 1、代码压缩包内容 主函数:main.m; 调用函数:其他m文件;无需运行 运行结果效果图; 2、代码运行版本 Matlab 2019b;若运行有误,根据提示修改;若不会,私信博主; 3、运行操作步骤 步骤一:将所有文件放到Matlab的当前文件夹中; 步骤二:双击打开main.m文件; 步骤三:点击运行,等程序运行完得到结果; 4、仿真咨询 如需其他服务,可私信博主; 4.1 博客或资源的完整代码提供 4.2 期刊或参考文献复现 4.3 Matlab程序定制 4.4 科研合作
SATA命令协议文档,新手必学,高手必经之路的利器。
白色大气风格响应式产品展示企业网页模板.zip
内容概要:文章介绍了如何使用Python开发一个简单的自动点餐程序。该程序通过显示菜单、接收用户点单输入并记录订单详情,最终计算总费用,展示了基础的交互流程和订单处理方法。 适合人群:Python初学者,对交互式程序设计感兴趣的学习者。 使用场景及目标:适用于希望了解基本交互式应用程序开发流程的新手程序员,目标是掌握Python中的函数定义、数据结构使用、流程控制以及简单的用户交互技术。 阅读建议:跟随程序步骤实践,尝试扩展或优化现有功能,如加入折扣计算、订单存储等功能,以增强理解和编程能力。
白色大气风格的境外游景区模板下载.zip
白色大气风格的商业模板下载.zip
华豫佰佳组合促销视图.sql
白色创意风格的室内装修设计CSS3模板.zip
platform-tools-latest-darwin.zip
CH579 以太网转串口 串口服务器代码 需要自己编程提升能力的非常值得参考的代码 几乎所有的编程思路编程技巧资源都涉及到了,代码简单易懂 ,注释清楚,本代码实现最串口服务器的功能,有电路图。
白色非常简洁的商务网站模板下载.zip
白色大气风格的美食DIY应用APP官网模板.zip
白色大气风格的女性风衣企业网站模板.zip
1. 平台在家电和电子产品方面的营运情况如何? 2. 哪些品牌和类别销量最高? 3. 用户消费规律 4. 哪些是我们的重点用户? 5. 平台有哪些优势和不足,需要如何改进?
白色大气简洁的汽车配件商城整站网站模板下载.zip
白色简洁的数码相机商城整站网站模板下载.zip