GithubHelp home page GithubHelp logo

Comments (2)

BenettChen avatar BenettChen commented on May 18, 2024 2

刚我也和中间件团队一起排查了这个问题,发现是:

  • 中间件团队在某些情况下也会使用TTL,应该中间件团队的TTL和业务程序中TTL冲突导致;
  • 我把中间件的TTL关掉调,后面部署就没问题了。

就当一个问题记录吧,后面有人遇到这个异常,先考虑下自己的环境问题,多一个排查方向。

from transmittable-thread-local.

oldratlee avatar oldratlee commented on May 18, 2024
......
Caused by: java.lang.IllegalStateException: TTL logger implementation type is already set! type = 0
......

这是防御式检查所抛出的异常(IllegalStateException);
可能和你具体使用/配置方式相关。 @BenettChen

请提供一个 极简、可运行、复现问题的 代码Demo工程。

推荐提供成一个单独的工程(Github repo)。这样可以:

  • 方便大家能排查分析(只提供片段代码、运行结果,排查信息不足)
  • 方便分离不相关的业务实现内容,以及排除可能的业务使用问题
    如使用配置问题、其它业务代码的意外影响

from transmittable-thread-local.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.