Spring boot and Spring cloud common errors

Source: Internet
Author: User

1. Error Messages

2017-12-20 10:26:45.804 ERROR 4012---[ver-bootstrap-0] c.netflix.discovery.timedsupervisortask:task supervisor Rejec Ted the Task

Java.util.concurrent.RejectedExecutionException:Task Java.util.concurrent.futuretask@1d23ad5 rejected from java.util.concurrent.threadpoolexecutor@115da1f[terminated, pool size = 0, Active threads = 0, queued tasks = 0, completed tasks = 0]
At Java.util.concurrent.threadpoolexecutor$abortpolicy.rejectedexecution (Unknown Source) ~[na:1.8.0_11]
At Java.util.concurrent.ThreadPoolExecutor.reject (Unknown Source) [Na:1.8.0_11]
At Java.util.concurrent.ThreadPoolExecutor.execute (Unknown Source) [Na:1.8.0_11]
At Java.util.concurrent.AbstractExecutorService.submit (Unknown Source) ~[na:1.8.0_11]
At Com.netflix.discovery.TimedSupervisorTask.run (timedsupervisortask.java:62) ~[eureka-client-1.4.12.jar:1.4.12]
At Java.util.concurrent.executors$runnableadapter.call (Unknown Source) [Na:1.8.0_11]
At Java.util.concurrent.FutureTask.run (Unknown Source) [Na:1.8.0_11]
At java.util.concurrent.scheduledthreadpoolexecutor$scheduledfuturetask.access$201 (Unknown Source) [Na:1.8.0_11]
At Java.util.concurrent.scheduledthreadpoolexecutor$scheduledfuturetask.run (Unknown Source) [Na:1.8.0_11]
At Java.util.concurrent.ThreadPoolExecutor.runWorker (Unknown Source) [Na:1.8.0_11]
At Java.util.concurrent.threadpoolexecutor$worker.run (Unknown Source) [Na:1.8.0_11]
At Java.lang.Thread.run (Unknown Source) [Na:1.8.0_11]

Workaround:

eureka-client1.4 version of the reason, replaced by the D version can be resolved, the D version of the Eureka-client upgrade to more than 1.6







Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.