Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-1632

Invalid Cron in a job leads jetty to not work anymore

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.4-M2
    • Fix Version/s: 1.4-M3
    • Component/s: system
    • Labels:
      None
    • Environment:
      Windows 2008 R2
      JDK7

      Description

      When entering an invalid cron expression and restarting archiva, it wont start anymore

      jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
      jvm 1 | at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1197)
      jvm 1 | at java.security.AccessController.doPrivileged(Native Method)
      jvm 1 | at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1120)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
      jvm 1 | at org.eclipse.jetty.start.Main.invokeMain(Main.java:469)
      jvm 1 | at org.eclipse.jetty.start.Main.start(Main.java:612)
      jvm 1 | at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:265)
      jvm 1 | at org.eclipse.jetty.start.Main.main(Main.java:79)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
      jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      jvm 1 | at java.lang.Thread.run(Unknown Source)
      jvm 1 | Caused by:
      jvm 1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'repositoriesService#rest': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.apache.archiva.scheduler.indexing.DownloadRemoteIndexScheduler org.apache.archiva.rest.services.DefaultRepositoriesService.downloadRemoteIndexScheduler; nested exception is org.springframework.beans.factory.BeanCrea
      tionException: Error creating bean with name 'downloadRemoteIndexScheduler#default': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: cron expression must consist of 6 fields (found 5 in */5 * * * *)
      jvm 1 | at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:288)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
      jvm 1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
      jvm 1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
      jvm 1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
      jvm 1 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
      jvm 1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
      jvm 1 | at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
      jvm 1 | at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
      jvm 1 | at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
      jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:640)
      jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:229)
      jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1208)
      jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:586)
      jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:449)
      jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
      jvm 1 | at org.eclipse.jetty.deploy.WebAppDeployer.scan(WebAppDeployer.java:306)
      jvm 1 | at org.eclipse.jetty.deploy.WebAppDeployer.doStart(WebAppDeployer.java:186)
      jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
      jvm 1 | at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:41)
      jvm 1 | at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:50)
      jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
      jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:258)
      jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
      jvm 1 | at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1197)
      jvm 1 | at java.security.AccessController.doPrivileged(Native Method)
      jvm 1 | at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1120)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
      jvm 1 | at org.eclipse.jetty.start.Main.invokeMain(Main.java:469)
      jvm 1 | at org.eclipse.jetty.start.Main.start(Main.java:612)
      jvm 1 | at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:265)
      jvm 1 | at org.eclipse.jetty.start.Main.main(Main.java:79)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
      jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      jvm 1 | at java.lang.Thread.run(Unknown Source)
      jvm 1 | Caused by:
      jvm 1 | org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.apache.archiva.scheduler.indexing.DownloadRemoteIndexScheduler org.apache.archiva.rest.services.DefaultRepositoriesService.downloadRemoteIndexScheduler; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'downloadRemoteIndexScheduler#default': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: cron
      expression must consist of 6 fields (found 5 in */5 * * * *)
      jvm 1 | at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:508)
      jvm 1 | at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
      jvm 1 | at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
      jvm 1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
      jvm 1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
      jvm 1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
      jvm 1 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
      jvm 1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
      jvm 1 | at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
      jvm 1 | at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
      jvm 1 | at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
      jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:640)
      jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:229)
      jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1208)
      jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:586)
      jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:449)
      jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
      jvm 1 | at org.eclipse.jetty.deploy.WebAppDeployer.scan(WebAppDeployer.java:306)
      jvm 1 | at org.eclipse.jetty.deploy.WebAppDeployer.doStart(WebAppDeployer.java:186)
      jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
      jvm 1 | at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:41)
      jvm 1 | at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:50)
      jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
      jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:258)
      jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
      jvm 1 | at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1197)
      jvm 1 | at java.security.AccessController.doPrivileged(Native Method)
      jvm 1 | at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1120)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
      jvm 1 | at org.eclipse.jetty.start.Main.invokeMain(Main.java:469)
      jvm 1 | at org.eclipse.jetty.start.Main.start(Main.java:612)
      jvm 1 | at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:265)
      jvm 1 | at org.eclipse.jetty.start.Main.main(Main.java:79)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
      jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      jvm 1 | at java.lang.Thread.run(Unknown Source)
      jvm 1 | Caused by:
      jvm 1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'downloadRemoteIndexScheduler#default': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: cron expression must consist of 6 fields (found 5 in */5 * * * *)
      jvm 1 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
      jvm 1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
      jvm 1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:848)
      jvm 1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:790)
      jvm 1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:707)
      jvm 1 | at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480)
      jvm 1 | at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
      jvm 1 | at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
      jvm 1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
      jvm 1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
      jvm 1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
      jvm 1 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
      jvm 1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
      jvm 1 | at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
      jvm 1 | at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
      jvm 1 | at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
      jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:640)
      jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:229)
      jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1208)
      jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:586)
      jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:449)
      jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
      jvm 1 | at org.eclipse.jetty.deploy.WebAppDeployer.scan(WebAppDeployer.java:306)
      jvm 1 | at org.eclipse.jetty.deploy.WebAppDeployer.doStart(WebAppDeployer.java:186)
      jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
      jvm 1 | at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:41)
      jvm 1 | at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:50)
      jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
      jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:258)
      jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
      jvm 1 | at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1197)
      jvm 1 | at java.security.AccessController.doPrivileged(Native Method)
      jvm 1 | at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1120)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
      jvm 1 | at org.eclipse.jetty.start.Main.invokeMain(Main.java:469)
      jvm 1 | at org.eclipse.jetty.start.Main.start(Main.java:612)
      jvm 1 | at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:265)
      jvm 1 | at org.eclipse.jetty.start.Main.main(Main.java:79)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
      jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      jvm 1 | at java.lang.Thread.run(Unknown Source)
      jvm 1 | Caused by:
      jvm 1 | java.lang.IllegalArgumentException: cron expression must consist of 6 fields (found 5 in */5 * * * *)
      jvm 1 | at org.springframework.scheduling.support.CronSequenceGenerator.parse(CronSequenceGenerator.java:233)
      jvm 1 | at org.springframework.scheduling.support.CronSequenceGenerator.<init>(CronSequenceGenerator.java:81)
      jvm 1 | at org.springframework.scheduling.support.CronTrigger.<init>(CronTrigger.java:54)
      jvm 1 | at org.springframework.scheduling.support.CronTrigger.<init>(CronTrigger.java:44)
      jvm 1 | at org.apache.archiva.scheduler.indexing.DefaultDownloadRemoteIndexScheduler.scheduleDownloadRemote(DefaultDownloadRemoteIndexScheduler.java:193)
      jvm 1 | at org.apache.archiva.scheduler.indexing.DefaultDownloadRemoteIndexScheduler.startup(DefaultDownloadRemoteIndexScheduler.java:124)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
      jvm 1 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:340)
      jvm 1 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:293)
      jvm 1 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
      jvm 1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
      jvm 1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:848)
      jvm 1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:790)
      jvm 1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:707)
      jvm 1 | at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480)
      jvm 1 | at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)
      jvm 1 | at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:285)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
      jvm 1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
      jvm 1 | at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1325)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1086)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
      jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
      jvm 1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
      jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)
      jvm 1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
      jvm 1 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
      jvm 1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
      jvm 1 | at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
      jvm 1 | at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
      jvm 1 | at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
      jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:640)
      jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:229)
      jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1208)
      jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:586)
      jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:449)
      jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
      jvm 1 | at org.eclipse.jetty.deploy.WebAppDeployer.scan(WebAppDeployer.java:306)
      jvm 1 | at org.eclipse.jetty.deploy.WebAppDeployer.doStart(WebAppDeployer.java:186)
      jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
      jvm 1 | at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:41)
      jvm 1 | at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:50)
      jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
      jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:258)
      jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:58)
      jvm 1 | at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1197)
      jvm 1 | at java.security.AccessController.doPrivileged(Native Method)
      jvm 1 | at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1120)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
      jvm 1 | at org.eclipse.jetty.start.Main.invokeMain(Main.java:469)
      jvm 1 | at org.eclipse.jetty.start.Main.start(Main.java:612)
      jvm 1 | at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:265)
      jvm 1 | at org.eclipse.jetty.start.Main.main(Main.java:79)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
      jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      jvm 1 | at java.lang.Thread.run(Unknown Source)
      jvm 1 | 2012-06-07 10:34:14.308:INFO::Started SelectChannelConnector@0.0.0.0:8085 STARTING

      When trying to go to localhost:8085/archiva it says
      HTTP ERROR: 503
      Problem accessing /archiva. Reason:

      Service Unavailable

      --------------------------------------------------------------------------------
      Powered by Jetty://

        Attachments

          Activity

            People

            • Assignee:
              brettporter Brett Porter
              Reporter:
              olze asdf asdf
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: