3cc43d8ad22836211bdae9bbdb43ff42293cd7fe
\345\275\223\345\211\215SDK\347\211\210\346\234\254\344\270\215\346\224\257\346\214\201\350\277\234\347\250\213\350\260\203\347\224\250\357\274\214\350\257\267\345\215\207\347\272\247SDK\345\206\215\345\260\235\350\257\225\357\274\201.md
| ... | ... | @@ -1,54 +0,0 @@ |
| 1 | -# 当前SDK版本不支持远程调用,请升级SDK再尝试! |
|
| 2 | - |
|
| 3 | -## 解决方案 |
|
| 4 | - |
|
| 5 | - |
|
| 6 | -首先我们需要定位到应用模型服务,我们可以通过arthas工具调试代码,可以定位到具体的服务。确定应用的版本 |
|
| 7 | - |
|
| 8 | -* SDK v1.0.17.RELEASE |
|
| 9 | - |
|
| 10 | -* SDK 4.2.x以上 |
|
| 11 | - |
|
| 12 | -版本新特性,支持分布式拆分部署,支持远程调用。 |
|
| 13 | - |
|
| 14 | - |
|
| 15 | - |
|
| 16 | -调试命令如下所示: |
|
| 17 | -``` |
|
| 18 | -watch com.sie.snest.engine.api.distributed.RpcInvocation arry2Map '{params,returnObj,throwExp}' -n 5 -x 3 |
|
| 19 | - |
|
| 20 | -``` |
|
| 21 | - |
|
| 22 | - |
|
| 23 | -进入调试命令后arthas打印出来的日志所示 |
|
| 24 | - |
|
| 25 | -``` |
|
| 26 | - |
|
| 27 | -Affect(class count: 1 , method count: 1) cost in 192 ms, 1istenerId: 2 |
|
| 28 | -method=com.sie.snest.engine.api.distributed.RpcInvocation.arry2Map location=AtExcepti |
|
| 29 | -ts=2024-07-25 10:11:23; [cost=0.109619ms] result@ArrayList[ |
|
| 30 | -@object[][ |
|
| 31 | -ault |
|
| 32 | -null, |
|
| 33 | -@object[]] |
|
| 34 | -@Recor |
|
| 35 | -Iset[iiot messagepush_ enterprisewechat_channel[]] |
|
| 36 | -@Filte |
|
| 37 | -[isEmpty=false;size=1], |
|
| 38 | -@Array |
|
| 39 | -nning |
|
| 40 | -@Integer[1], |
|
| 41 | -@Integer[o], |
|
| 42 | -233.107.37 |
|
| 43 | -@string[], |
|
| 44 | --worker3-test |
|
| 45 | -null |
|
| 46 | -200.3.139 |
|
| 47 | -当前SDK版本不支持远程调用,请升级SD |
|
| 48 | - |
|
| 49 | - |
|
| 50 | -``` |
|
| 51 | - |
|
| 52 | -iiot messagepush_ enterprisewechat_channel 模型,下载对于的应用包,确定应用的版本是否低于如上所示特性功能版本。 |
|
| 53 | - |
|
| 54 | - |