集成微信充值后,服务不定时异常shutting down

Blade 未结 1 1971
1248194032
1248194032 2020-08-20 11:10
悬赏:5

一、该问题的重现步骤是什么?

1. 集成微信充值

2. 充值的用户在某一时段较多

3.服务异常停机

shutingdown.png



二、你期待的结果是什么?实际看到的又是什么?

找出问题,彻底解决,服务不停机

三、你正在使用的是什么产品,什么版本?在什么操作系统上?

bladex 2.0.2.RELEASE  部署在centos7(CPU:8核    内存:32G   硬盘 500G)

四、请提供详细的错误堆栈信息,这很重要。

2020-08-20 08:50:15.954  INFO 7200 --- [      Thread-37] c.n.l.PollingServerListUpdater           : Shutting down the Executor Pool for PollingServerListUpdater
2020-08-20 08:50:15.965  INFO 7200 --- [      Thread-14] o.s.i.endpoint.EventDrivenConsumer       : Removing {logging-channel-adapter:_org.springframework.integration.errorLogger} as a subscriber to the 'errorChannel' channel
2020-08-20 08:50:15.966  INFO 7200 --- [      Thread-14] o.s.i.channel.PublishSubscribeChannel    : Channel 'rst-basic-1.errorChannel' has 0 subscriber(s).
2020-08-20 08:50:15.966  INFO 7200 --- [      Thread-14] o.s.i.endpoint.EventDrivenConsumer       : stopped _org.springframework.integration.errorLogger
2020-08-20 08:50:15.969  INFO 7200 --- [      Thread-14] o.s.c.a.n.registry.NacosServiceRegistry  : De-registering from Nacos Server now...
2020-08-20 08:50:15.971  INFO 7200 --- [      Thread-14] o.s.c.a.n.registry.NacosServiceRegistry  : De-registration finished.
2020-08-20 08:50:15.973  INFO 7200 --- [      Thread-14] o.s.s.c.ThreadPoolTaskScheduler          : Shutting down ExecutorService 'taskScheduler'
2020-08-20 08:50:15.975  INFO 7200 --- [      Thread-14] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService 'taskExecutor'
2020-08-20 08:50:15.990  INFO 7200 --- [      Thread-14] o.s.s.concurrent.ThreadPoolTaskExecutor  : Shutting down ExecutorService 'asyncPromiseExecutor'
2020-08-20 08:50:16.005  INFO 7200 --- [      Thread-14] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} closing ...
2020-08-20 08:50:16.009  INFO 7200 --- [      Thread-14] com.alibaba.druid.pool.DruidDataSource   : {dataSource-1} closed
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'wxJSPayserviceImpl': Singleton bean creation not allowed while singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)

五、若有更多详细信息,请在下面提供。

1条回答
  •  smallchill
    smallchill (楼主)
    2020-08-20 20:35

    这个问题主要描述如下:单例的bean在创建的时候,容器已经处于销毁阶段,生命周期不同,不允许再次创建生产Bean

    主要是看不到你们自己配置的代码以及业务代码,不好帮忙排查,只能帮你们猜一下主要是哪里的问题

    最可能就是在多线程环境下代码没有处理好导致的问题,具体可以看这个帖子:https://blog.csdn.net/chenwiehuang/article/details/101532591

    0 讨论(0)
提交回复