Actions
Bug #9613
closedOn Ubuntu 16.04, openjdk 9 is installed by default, and not recognized as a compatible version
Added by Alexis Mousset about 8 years ago. Updated almost 8 years ago.
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
Nov 03 14:48:36 58567d systemd[1]: Starting LSB: Jetty 7 webserver... Nov 03 14:48:37 58567d rudder-jetty[17483]: /opt/rudder/etc/rudder-jetty.conf: line 10: printf: openjdk: invalid number Nov 03 14:48:37 58567d rudder-jetty[17483]: Rudder requires Java 7 or later. Your version of Java (detected as /usr/bin/java) is openjdk version "9-internal".
Updated by Alexis Mousset about 8 years ago
# java -version openjdk version "9-internal" OpenJDK Runtime Environment (build 9-internal+0-2016-04-14-195246.buildd.src) OpenJDK 64-Bit Server VM (build 9-internal+0-2016-04-14-195246.buildd.src, mixed mode)
Updated by Alexis Mousset about 8 years ago
Starting the service fails even after after commenting this check. The webapp is correctly started, but the service considers it failed:
. + for T in 1 2 3 4 5 6 7 9 10 11 12 13 14 15 + sleep 4 ++ grep STARTED /opt/rudder/jetty7/jetty.state + '[' -z '' ']' ++ grep STOPPED /opt/rudder/jetty7/jetty.state + '[' -z '' ']' ++ grep FAILED /opt/rudder/jetty7/jetty.state + '[' -z '' ']' + echo -n '. ' . + return 1 ++ date + echo 'FAILED Thu Nov 3 15:09:14 UTC 2016' FAILED Thu Nov 3 15:09:14 UTC 2016 + exit 0 root@scw-58567d:~# cat /opt/rudder/jetty7/jetty.state STARTING org.eclipse.jetty.server.Server@445b295b STARTED org.eclipse.jetty.server.Server@445b295b
Updated by Alexis Mousset about 8 years ago
See https://github.com/neo4j/neo4j/pull/7222 for related issue : even when specifying openjdk-8, the 9 version is installed...
Updated by Alexis Mousset about 8 years ago
Ir breaks the status API:
# curl http://localhost:8080/endpoint/api/status <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/> <title>Error 503 Service Unavailable</title> </head> <body><h2>HTTP ERROR 503</h2> <p>Problem accessing /endpoint/api/status. Reason: <pre> Service Unavailable</pre></p><h3>Caused by:</h3><pre>org.eclipse.jetty.servlet.ServletHolder$1: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springApplication' defined in class com.normation.inventory.provisioning.endpoint.config.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.inventory.provisioning.endpoint.FusionReportEndpoint com.normation.inventory.provisioning.endpoint.config.AppConfig.springApplication(com.normation.inventory.services.provisioning.ReportUnmarshaller,com.normation.inventory.services.provisioning.ReportSaver)] threw exception; nested exception is java.lang.NumberFormatException: Not a version: 9 at org.eclipse.jetty.servlet.ServletHolder.makeUnavailable(ServletHolder.java:443) at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:496) at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:291) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:730) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:254) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:39) at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186) at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:494) at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:141) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:145) at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:56) at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:615) at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540) at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403) at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:337) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:121) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:555) at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:230) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96) at org.eclipse.jetty.server.Server.doStart(Server.java:281) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1274) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1197) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.eclipse.jetty.start.Main.invokeMain(Main.java:473) at org.eclipse.jetty.start.Main.start(Main.java:615) at org.eclipse.jetty.start.Main.main(Main.java:96) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springApplication' defined in class com.normation.inventory.provisioning.endpoint.config.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.inventory.provisioning.endpoint.FusionReportEndpoint com.normation.inventory.provisioning.endpoint.config.AppConfig.springApplication(com.normation.inventory.services.provisioning.ReportUnmarshaller,com.normation.inventory.services.provisioning.ReportSaver)] threw exception; nested exception is java.lang.NumberFormatException: Not a version: 9 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:603) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1055) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:951) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:633) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:651) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:602) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665) at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:521) at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:462) at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:475) ... 39 more Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.inventory.provisioning.endpoint.FusionReportEndpoint com.normation.inventory.provisioning.endpoint.config.AppConfig.springApplication(com.normation.inventory.services.provisioning.ReportUnmarshaller,com.normation.inventory.services.provisioning.ReportSaver)] threw exception; nested exception is java.lang.NumberFormatException: Not a version: 9 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:181) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:592) ... 58 more Caused by: java.lang.NumberFormatException: Not a version: 9 at scala.util.PropertiesTrait$class.parts$1(Properties.scala:184) at scala.util.PropertiesTrait$class.isJavaAtLeast(Properties.scala:188) at scala.util.Properties$.isJavaAtLeast(Properties.scala:17) at scala.actors.scheduler.ThreadPoolConfig$.useForkJoin(ThreadPoolConfig.scala:45) at scala.actors.Scheduler$.makeNewScheduler(Scheduler.scala:26) at scala.actors.scheduler.DelegatingScheduler$class.newActor(DelegatingScheduler.scala:63) at scala.actors.Scheduler$.newActor(Scheduler.scala:21) at scala.actors.Reactor$class.dostart(Reactor.scala:224) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.scala$actors$InternalActor$$super$dostart(FusionReportEndpoint.scala:281) at scala.actors.InternalActor$class.dostart(InternalActor.scala:284) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.dostart(FusionReportEndpoint.scala:281) at scala.actors.Reactor$class.start(Reactor.scala:236) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.scala$actors$InternalActor$$super$start(FusionReportEndpoint.scala:281) at scala.actors.InternalActor$class.start(InternalActor.scala:288) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.scala$actors$Actor$$super$start(FusionReportEndpoint.scala:281) at scala.actors.Actor$class.start(Actor.scala:406) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.start(FusionReportEndpoint.scala:281) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$.<init>(FusionReportEndpoint.scala:291) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint.com$normation$inventory$provisioning$endpoint$FusionReportEndpoint$$ReportProcessor$lzycompute(FusionReportEndpoint.scala:251) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint.com$normation$inventory$provisioning$endpoint$FusionReportEndpoint$$ReportProcessor(FusionReportEndpoint.scala:251) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint.<init>(FusionReportEndpoint.scala:74) at com.normation.inventory.provisioning.endpoint.config.AppConfig.springApplication(AppConfig.scala:289) at com.normation.inventory.provisioning.endpoint.config.AppConfig$$EnhancerBySpringCGLIB$$9419421e.CGLIB$springApplication$23(<generated>) at com.normation.inventory.provisioning.endpoint.config.AppConfig$$EnhancerBySpringCGLIB$$9419421e$$FastClassBySpringCGLIB$$3b2048b.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:293) at com.normation.inventory.provisioning.endpoint.config.AppConfig$$EnhancerBySpringCGLIB$$9419421e.springApplication(<generated>) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160) ... 59 more </pre> <h3>Caused by:</h3><pre>org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springApplication' defined in class com.normation.inventory.provisioning.endpoint.config.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.inventory.provisioning.endpoint.FusionReportEndpoint com.normation.inventory.provisioning.endpoint.config.AppConfig.springApplication(com.normation.inventory.services.provisioning.ReportUnmarshaller,com.normation.inventory.services.provisioning.ReportSaver)] threw exception; nested exception is java.lang.NumberFormatException: Not a version: 9 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:603) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1055) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:951) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:633) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:651) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:602) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665) at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:521) at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:462) at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:475) at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:291) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:730) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:254) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:39) at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186) at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:494) at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:141) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:145) at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:56) at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:615) at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540) at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403) at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:337) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:121) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:555) at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:230) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96) at org.eclipse.jetty.server.Server.doStart(Server.java:281) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1274) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1197) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.eclipse.jetty.start.Main.invokeMain(Main.java:473) at org.eclipse.jetty.start.Main.start(Main.java:615) at org.eclipse.jetty.start.Main.main(Main.java:96) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.inventory.provisioning.endpoint.FusionReportEndpoint com.normation.inventory.provisioning.endpoint.config.AppConfig.springApplication(com.normation.inventory.services.provisioning.ReportUnmarshaller,com.normation.inventory.services.provisioning.ReportSaver)] threw exception; nested exception is java.lang.NumberFormatException: Not a version: 9 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:181) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:592) ... 58 more Caused by: java.lang.NumberFormatException: Not a version: 9 at scala.util.PropertiesTrait$class.parts$1(Properties.scala:184) at scala.util.PropertiesTrait$class.isJavaAtLeast(Properties.scala:188) at scala.util.Properties$.isJavaAtLeast(Properties.scala:17) at scala.actors.scheduler.ThreadPoolConfig$.useForkJoin(ThreadPoolConfig.scala:45) at scala.actors.Scheduler$.makeNewScheduler(Scheduler.scala:26) at scala.actors.scheduler.DelegatingScheduler$class.newActor(DelegatingScheduler.scala:63) at scala.actors.Scheduler$.newActor(Scheduler.scala:21) at scala.actors.Reactor$class.dostart(Reactor.scala:224) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.scala$actors$InternalActor$$super$dostart(FusionReportEndpoint.scala:281) at scala.actors.InternalActor$class.dostart(InternalActor.scala:284) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.dostart(FusionReportEndpoint.scala:281) at scala.actors.Reactor$class.start(Reactor.scala:236) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.scala$actors$InternalActor$$super$start(FusionReportEndpoint.scala:281) at scala.actors.InternalActor$class.start(InternalActor.scala:288) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.scala$actors$Actor$$super$start(FusionReportEndpoint.scala:281) at scala.actors.Actor$class.start(Actor.scala:406) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.start(FusionReportEndpoint.scala:281) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$.<init>(FusionReportEndpoint.scala:291) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint.com$normation$inventory$provisioning$endpoint$FusionReportEndpoint$$ReportProcessor$lzycompute(FusionReportEndpoint.scala:251) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint.com$normation$inventory$provisioning$endpoint$FusionReportEndpoint$$ReportProcessor(FusionReportEndpoint.scala:251) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint.<init>(FusionReportEndpoint.scala:74) at com.normation.inventory.provisioning.endpoint.config.AppConfig.springApplication(AppConfig.scala:289) at com.normation.inventory.provisioning.endpoint.config.AppConfig$$EnhancerBySpringCGLIB$$9419421e.CGLIB$springApplication$23(<generated>) at com.normation.inventory.provisioning.endpoint.config.AppConfig$$EnhancerBySpringCGLIB$$9419421e$$FastClassBySpringCGLIB$$3b2048b.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:293) at com.normation.inventory.provisioning.endpoint.config.AppConfig$$EnhancerBySpringCGLIB$$9419421e.springApplication(<generated>) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160) ... 59 more </pre> <h3>Caused by:</h3><pre>org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.inventory.provisioning.endpoint.FusionReportEndpoint com.normation.inventory.provisioning.endpoint.config.AppConfig.springApplication(com.normation.inventory.services.provisioning.ReportUnmarshaller,com.normation.inventory.services.provisioning.ReportSaver)] threw exception; nested exception is java.lang.NumberFormatException: Not a version: 9 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:181) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:592) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1055) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:951) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:633) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:651) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:602) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665) at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:521) at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:462) at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:475) at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:291) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:730) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:254) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:39) at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186) at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:494) at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:141) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:145) at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:56) at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:615) at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540) at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403) at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:337) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:121) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:555) at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:230) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96) at org.eclipse.jetty.server.Server.doStart(Server.java:281) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1274) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1197) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.eclipse.jetty.start.Main.invokeMain(Main.java:473) at org.eclipse.jetty.start.Main.start(Main.java:615) at org.eclipse.jetty.start.Main.main(Main.java:96) Caused by: java.lang.NumberFormatException: Not a version: 9 at scala.util.PropertiesTrait$class.parts$1(Properties.scala:184) at scala.util.PropertiesTrait$class.isJavaAtLeast(Properties.scala:188) at scala.util.Properties$.isJavaAtLeast(Properties.scala:17) at scala.actors.scheduler.ThreadPoolConfig$.useForkJoin(ThreadPoolConfig.scala:45) at scala.actors.Scheduler$.makeNewScheduler(Scheduler.scala:26) at scala.actors.scheduler.DelegatingScheduler$class.newActor(DelegatingScheduler.scala:63) at scala.actors.Scheduler$.newActor(Scheduler.scala:21) at scala.actors.Reactor$class.dostart(Reactor.scala:224) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.scala$actors$InternalActor$$super$dostart(FusionReportEndpoint.scala:281) at scala.actors.InternalActor$class.dostart(InternalActor.scala:284) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.dostart(FusionReportEndpoint.scala:281) at scala.actors.Reactor$class.start(Reactor.scala:236) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.scala$actors$InternalActor$$super$start(FusionReportEndpoint.scala:281) at scala.actors.InternalActor$class.start(InternalActor.scala:288) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.scala$actors$Actor$$super$start(FusionReportEndpoint.scala:281) at scala.actors.Actor$class.start(Actor.scala:406) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.start(FusionReportEndpoint.scala:281) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$.<init>(FusionReportEndpoint.scala:291) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint.com$normation$inventory$provisioning$endpoint$FusionReportEndpoint$$ReportProcessor$lzycompute(FusionReportEndpoint.scala:251) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint.com$normation$inventory$provisioning$endpoint$FusionReportEndpoint$$ReportProcessor(FusionReportEndpoint.scala:251) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint.<init>(FusionReportEndpoint.scala:74) at com.normation.inventory.provisioning.endpoint.config.AppConfig.springApplication(AppConfig.scala:289) at com.normation.inventory.provisioning.endpoint.config.AppConfig$$EnhancerBySpringCGLIB$$9419421e.CGLIB$springApplication$23(<generated>) at com.normation.inventory.provisioning.endpoint.config.AppConfig$$EnhancerBySpringCGLIB$$9419421e$$FastClassBySpringCGLIB$$3b2048b.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:293) at com.normation.inventory.provisioning.endpoint.config.AppConfig$$EnhancerBySpringCGLIB$$9419421e.springApplication(<generated>) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160) ... 59 more </pre> <h3>Caused by:</h3><pre>java.lang.NumberFormatException: Not a version: 9 at scala.util.PropertiesTrait$class.parts$1(Properties.scala:184) at scala.util.PropertiesTrait$class.isJavaAtLeast(Properties.scala:188) at scala.util.Properties$.isJavaAtLeast(Properties.scala:17) at scala.actors.scheduler.ThreadPoolConfig$.useForkJoin(ThreadPoolConfig.scala:45) at scala.actors.Scheduler$.makeNewScheduler(Scheduler.scala:26) at scala.actors.scheduler.DelegatingScheduler$class.newActor(DelegatingScheduler.scala:63) at scala.actors.Scheduler$.newActor(Scheduler.scala:21) at scala.actors.Reactor$class.dostart(Reactor.scala:224) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.scala$actors$InternalActor$$super$dostart(FusionReportEndpoint.scala:281) at scala.actors.InternalActor$class.dostart(InternalActor.scala:284) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.dostart(FusionReportEndpoint.scala:281) at scala.actors.Reactor$class.start(Reactor.scala:236) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.scala$actors$InternalActor$$super$start(FusionReportEndpoint.scala:281) at scala.actors.InternalActor$class.start(InternalActor.scala:288) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.scala$actors$Actor$$super$start(FusionReportEndpoint.scala:281) at scala.actors.Actor$class.start(Actor.scala:406) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$$anon$1.start(FusionReportEndpoint.scala:281) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint$ReportProcessor$.<init>(FusionReportEndpoint.scala:291) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint.com$normation$inventory$provisioning$endpoint$FusionReportEndpoint$$ReportProcessor$lzycompute(FusionReportEndpoint.scala:251) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint.com$normation$inventory$provisioning$endpoint$FusionReportEndpoint$$ReportProcessor(FusionReportEndpoint.scala:251) at com.normation.inventory.provisioning.endpoint.FusionReportEndpoint.<init>(FusionReportEndpoint.scala:74) at com.normation.inventory.provisioning.endpoint.config.AppConfig.springApplication(AppConfig.scala:289) at com.normation.inventory.provisioning.endpoint.config.AppConfig$$EnhancerBySpringCGLIB$$9419421e.CGLIB$springApplication$23(<generated>) at com.normation.inventory.provisioning.endpoint.config.AppConfig$$EnhancerBySpringCGLIB$$9419421e$$FastClassBySpringCGLIB$$3b2048b.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:293) at com.normation.inventory.provisioning.endpoint.config.AppConfig$$EnhancerBySpringCGLIB$$9419421e.springApplication(<generated>) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:160) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:592) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1055) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:951) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:633) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:651) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:602) at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:665) at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:521) at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:462) at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136) at javax.servlet.GenericServlet.init(GenericServlet.java:241) at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:475) at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:291) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:730) at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:254) at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1240) at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:689) at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:482) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:39) at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:186) at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:494) at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:141) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:145) at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:56) at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:615) at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:540) at org.eclipse.jetty.util.Scanner.scan(Scanner.java:403) at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:337) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:121) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:555) at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:230) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.util.component.AggregateLifeCycle.doStart(AggregateLifeCycle.java:81) at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:58) at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:96) at org.eclipse.jetty.server.Server.doStart(Server.java:281) at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64) at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1274) at java.security.AccessController.doPrivileged(java.base@9-internal/Native Method) at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1197) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at org.eclipse.jetty.start.Main.invokeMain(Main.java:473) at org.eclipse.jetty.start.Main.start(Main.java:615) at org.eclipse.jetty.start.Main.main(Main.java:96) </pre> <hr /><i><small>Powered by Jetty://</small></i><br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> </body> </html>
Updated by Alexis Mousset about 8 years ago
- Status changed from New to In progress
- Assignee set to Alexis Mousset
Updated by Alexis Mousset about 8 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-packages/pull/1136
Updated by Alexis Mousset about 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-packages|f6eb41598dc5b469e035c69d7a98396e3235c094.
Updated by Vincent MEMBRÉ almost 8 years ago
- Status changed from Pending release to Released
Actions