X Tutup
The Wayback Machine - https://web.archive.org/web/20201207031139/https://github.com/codingapi/tx-lcn/issues/548
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Caused by: java.lang.IllegalStateException: There is no normal TM. #548

Open
developers-youcong opened this issue Sep 22, 2020 · 0 comments
Open

Comments

@developers-youcong
Copy link

@developers-youcong developers-youcong commented Sep 22, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

1. Bug Description

通常出现这个错误是因为对应的事务注册中心挂掉了或者是没有配置下面这段代码:

tx-lcn.manager.host=0.0.0.0

但我此次该配置的都全部配置了但还是报错,导致项目无法启动。

我配置了集群,关键代码如下:

tx-lcn:
  client:
    manager-address: 127.0.0.1:8070,127.0.0.1:8171
  springcloud:
    loadbalance:
      enabled: true

但我关闭其中的8171节点的时候就会出现这个错误。
正常集群来说,一个节点挂掉了,转向另外一个节点,也能保持正常运行。
查询了官方文档,如图所示:
image
不太明白。难道我配置了两个节点,其中一个节点挂掉了,另外一个项目就起不来呢?

2. Environment:

  • JDK version:1.8
  • OS:centos7.8
  • TX-LCN version:5.0.2
  • Others:

3. Exception Stacktrace

Paste your Exception Stacktrace here!

4. Tour Idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.
X Tutup