搜索:seata

seata并发测试报错:get global lock fail, xid:192.168.64.1:18091:2025291279, lockKeys:stock_info:1

原创 2019-10-20 22:42 阅读(7145)次
我在做seata并发测试时报如下错误,并发只有3个,其中一个报获得全局锁失败:2019-10-20 22:07:21.548 INFO 22228 --- [nio-8092-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2019-10-20 22:07:21.548 INFO 22228 --- [nio-8092-exec-2] o.s.web.servlet.DispatcherServlet : ...

修改seata server启动服务端口

原创 2019-09-24 09:46 阅读(8878)次
下载地址:https://github.com/seata/seata/releases里面都是linux、windows都同时可以用的绿色版安装包直接双击seata-server.bat就可以默认启动,默认端口为8091,如果想修改端口,也可以用配置项启动,参数如下:Options: --host, -h   The host to bind.   Default: 0.0.0.0 --port, -p   The port to listen.   Default: 8091 --storeMode, -m   log store mode...

spring cloud+feign+mybatis中使用seata0.9实现分布式事务

原创 2019-09-23 17:11 阅读(6328)次
seata前身叫fescar,是阿里开源的实现分布式事务中间件。官网地址:https://github.com/seata/seata中文文档:https://github.com/seata/seata/wiki/Home_Chinese原理就不说了,话不多说,直接分享代码:首先需要安装seata服务,下载地址:https://github.com/seata/seata/releases里面都是linux、windows都同时可以用的绿色版安装包1.启动seata服务默认以file形式注册,直接可以启动,启动端口默认为8091sh seata-server.sh -p 8091加上-p参数...

spring cloud集成分布式事务中间件seata报错 not support register type: null

原创 2019-09-23 11:50 阅读(8631)次
在启动seata中的RM端时报错:Caused by: io.seata.common.exception.NotSupportYetException: not support register type: null at io.seata.config.ConfigurationFactory.buildConfiguration(ConfigurationFactory.java:87) at io.seata.config.ConfigurationFactory.getInstance(ConfigurationFactory.java:71) at io.seata.s...