Project

General

Profile

Bug #19584

Updated by Fran├žois ARMAND over 1 year ago

 
 Symptome is and so rudder not started with exception: 

 <pre> 
 [2021-07-28T11:46:23.477+02:00] ERROR FATAL An error happen during Rudder boot. Rudder will stop now. Error: SystemError: Error during initialization of Rudder; cause was: java.lang.ExceptionInInitializerError: null 
  -> 
 java.lang.ExceptionInInitializerError 
	 at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftInitContextListener.scala:128) 
	 at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:1068) 
	 at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:561) 
	 at org.eclipse.jetty.server.handler.ContextHandler.contextInitialized(ContextHandler.java:997) 
	 at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:787) 
	 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:368) 
	 at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1457) 
	 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1422) 
	 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:911) 
	 at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:277) 
	 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:524) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) 
	 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:46) 
	 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:188) 
	 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:517) 
	 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:157) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:173) 
	 at org.eclipse.jetty.deploy.providers.WebAppProvider.fileAdded(WebAppProvider.java:447) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:66) 
	 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:784) 
	 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:753) 
	 at org.eclipse.jetty.util.Scanner.scan(Scanner.java:641) 
	 at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:540) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:146) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) 
	 at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:605) 
	 at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:252) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) 
	 at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169) 
	 at org.eclipse.jetty.server.Server.start(Server.java:423) 
	 at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117) 
	 at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97) 
	 at org.eclipse.jetty.server.Server.doStart(Server.java:387) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:72) 
	 at org.eclipse.jetty.xml.XmlConfiguration.lambda$main$2(XmlConfiguration.java:1908) 
	 at java.base/java.security.AccessController.doPrivileged(Native Method) 
	 at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:1857) 
	 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
	 at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
	 at java.base/java.lang.reflect.Method.invoke(Method.java:566) 
	 at org.eclipse.jetty.start.Main.invokeMain(Main.java:218) 
	 at org.eclipse.jetty.start.Main.start(Main.java:491) 
	 at org.eclipse.jetty.start.Main.main(Main.java:77) 
 Caused by: bootstrap.liftweb.RudderConfig$InitError: An error occured when testing for LDAP connection, please check it: BackendException: An error occured; cause was: java.lang.Error: Error during LDAP connection pool initialisation. Exception: LDAPBindException:invalid credentials; Details: null 
  -> com.normation.ldap.sdk.PooledConnectionProvider.liftedTree1$1(LDAPConnectionProvider.scala:248) 
  -> com.normation.ldap.sdk.PooledConnectionProvider.pool(LDAPConnectionProvider.scala:239) 
  -> com.normation.ldap.sdk.PooledConnectionProvider.pool$(LDAPConnectionProvider.scala:239) 
 </pre> 

 Workaround:  

 <pre> 
 root@server:/home/vagrant# systemctl restart rudder-slapd 
 root@server:/home/vagrant# systemctl restart rudder-jetty 
 </pre> 

 This typically blocks all usage of rtf or other automated tool. doesn't work

Back