fix 1、http协议发消息imconfig没注入;2、msgid不一致问题

This commit is contained in:
wangchao 2018-11-17 17:48:35 +08:00
parent f3e4c5b55b
commit 892670d1ac
5 changed files with 1 additions and 335 deletions

View File

@ -3,7 +3,7 @@
context.name=j-im-server-demo
log.dir=./logs/j-im-server-demo
log.dir=/logs/j-im-server-demo
rolling.policy.file.name.pattern=yyyy-MM-dd
max.file.size=100MB

View File

@ -1,329 +0,0 @@
2018-11-17 17:26:39,079 INFO org.jim.server.http.mvc.Routes[170]: class mapping
{
"/webim":"org.jim.server.http.api.WebImController",
"/api":"org.jim.server.http.api.HttpApiController",
"/test":"org.jim.server.http.api.TestController"
}
2018-11-17 17:26:39,084 INFO org.jim.server.http.mvc.Routes[172]: method mapping
{
"/test/html":"org.jim.server.http.api.TestController.html(request)",
"/test/filetest":"org.jim.server.http.api.TestController.filetest(request)",
"/test/abtest":"org.jim.server.http.api.TestController.abtest(request)",
"/test/txt":"org.jim.server.http.api.TestController.txt(request)",
"/test/upload":"org.jim.server.http.api.TestController.upload(uploadFile,before,end,request)",
"/test/bean":"org.jim.server.http.api.TestController.bean(user,request)",
"/test/json":"org.jim.server.http.api.TestController.json(request)",
"/test/post":"org.jim.server.http.api.TestController.post(before,end,request)",
"/test/plain":"org.jim.server.http.api.TestController.plain(before,end,request)",
"/api/user/online":"org.jim.server.http.api.HttpApiController.online(request,httpConfig,channelContext)",
"/api/message/send":"org.jim.server.http.api.HttpApiController.chat(request,httpConfig,channelContext)",
"/test/putsession":"org.jim.server.http.api.TestController.putsession(value,request)",
"/api/user/close":"org.jim.server.http.api.HttpApiController.close(request,httpConfig,channelContext)",
"/test/filetest.zip":"org.jim.server.http.api.TestController.filetest_zip(request)",
"/test/getsession":"org.jim.server.http.api.TestController.getsession(request)"
}
2018-11-17 17:26:39,087 INFO o.j.s.http.HttpProtocolHandler[79]: j-im Http Server初始化完毕,耗时:352ms
2018-11-17 17:26:39,088 INFO o.j.s.ws.WsProtocolHandler[71]: wsServerHandler 初始化完毕...
2018-11-17 17:26:43,832 INFO o.j.s.d.s.LoginServiceProcessor[150]: 登录成功回调方法
2018-11-17 17:26:48,688 INFO o.t.server.ServerGroupContext[106]: null, 用户取消了框架层面的心跳检测,如果业务需要,请用户自己去完成心跳检测
2018-11-17 17:26:50,600 INFO o.j.c.http.HttpRequestDecoder[213]: 127.0.0.1:54160 body string
{
"from": "wangchao",
"to": "admin",
"cmd":11,
"createTime": 234234234,
"msgType": 0,
"chatType":2,
"group_id":"100",
"content": "Http协议内容测试2222"
}
2018-11-17 17:26:50,623 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54160 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:26:50,625 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54160, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:26:50,631 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@209fd5c9, 127.0.0.1:54160 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:26:50,632 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54160, 关闭后$UNKNOWN:1
2018-11-17 17:27:46,743 INFO o.j.c.http.HttpRequestDecoder[213]: 127.0.0.1:54171 body string
{
"from": "wangchao",
"to": "admin",
"cmd":11,
"createTime": 234234234,
"msgType": 0,
"chatType":2,
"group_id":"100",
"content": "Http协议内容测试2222"
}
2018-11-17 17:28:03,000 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54171 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:28:03,183 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54171, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:28:03,205 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@209fd5c9, 127.0.0.1:54171 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:28:03,209 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54171, 关闭后$UNKNOWN:2
2018-11-17 17:29:12,062 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54181 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:29:12,062 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54181, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:29:12,064 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@209fd5c9, 127.0.0.1:54181 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:29:12,064 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54181, 关闭后$UNKNOWN:3
2018-11-17 17:29:12,072 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@209fd5c9, 127.0.0.1:54157 准备关闭连接, isNeedRemove:true, 收到关闭请求
2018-11-17 17:29:12,085 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54157, 关闭后$UNKNOWN:4
2018-11-17 17:29:12,091 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54182 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:29:12,091 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54182, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:29:12,094 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@209fd5c9, 127.0.0.1:54182 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:29:12,094 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54182, 关闭后$UNKNOWN:5
2018-11-17 17:29:12,154 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54185 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:29:12,155 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54185, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:29:12,157 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@209fd5c9, 127.0.0.1:54185 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:29:12,157 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54185, 关闭后$UNKNOWN:6
2018-11-17 17:29:17,131 INFO o.j.s.d.s.LoginServiceProcessor[150]: 登录成功回调方法
2018-11-17 17:29:20,475 INFO o.j.c.http.HttpRequestDecoder[213]: 127.0.0.1:54190 body string
{
"from": "wangchao",
"to": "admin",
"cmd":11,
"createTime": 234234234,
"msgType": 0,
"chatType":2,
"group_id":"100",
"content": "Http协议内容测试2222"
}
2018-11-17 17:29:22,488 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54190 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:29:22,488 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54190, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:29:22,725 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@209fd5c9, 127.0.0.1:54190 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:29:22,728 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54190, 关闭后$UNKNOWN:7
2018-11-17 17:29:33,308 INFO org.jim.server.http.mvc.Routes[170]: class mapping
{
"/webim":"org.jim.server.http.api.WebImController",
"/api":"org.jim.server.http.api.HttpApiController",
"/test":"org.jim.server.http.api.TestController"
}
2018-11-17 17:29:33,319 INFO org.jim.server.http.mvc.Routes[172]: method mapping
{
"/test/html":"org.jim.server.http.api.TestController.html(request)",
"/test/filetest":"org.jim.server.http.api.TestController.filetest(request)",
"/test/abtest":"org.jim.server.http.api.TestController.abtest(request)",
"/test/txt":"org.jim.server.http.api.TestController.txt(request)",
"/test/upload":"org.jim.server.http.api.TestController.upload(uploadFile,before,end,request)",
"/test/bean":"org.jim.server.http.api.TestController.bean(user,request)",
"/test/json":"org.jim.server.http.api.TestController.json(request)",
"/test/post":"org.jim.server.http.api.TestController.post(before,end,request)",
"/test/plain":"org.jim.server.http.api.TestController.plain(before,end,request)",
"/api/user/online":"org.jim.server.http.api.HttpApiController.online(request,httpConfig,channelContext)",
"/api/message/send":"org.jim.server.http.api.HttpApiController.chat(request,httpConfig,channelContext)",
"/test/putsession":"org.jim.server.http.api.TestController.putsession(value,request)",
"/api/user/close":"org.jim.server.http.api.HttpApiController.close(request,httpConfig,channelContext)",
"/test/filetest.zip":"org.jim.server.http.api.TestController.filetest_zip(request)",
"/test/getsession":"org.jim.server.http.api.TestController.getsession(request)"
}
2018-11-17 17:29:33,323 INFO o.j.s.http.HttpProtocolHandler[79]: j-im Http Server初始化完毕,耗时:361ms
2018-11-17 17:29:33,324 INFO o.j.s.ws.WsProtocolHandler[71]: wsServerHandler 初始化完毕...
2018-11-17 17:29:41,697 INFO o.j.s.d.s.LoginServiceProcessor[150]: 登录成功回调方法
2018-11-17 17:29:42,925 INFO o.t.server.ServerGroupContext[106]: null, 用户取消了框架层面的心跳检测,如果业务需要,请用户自己去完成心跳检测
2018-11-17 17:29:46,451 INFO o.j.c.http.HttpRequestDecoder[213]: 127.0.0.1:54199 body string
{
"from": "wangchao",
"to": "admin",
"cmd":11,
"createTime": 234234234,
"msgType": 0,
"chatType":2,
"group_id":"100",
"content": "Http协议内容测试2222"
}
2018-11-17 17:29:48,847 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54199 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:29:48,848 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54199, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:29:48,853 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@6deeed72, 127.0.0.1:54199 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:29:48,854 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54199, 关闭后$UNKNOWN:1
2018-11-17 17:31:04,117 INFO org.jim.server.http.mvc.Routes[170]: class mapping
{
"/webim":"org.jim.server.http.api.WebImController",
"/api":"org.jim.server.http.api.HttpApiController",
"/test":"org.jim.server.http.api.TestController"
}
2018-11-17 17:31:04,125 INFO org.jim.server.http.mvc.Routes[172]: method mapping
{
"/test/html":"org.jim.server.http.api.TestController.html(request)",
"/test/filetest":"org.jim.server.http.api.TestController.filetest(request)",
"/test/abtest":"org.jim.server.http.api.TestController.abtest(request)",
"/test/txt":"org.jim.server.http.api.TestController.txt(request)",
"/test/upload":"org.jim.server.http.api.TestController.upload(uploadFile,before,end,request)",
"/test/bean":"org.jim.server.http.api.TestController.bean(user,request)",
"/test/json":"org.jim.server.http.api.TestController.json(request)",
"/test/post":"org.jim.server.http.api.TestController.post(before,end,request)",
"/test/plain":"org.jim.server.http.api.TestController.plain(before,end,request)",
"/api/user/online":"org.jim.server.http.api.HttpApiController.online(request,httpConfig,channelContext)",
"/api/message/send":"org.jim.server.http.api.HttpApiController.chat(request,httpConfig,channelContext)",
"/test/putsession":"org.jim.server.http.api.TestController.putsession(value,request)",
"/api/user/close":"org.jim.server.http.api.HttpApiController.close(request,httpConfig,channelContext)",
"/test/filetest.zip":"org.jim.server.http.api.TestController.filetest_zip(request)",
"/test/getsession":"org.jim.server.http.api.TestController.getsession(request)"
}
2018-11-17 17:31:04,140 INFO o.j.s.http.HttpProtocolHandler[79]: j-im Http Server初始化完毕,耗时:312ms
2018-11-17 17:31:04,141 INFO o.j.s.ws.WsProtocolHandler[71]: wsServerHandler 初始化完毕...
2018-11-17 17:31:09,969 INFO o.j.s.d.s.LoginServiceProcessor[150]: 登录成功回调方法
2018-11-17 17:31:11,608 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54216 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:11,608 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54216, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:11,621 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@209fd5c9, 127.0.0.1:54212 准备关闭连接, isNeedRemove:true, 收到关闭请求
2018-11-17 17:31:11,621 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@209fd5c9, 127.0.0.1:54216 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:31:11,623 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54216, 关闭后$UNKNOWN:1
2018-11-17 17:31:11,633 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54212, 关闭后$UNKNOWN:2
2018-11-17 17:31:11,639 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54217 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:11,639 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54217, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:11,641 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@209fd5c9, 127.0.0.1:54217 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:31:11,642 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54217, 关闭后$UNKNOWN:3
2018-11-17 17:31:11,658 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54220 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:11,659 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54220, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:11,674 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@209fd5c9, 127.0.0.1:54220 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:31:11,675 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54220, 关闭后$UNKNOWN:4
2018-11-17 17:31:13,806 INFO o.t.server.ServerGroupContext[106]: null, 用户取消了框架层面的心跳检测,如果业务需要,请用户自己去完成心跳检测
2018-11-17 17:31:15,329 INFO o.j.s.d.s.LoginServiceProcessor[150]: 登录成功回调方法
2018-11-17 17:31:28,205 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54227 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:28,210 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54227, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:28,212 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@209fd5c9, 127.0.0.1:54227 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:31:28,212 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54227, 关闭后$UNKNOWN:5
2018-11-17 17:31:28,218 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@209fd5c9, 127.0.0.1:54222 准备关闭连接, isNeedRemove:true, 收到关闭请求
2018-11-17 17:31:28,219 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54222, 关闭后$UNKNOWN:6
2018-11-17 17:31:28,227 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54228 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:28,229 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54228, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:28,234 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@209fd5c9, 127.0.0.1:54228 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:31:28,236 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54228, 关闭后$UNKNOWN:7
2018-11-17 17:31:28,257 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54230 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:28,258 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54230, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:28,264 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@209fd5c9, 127.0.0.1:54230 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:31:28,265 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54230, 关闭后$UNKNOWN:8
2018-11-17 17:31:32,876 INFO o.j.s.d.s.LoginServiceProcessor[150]: 登录成功回调方法
2018-11-17 17:31:39,958 INFO org.jim.server.http.mvc.Routes[170]: class mapping
{
"/webim":"org.jim.server.http.api.WebImController",
"/api":"org.jim.server.http.api.HttpApiController",
"/test":"org.jim.server.http.api.TestController"
}
2018-11-17 17:31:39,963 INFO org.jim.server.http.mvc.Routes[172]: method mapping
{
"/test/html":"org.jim.server.http.api.TestController.html(request)",
"/test/filetest":"org.jim.server.http.api.TestController.filetest(request)",
"/test/abtest":"org.jim.server.http.api.TestController.abtest(request)",
"/test/txt":"org.jim.server.http.api.TestController.txt(request)",
"/test/upload":"org.jim.server.http.api.TestController.upload(uploadFile,before,end,request)",
"/test/bean":"org.jim.server.http.api.TestController.bean(user,request)",
"/test/json":"org.jim.server.http.api.TestController.json(request)",
"/test/post":"org.jim.server.http.api.TestController.post(before,end,request)",
"/test/plain":"org.jim.server.http.api.TestController.plain(before,end,request)",
"/api/user/online":"org.jim.server.http.api.HttpApiController.online(request,httpConfig,channelContext)",
"/api/message/send":"org.jim.server.http.api.HttpApiController.chat(request,httpConfig,channelContext)",
"/test/putsession":"org.jim.server.http.api.TestController.putsession(value,request)",
"/api/user/close":"org.jim.server.http.api.HttpApiController.close(request,httpConfig,channelContext)",
"/test/filetest.zip":"org.jim.server.http.api.TestController.filetest_zip(request)",
"/test/getsession":"org.jim.server.http.api.TestController.getsession(request)"
}
2018-11-17 17:31:39,973 INFO o.j.s.http.HttpProtocolHandler[79]: j-im Http Server初始化完毕,耗时:313ms
2018-11-17 17:31:39,987 INFO o.j.s.ws.WsProtocolHandler[71]: wsServerHandler 初始化完毕...
2018-11-17 17:31:45,994 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54238 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:46,010 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54238, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:46,017 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@690bd81b, 127.0.0.1:54238 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:31:46,018 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54238, 关闭后$UNKNOWN:1
2018-11-17 17:31:48,882 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54240 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:48,883 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54240, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:48,892 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@690bd81b, 127.0.0.1:54240 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:31:48,893 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54240, 关闭后$UNKNOWN:2
2018-11-17 17:31:48,910 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54242 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:48,911 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54242, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:48,913 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@690bd81b, 127.0.0.1:54242 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:31:48,913 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54242, 关闭后$UNKNOWN:3
2018-11-17 17:31:49,625 INFO o.t.server.ServerGroupContext[106]: null, 用户取消了框架层面的心跳检测,如果业务需要,请用户自己去完成心跳检测
2018-11-17 17:31:50,401 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54244 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:50,401 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54244, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:50,406 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@690bd81b, 127.0.0.1:54244 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:31:50,406 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54244, 关闭后$UNKNOWN:4
2018-11-17 17:31:50,426 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54246 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:50,430 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54246, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:50,440 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@690bd81b, 127.0.0.1:54246 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:31:50,441 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54246, 关闭后$UNKNOWN:5
2018-11-17 17:31:50,452 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54248 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:50,455 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54248, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:31:50,461 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@690bd81b, 127.0.0.1:54248 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:31:50,461 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54248, 关闭后$UNKNOWN:6
2018-11-17 17:31:55,053 INFO o.j.s.d.s.LoginServiceProcessor[150]: 登录成功回调方法
2018-11-17 17:32:03,522 INFO o.j.c.http.HttpRequestDecoder[213]: 127.0.0.1:54256 body string
{
"from": "wangchao",
"to": "admin",
"cmd":11,
"createTime": 234234234,
"msgType": 0,
"chatType":2,
"group_id":"100",
"content": "Http协议内容测试2222"
}
2018-11-17 17:32:07,055 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54256 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:32:07,056 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54256, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:32:07,070 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@690bd81b, 127.0.0.1:54256 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:32:07,071 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54256, 关闭后$UNKNOWN:7
2018-11-17 17:32:38,453 INFO o.j.c.http.HttpRequestDecoder[213]: 127.0.0.1:54261 body string
{
"from": "wangchao",
"to": "admin",
"cmd":11,
"createTime": 234234234,
"msgType": 0,
"chatType":2,
"group_id":"100",
"content": "Http协议内容测试2222"
}
2018-11-17 17:32:51,514 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54261 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:32:51,657 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54261, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:32:51,663 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@690bd81b, 127.0.0.1:54261 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:32:51,663 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54261, 关闭后$UNKNOWN:8
2018-11-17 17:33:41,911 INFO o.j.c.http.HttpRequestDecoder[213]: 127.0.0.1:54268 body string
{
"from": "wangchao",
"to": "admin",
"cmd":11,
"createTime": 234234234,
"msgType": 0,
"chatType":2,
"group_id":"100",
"content": "Http协议内容测试2222"
}
2018-11-17 17:34:37,165 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54268 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:34:37,330 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54268, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:34:37,334 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@690bd81b, 127.0.0.1:54268 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:34:37,337 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54268, 关闭后$UNKNOWN:9
2018-11-17 17:37:44,280 INFO org.jim.server.http.mvc.Routes[170]: class mapping
{
"/webim":"org.jim.server.http.api.WebImController",
"/api":"org.jim.server.http.api.HttpApiController",
"/test":"org.jim.server.http.api.TestController"
}
2018-11-17 17:37:44,285 INFO org.jim.server.http.mvc.Routes[172]: method mapping
{
"/test/html":"org.jim.server.http.api.TestController.html(request)",
"/test/filetest":"org.jim.server.http.api.TestController.filetest(request)",
"/test/abtest":"org.jim.server.http.api.TestController.abtest(request)",
"/test/txt":"org.jim.server.http.api.TestController.txt(request)",
"/test/upload":"org.jim.server.http.api.TestController.upload(uploadFile,before,end,request)",
"/test/bean":"org.jim.server.http.api.TestController.bean(user,request)",
"/test/json":"org.jim.server.http.api.TestController.json(request)",
"/test/post":"org.jim.server.http.api.TestController.post(before,end,request)",
"/test/plain":"org.jim.server.http.api.TestController.plain(before,end,request)",
"/api/user/online":"org.jim.server.http.api.HttpApiController.online(request,httpConfig,channelContext)",
"/api/message/send":"org.jim.server.http.api.HttpApiController.chat(request,httpConfig,channelContext)",
"/test/putsession":"org.jim.server.http.api.TestController.putsession(value,request)",
"/api/user/close":"org.jim.server.http.api.HttpApiController.close(request,httpConfig,channelContext)",
"/test/filetest.zip":"org.jim.server.http.api.TestController.filetest_zip(request)",
"/test/getsession":"org.jim.server.http.api.TestController.getsession(request)"
}
2018-11-17 17:37:44,287 INFO o.j.s.http.HttpProtocolHandler[79]: j-im Http Server初始化完毕,耗时:350ms
2018-11-17 17:37:44,288 INFO o.j.s.ws.WsProtocolHandler[71]: wsServerHandler 初始化完毕...
2018-11-17 17:37:50,871 INFO o.j.s.d.s.LoginServiceProcessor[150]: 登录成功回调方法
2018-11-17 17:37:53,899 INFO o.t.server.ServerGroupContext[106]: null, 用户取消了框架层面的心跳检测,如果业务需要,请用户自己去完成心跳检测
2018-11-17 17:42:19,169 INFO o.j.c.http.HttpRequestDecoder[213]: 127.0.0.1:54342 body string
{
"from": "wangchao",
"to": "admin",
"cmd":11,
"createTime": 234234234,
"msgType": 0,
"chatType":2,
"group_id":"100",
"content": "Http协议内容测试2222"
}
2018-11-17 17:42:42,093 INFO o.j.s.h.DefaultHttpRequestHandler[356]: 127.0.0.1:54342 创建会话Cookie, TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:42:42,101 INFO o.j.c.http.HttpResponseEncoder[75]: 127.0.0.1:54342, set-cookie:TwIxO=null; Domain=localhost:8888; Max-Age=1800; Path=/
2018-11-17 17:42:53,378 INFO org.tio.core.CloseRunnable[145]: org.jim.server.ImServerGroupContext@44d2607d, 127.0.0.1:54342 准备关闭连接, isNeedRemove:true, 对方关闭了连接
2018-11-17 17:42:53,379 INFO org.tio.core.ChannelContext[468]: 关闭前127.0.0.1:54342, 关闭后$UNKNOWN:1

View File

@ -1,5 +0,0 @@
2018-11-17 17:26:39,143 WARN org.tio.server.AioServer[109]: null started, listen on 127.0.0.1:8888
2018-11-17 17:29:33,388 WARN org.tio.server.AioServer[109]: null started, listen on 127.0.0.1:8888
2018-11-17 17:31:04,224 WARN org.tio.server.AioServer[109]: null started, listen on 127.0.0.1:8888
2018-11-17 17:31:40,098 WARN org.tio.server.AioServer[109]: null started, listen on 127.0.0.1:8888
2018-11-17 17:37:44,337 WARN org.tio.server.AioServer[109]: null started, listen on 127.0.0.1:8888