You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/12/22 07:27:19 UTC

[GitHub] [shardingsphere-elasticjob] zhouyutaoz opened a new issue #1786: can not restart,.SchedulerException: The Scheduler cannot be restarted after shutdown() has been called.

zhouyutaoz opened a new issue #1786:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1786


   Caused by: 
   org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.dangdang.ddframe.job.lite.spring.api.SpringJobScheduler#1': Invocation of init method failed; nested exception is com.dangdang.ddframe.job.exception.JobSystemException: org.quartz.SchedulerException: The Scheduler cannot be restarted after shutdown() has been called.
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1630)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481)
   	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312)
   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308)
   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
   	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:756)
   	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867)
   	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
   	at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:668)
   	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:634)
   	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:682)
   	at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:553)
   	at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:494)
   	at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:171)
   	at javax.servlet.GenericServlet.init(GenericServlet.java:244)
   	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:534)
   	at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:346)
   	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)
   	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:786)
   	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)
   	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)
   	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)
   	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] TeslaCN commented on issue #1786: can not restart,.SchedulerException: The Scheduler cannot be restarted after shutdown() has been called.

Posted by GitBox <gi...@apache.org>.
TeslaCN commented on issue #1786:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1786#issuecomment-749575789


   Hi @zhouyutaoz 
   We need to know how to reproduce this problem.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [shardingsphere-elasticjob] wkhapy123 commented on issue #1786: can not restart,.SchedulerException: The Scheduler cannot be restarted after shutdown() has been called.

Posted by GitBox <gi...@apache.org>.
wkhapy123 commented on issue #1786:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1786#issuecomment-797393850


    run unittest  in springboot always produce


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org