Project

General

Profile

User story #2883

Updated by François ARMAND over 7 years ago

Rudder's main webapp is now resilient to LDAP disappearing while it's running, and will display nice error messages when no LDAP is available, then run again fine when LDAP comes back. 

 However it is impossible to start the webapp if no LDAP server is running, we get this in the logs: 

 This makes running scripts to start services difficult. Can it be changed? 

 <pre> 
 11:12:17.496 [main]              INFO    b.l.AppConfigAuth$$EnhancerByCGLIB$$33de5f3d - Use configuration file defined by JVM property -Drudder.authFile : /opt/rudder/etc/rudder-users.xml 
 11:12:18.380 [main]              ERROR o.s.web.context.ContextLoader - Context initialization failed 
 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldapNodeConfigurationMapper' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.rudder.repository.ldap.LDAPNodeConfigurationMapper bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackageService' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.impl.PolicyPackageServiceImpl bootstrap.liftweb.AppConfig.policyPackageService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackagesReader' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.PolicyPackagesReader bootstrap.liftweb.AppConfig.policyPackagesReader()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldap' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) ~[spring-web-3.0.3.RELEASE.jar:3.0.3.RELEASE] 
	 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) ~[spring-web-3.0.3.RELEASE.jar:3.0.3.RELEASE] 
	 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) [spring-web-3.0.3.RELEASE.jar:3.0.3.RELEASE] 
	 at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftContextInitListener.scala:84) [classes/:na] 
	 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:641) [jetty-server-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228) [jetty-servlet-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181) [jetty-webapp-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584) [jetty-server-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496) [jetty-webapp-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) [jetty-util-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:481) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:137) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:470) [jetty-util-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:382) [jetty-util-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.util.Scanner.scan(Scanner.java:339) [jetty-util-7.2.2.v20101205.jar:7.2.2.v20101205] 
 Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.rudder.repository.ldap.LDAPNodeConfigurationMapper bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackageService' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.impl.PolicyPackageServiceImpl bootstrap.liftweb.AppConfig.policyPackageService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackagesReader' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.PolicyPackagesReader bootstrap.liftweb.AppConfig.policyPackagesReader()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldap' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:157) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 .... at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) ~[spring-web-3.0.3.RELEASE.jar:3.0.3.RELEASE] 
	 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) ~[spring-web-3.0.3.RELEASE.jar:3.0.3.RELEASE] 
	 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) [spring-web-3.0.3.RELEASE.jar:3.0.3.RELEASE] 
	 at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftContextInitListener.scala:84) [classes/:na] 
	 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:641) [jetty-server-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228) [jetty-servlet-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181) [jetty-webapp-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584) [jetty-server-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496) [jetty-webapp-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) [jetty-util-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:481) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:137) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50) [jetty-deploy-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:470) [jetty-util-7.2.2.v20101205.jar:7.2.2.v20101205] 
	 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:382) [jetty-util-7.2.2.v20101205.jar:7.2.2.v20101205] 
 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackageService' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.impl.PolicyPackageServiceImpl bootstrap.liftweb.AppConfig.policyPackageService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackagesReader' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.PolicyPackagesReader bootstrap.liftweb.AppConfig.policyPackagesReader()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldap' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 ... at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) ~[cglib-2.2.jar:na] 
	 at bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper(AppConfig.scala:211) ~[classes/:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$ldapNodeConfigurationMapper$85(<generated>) ~[cglib-2.2.jar:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) ~[cglib-2.2.jar:na] 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) ~[cglib-2.2.jar:na] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldapNodeConfigurationMapper(<generated>) ~[cglib-2.2.jar:na] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26] 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26] 
	 at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26] 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
 Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.impl.PolicyPackageServiceImpl bootstrap.liftweb.AppConfig.policyPackageService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackagesReader' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.PolicyPackagesReader bootstrap.liftweb.AppConfig.policyPackagesReader()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldap' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:157) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 ... at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) ~[cglib-2.2.jar:na] 
	 at bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper(AppConfig.scala:211) ~[classes/:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$ldapNodeConfigurationMapper$85(<generated>) ~[cglib-2.2.jar:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) ~[cglib-2.2.jar:na] 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) ~[cglib-2.2.jar:na] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldapNodeConfigurationMapper(<generated>) ~[cglib-2.2.jar:na] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26] 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26] 
	 at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26] 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackagesReader' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.PolicyPackagesReader bootstrap.liftweb.AppConfig.policyPackagesReader()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldap' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 ... at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackagesReader(<generated>) ~[cglib-2.2.jar:na] 
	 at bootstrap.liftweb.AppConfig.policyPackageService(AppConfig.scala:295) ~[classes/:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$policyPackageService$86(<generated>) ~[cglib-2.2.jar:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) ~[cglib-2.2.jar:na] 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) ~[cglib-2.2.jar:na] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) ~[cglib-2.2.jar:na] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26] 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26] 
	 at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26] 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
 Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.PolicyPackagesReader bootstrap.liftweb.AppConfig.policyPackagesReader()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldap' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:157) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 .... at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackagesReader(<generated>) ~[cglib-2.2.jar:na] 
	 at bootstrap.liftweb.AppConfig.policyPackageService(AppConfig.scala:295) ~[classes/:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$policyPackageService$86(<generated>) ~[cglib-2.2.jar:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) ~[cglib-2.2.jar:na] 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) ~[cglib-2.2.jar:na] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) ~[cglib-2.2.jar:na] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26] 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26] 
	 at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26] 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldap' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 ... at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldap(<generated>) ~[cglib-2.2.jar:na] 
	 at bootstrap.liftweb.AppConfig.policyPackagesReader(AppConfig.scala:247) ~[classes/:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$policyPackagesReader$96(<generated>) ~[cglib-2.2.jar:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) ~[cglib-2.2.jar:na] 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) ~[cglib-2.2.jar:na] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackagesReader(<generated>) ~[cglib-2.2.jar:na] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26] 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26] 
	 at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26] 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
 Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:157) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 ... at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldap(<generated>) ~[cglib-2.2.jar:na] 
	 at bootstrap.liftweb.AppConfig.policyPackagesReader(AppConfig.scala:247) ~[classes/:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$policyPackagesReader$96(<generated>) ~[cglib-2.2.jar:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) ~[cglib-2.2.jar:na] 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) ~[cglib-2.2.jar:na] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackagesReader(<generated>) ~[cglib-2.2.jar:na] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26] 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26] 
	 at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26] 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
 Caused by: com.unboundid.ldap.sdk.LDAPException: An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused 
	 at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:705) ~[unboundid-ldapsdk-2.2.0.jar:2.2.0] 
	 ... at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:639) ~[unboundid-ldapsdk-2.2.0.jar:2.2.0] 
	 at com.unboundid.ldap.sdk.LDAPConnection.<init>(LDAPConnection.java:471) ~[unboundid-ldapsdk-2.2.0.jar:2.2.0] 
	 at com.unboundid.ldap.sdk.LDAPConnection.<init>(LDAPConnection.java:597) ~[unboundid-ldapsdk-2.2.0.jar:2.2.0] 
	 at com.unboundid.ldap.sdk.LDAPConnection.<init>(LDAPConnection.java:530) ~[unboundid-ldapsdk-2.2.0.jar:2.2.0] 
	 at com.normation.ldap.sdk.SimpleAuthConnection$class.newUnboundidConnection(LDAPConnectionProvider.scala:209) ~[scala-ldap-0.10.1-SNAPSHOT.jar:na] 
	 at com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider.newUnboundidConnection(LDAPConnectionProvider.scala:315) ~[scala-ldap-0.10.1-SNAPSHOT.jar:na] 
	 at com.normation.ldap.sdk.PooledConnectionProvider$class.$init$(LDAPConnectionProvider.scala:258) ~[scala-ldap-0.10.1-SNAPSHOT.jar:na] 
	 at com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider.<init>(LDAPConnectionProvider.scala:315) ~[scala-ldap-0.10.1-SNAPSHOT.jar:na] 
	 at bootstrap.liftweb.AppConfig.ldap(AppConfig.scala:365) ~[classes/:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$ldap$87(<generated>) ~[cglib-2.2.jar:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) ~[cglib-2.2.jar:na] 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) ~[cglib-2.2.jar:na] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldap(<generated>) ~[cglib-2.2.jar:na] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26] 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26] 
	 at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26] 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldap(<generated>) ~[cglib-2.2.jar:na] 
 Caused by: java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused 
	 at com.unboundid.ldap.sdk.LDAPConnectionInternals.<init>(LDAPConnectionInternals.java:142) ~[unboundid-ldapsdk-2.2.0.jar:2.2.0] 
	 at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:696) ~[unboundid-ldapsdk-2.2.0.jar:2.2.0] 
	 at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:639) ~[unboundid-ldapsdk-2.2.0.jar:2.2.0] 
	 at com.unboundid.ldap.sdk.LDAPConnection.<init>(LDAPConnection.java:471) ~[unboundid-ldapsdk-2.2.0.jar:2.2.0] 
	 at com.unboundid.ldap.sdk.LDAPConnection.<init>(LDAPConnection.java:597) ~[unboundid-ldapsdk-2.2.0.jar:2.2.0] 
	 at com.unboundid.ldap.sdk.LDAPConnection.<init>(LDAPConnection.java:530) ~[unboundid-ldapsdk-2.2.0.jar:2.2.0] 
	 at com.normation.ldap.sdk.SimpleAuthConnection$class.newUnboundidConnection(LDAPConnectionProvider.scala:209) ~[scala-ldap-0.10.1-SNAPSHOT.jar:na] 
	 at com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider.newUnboundidConnection(LDAPConnectionProvider.scala:315) ~[scala-ldap-0.10.1-SNAPSHOT.jar:na] 
	 at com.normation.ldap.sdk.PooledConnectionProvider$class.$init$(LDAPConnectionProvider.scala:258) ~[scala-ldap-0.10.1-SNAPSHOT.jar:na] 
	 at com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider.<init>(LDAPConnectionProvider.scala:315) ~[scala-ldap-0.10.1-SNAPSHOT.jar:na] 
	 at bootstrap.liftweb.AppConfig.ldap(AppConfig.scala:365) ~[classes/:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$ldap$87(<generated>) ~[cglib-2.2.jar:na] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) ~[cglib-2.2.jar:na] 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) ~[cglib-2.2.jar:na] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldap(<generated>) ~[cglib-2.2.jar:na] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_26] 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_26] 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_26] 
	 at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_26] 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) ~[spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) ~[spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
 2012-09-10 11:12:18.381:WARN::Failed startup of context o.e.j.w.WebAppContext{/rudder,file:/tmp/jetty-127.0.0.1-8080-rudder.war-_rudder-any-/webapp/},/opt/rudder/jetty7/webapps/rudder.war 
 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldapNodeConfigurationMapper' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.rudder.repository.ldap.LDAPNodeConfigurationMapper bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackageService' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.impl.PolicyPackageServiceImpl bootstrap.liftweb.AppConfig.policyPackageService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackagesReader' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.PolicyPackagesReader bootstrap.liftweb.AppConfig.policyPackagesReader()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldap' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 ... at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) 
	 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) 
	 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) 
	 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) 
	 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) 
	 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) 
	 at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftContextInitListener.scala:84) 
	 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:641) 
	 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228) 
	 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181) 
	 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584) 
	 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) 
	 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180) 
	 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:481) 
	 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50) 
	 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:470) 
	 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:382) 
	 at org.eclipse.jetty.util.Scanner.scan(Scanner.java:339) 
	 at org.eclipse.jetty.util.Scanner.start(Scanner.java:275) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:114) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:542) 
	 at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:214) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.server.Server.doStart(Server.java:226) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1061) 
	 at java.security.AccessController.doPrivileged(Native Method) 
	 at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:994) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.eclipse.jetty.start.Main.invokeMain(Main.java:477) 
	 at org.eclipse.jetty.start.Main.start(Main.java:623) 
	 at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:273) 
	 at org.eclipse.jetty.start.Main.main(Main.java:81) 
 Caused by:  
 org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.rudder.repository.ldap.LDAPNodeConfigurationMapper bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackageService' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.impl.PolicyPackageServiceImpl bootstrap.liftweb.AppConfig.policyPackageService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackagesReader' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.PolicyPackagesReader bootstrap.liftweb.AppConfig.policyPackagesReader()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldap' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:157) 
	 ... at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) 
	 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) 
	 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) 
	 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) 
	 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) 
	 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) 
	 at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftContextInitListener.scala:84) 
	 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:641) 
	 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228) 
	 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181) 
	 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584) 
	 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) 
	 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180) 
	 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:481) 
	 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50) 
	 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:470) 
	 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:382) 
	 at org.eclipse.jetty.util.Scanner.scan(Scanner.java:339) 
	 at org.eclipse.jetty.util.Scanner.start(Scanner.java:275) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:114) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:542) 
	 at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:214) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.server.Server.doStart(Server.java:226) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1061) 
	 at java.security.AccessController.doPrivileged(Native Method) 
	 at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:994) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.eclipse.jetty.start.Main.invokeMain(Main.java:477) 
	 at org.eclipse.jetty.start.Main.start(Main.java:623) 
	 at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:273) 
	 at org.eclipse.jetty.start.Main.main(Main.java:81) 
 Caused by:  
 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackageService' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.impl.PolicyPackageServiceImpl bootstrap.liftweb.AppConfig.policyPackageService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackagesReader' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.PolicyPackagesReader bootstrap.liftweb.AppConfig.policyPackagesReader()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldap' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) 
	 ...... at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) 
	 at bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper(AppConfig.scala:211) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$ldapNodeConfigurationMapper$85(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldapNodeConfigurationMapper(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) 
	 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) 
	 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) 
	 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) 
	 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) 
	 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) 
	 at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftContextInitListener.scala:84) 
	 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:641) 
	 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228) 
	 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181) 
	 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584) 
	 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) 
	 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180) 
	 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:481) 
	 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50) 
	 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:470) 
	 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:382) 
	 at org.eclipse.jetty.util.Scanner.scan(Scanner.java:339) 
	 at org.eclipse.jetty.util.Scanner.start(Scanner.java:275) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:114) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:542) 
	 at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:214) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.server.Server.doStart(Server.java:226) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1061) 
	 at java.security.AccessController.doPrivileged(Native Method) 
	 at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:994) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.eclipse.jetty.start.Main.invokeMain(Main.java:477) 
	 at org.eclipse.jetty.start.Main.start(Main.java:623) 
	 at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:273) 
	 at org.eclipse.jetty.start.Main.main(Main.java:81) 
 Caused by:  
 org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.impl.PolicyPackageServiceImpl bootstrap.liftweb.AppConfig.policyPackageService()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackagesReader' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.PolicyPackagesReader bootstrap.liftweb.AppConfig.policyPackagesReader()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldap' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:157) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) 
	 at bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper(AppConfig.scala:211) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$ldapNodeConfigurationMapper$85(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldapNodeConfigurationMapper(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) 
	 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) 
	 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) 
	 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) 
	 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) 
	 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) 
	 at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftContextInitListener.scala:84) 
	 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:641) 
	 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228) 
	 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181) 
	 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584) 
	 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) 
	 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180) 
	 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:481) 
	 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50) 
	 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:470) 
	 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:382) 
	 at org.eclipse.jetty.util.Scanner.scan(Scanner.java:339) 
	 at org.eclipse.jetty.util.Scanner.start(Scanner.java:275) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:114) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:542) 
	 at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:214) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.server.Server.doStart(Server.java:226) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1061) 
	 at java.security.AccessController.doPrivileged(Native Method) 
	 at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:994) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.eclipse.jetty.start.Main.invokeMain(Main.java:477) 
	 at org.eclipse.jetty.start.Main.start(Main.java:623) 
	 at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:273) 
	 at org.eclipse.jetty.start.Main.main(Main.java:81) 
 Caused by:  
 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'policyPackagesReader' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.PolicyPackagesReader bootstrap.liftweb.AppConfig.policyPackagesReader()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldap' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackagesReader(<generated>) 
	 at bootstrap.liftweb.AppConfig.policyPackageService(AppConfig.scala:295) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$policyPackageService$86(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) 
	 at bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper(AppConfig.scala:211) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$ldapNodeConfigurationMapper$85(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldapNodeConfigurationMapper(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) 
	 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) 
	 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) 
	 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) 
	 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) 
	 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) 
	 at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftContextInitListener.scala:84) 
	 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:641) 
	 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228) 
	 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181) 
	 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584) 
	 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) 
	 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180) 
	 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:481) 
	 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50) 
	 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:470) 
	 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:382) 
	 at org.eclipse.jetty.util.Scanner.scan(Scanner.java:339) 
	 at org.eclipse.jetty.util.Scanner.start(Scanner.java:275) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:114) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:542) 
	 at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:214) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.server.Server.doStart(Server.java:226) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1061) 
	 at java.security.AccessController.doPrivileged(Native Method) 
	 at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:994) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.eclipse.jetty.start.Main.invokeMain(Main.java:477) 
	 at org.eclipse.jetty.start.Main.start(Main.java:623) 
	 at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:273) 
	 at org.eclipse.jetty.start.Main.main(Main.java:81) 
 Caused by:  
 org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.cfclerk.services.PolicyPackagesReader bootstrap.liftweb.AppConfig.policyPackagesReader()] threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldap' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:157) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackagesReader(<generated>) 
	 at bootstrap.liftweb.AppConfig.policyPackageService(AppConfig.scala:295) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$policyPackageService$86(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) 
	 at bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper(AppConfig.scala:211) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$ldapNodeConfigurationMapper$85(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldapNodeConfigurationMapper(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) 
	 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) 
	 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) 
	 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) 
	 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) 
	 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) 
	 at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftContextInitListener.scala:84) 
	 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:641) 
	 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228) 
	 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181) 
	 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584) 
	 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) 
	 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180) 
	 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:481) 
	 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50) 
	 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:470) 
	 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:382) 
	 at org.eclipse.jetty.util.Scanner.scan(Scanner.java:339) 
	 at org.eclipse.jetty.util.Scanner.start(Scanner.java:275) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:114) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:542) 
	 at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:214) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.server.Server.doStart(Server.java:226) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1061) 
	 at java.security.AccessController.doPrivileged(Native Method) 
	 at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:994) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.eclipse.jetty.start.Main.invokeMain(Main.java:477) 
	 at org.eclipse.jetty.start.Main.start(Main.java:623) 
	 at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:273) 
	 at org.eclipse.jetty.start.Main.main(Main.java:81) 
 Caused by:  
 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ldap' defined in class bootstrap.liftweb.AppConfig: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:581) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldap(<generated>) 
	 at bootstrap.liftweb.AppConfig.policyPackagesReader(AppConfig.scala:247) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$policyPackagesReader$96(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackagesReader(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackagesReader(<generated>) 
	 at bootstrap.liftweb.AppConfig.policyPackageService(AppConfig.scala:295) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$policyPackageService$86(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) 
	 at bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper(AppConfig.scala:211) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$ldapNodeConfigurationMapper$85(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldapNodeConfigurationMapper(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) 
	 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) 
	 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) 
	 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) 
	 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) 
	 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) 
	 at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftContextInitListener.scala:84) 
	 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:641) 
	 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228) 
	 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181) 
	 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584) 
	 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) 
	 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180) 
	 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:481) 
	 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50) 
	 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:470) 
	 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:382) 
	 at org.eclipse.jetty.util.Scanner.scan(Scanner.java:339) 
	 at org.eclipse.jetty.util.Scanner.start(Scanner.java:275) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:114) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:542) 
	 at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:214) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.server.Server.doStart(Server.java:226) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1061) 
	 at java.security.AccessController.doPrivileged(Native Method) 
	 at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:994) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.eclipse.jetty.start.Main.invokeMain(Main.java:477) 
	 at org.eclipse.jetty.start.Main.start(Main.java:623) 
	 at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:273) 
	 at org.eclipse.jetty.start.Main.main(Main.java:81) 
 Caused by:  
 org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider bootstrap.liftweb.AppConfig.ldap()] threw exception; nested exception is LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:157) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldap(<generated>) 
	 at bootstrap.liftweb.AppConfig.policyPackagesReader(AppConfig.scala:247) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$policyPackagesReader$96(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackagesReader(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackagesReader(<generated>) 
	 at bootstrap.liftweb.AppConfig.policyPackageService(AppConfig.scala:295) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$policyPackageService$86(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) 
	 at bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper(AppConfig.scala:211) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$ldapNodeConfigurationMapper$85(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldapNodeConfigurationMapper(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) 
	 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) 
	 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) 
	 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) 
	 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) 
	 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) 
	 at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftContextInitListener.scala:84) 
	 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:641) 
	 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228) 
	 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181) 
	 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584) 
	 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) 
	 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180) 
	 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:481) 
	 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50) 
	 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:470) 
	 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:382) 
	 at org.eclipse.jetty.util.Scanner.scan(Scanner.java:339) 
	 at org.eclipse.jetty.util.Scanner.start(Scanner.java:275) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:114) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:542) 
	 at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:214) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.server.Server.doStart(Server.java:226) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1061) 
	 at java.security.AccessController.doPrivileged(Native Method) 
	 at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:994) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.eclipse.jetty.start.Main.invokeMain(Main.java:477) 
	 at org.eclipse.jetty.start.Main.start(Main.java:623) 
	 at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:273) 
	 at org.eclipse.jetty.start.Main.main(Main.java:81) 
 Caused by:  
 LDAPException(resultCode=91 (connect error), errorMessage='An error occurred while attempting to connect to server localhost:389:    java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused') 
	 at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:705) 
	 at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:639) 
	 at com.unboundid.ldap.sdk.LDAPConnection.<init>(LDAPConnection.java:471) 
	 at com.unboundid.ldap.sdk.LDAPConnection.<init>(LDAPConnection.java:597) 
	 at com.unboundid.ldap.sdk.LDAPConnection.<init>(LDAPConnection.java:530) 
	 at com.normation.ldap.sdk.SimpleAuthConnection$class.newUnboundidConnection(LDAPConnectionProvider.scala:209) 
	 at com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider.newUnboundidConnection(LDAPConnectionProvider.scala:315) 
	 at com.normation.ldap.sdk.PooledConnectionProvider$class.$init$(LDAPConnectionProvider.scala:258) 
	 at com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider.<init>(LDAPConnectionProvider.scala:315) 
	 at bootstrap.liftweb.AppConfig.ldap(AppConfig.scala:365) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$ldap$87(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldap(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldap(<generated>) 
	 at bootstrap.liftweb.AppConfig.policyPackagesReader(AppConfig.scala:247) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$policyPackagesReader$96(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackagesReader(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackagesReader(<generated>) 
	 at bootstrap.liftweb.AppConfig.policyPackageService(AppConfig.scala:295) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$policyPackageService$86(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) 
	 at bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper(AppConfig.scala:211) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$ldapNodeConfigurationMapper$85(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldapNodeConfigurationMapper(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) 
	 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) 
	 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) 
	 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) 
	 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) 
	 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) 
	 at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftContextInitListener.scala:84) 
	 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:641) 
	 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228) 
	 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181) 
	 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584) 
	 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) 
	 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180) 
	 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:481) 
	 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50) 
	 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:470) 
	 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:382) 
	 at org.eclipse.jetty.util.Scanner.scan(Scanner.java:339) 
	 at org.eclipse.jetty.util.Scanner.start(Scanner.java:275) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:114) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:542) 
	 at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:214) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.server.Server.doStart(Server.java:226) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1061) 
	 at java.security.AccessController.doPrivileged(Native Method) 
	 at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:994) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.eclipse.jetty.start.Main.invokeMain(Main.java:477) 
	 at org.eclipse.jetty.start.Main.start(Main.java:623) 
	 at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:273) 
	 at org.eclipse.jetty.start.Main.main(Main.java:81) 
 Caused by:  
 java.io.IOException: An error occurred while attempting to establish a connection to server localhost:389:    java.net.ConnectException: Connection refused 
	 at com.unboundid.ldap.sdk.LDAPConnectionInternals.<init>(LDAPConnectionInternals.java:142) 
	 at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:696) 
	 at com.unboundid.ldap.sdk.LDAPConnection.connect(LDAPConnection.java:639) 
	 at com.unboundid.ldap.sdk.LDAPConnection.<init>(LDAPConnection.java:471) 
	 at com.unboundid.ldap.sdk.LDAPConnection.<init>(LDAPConnection.java:597) 
	 at com.unboundid.ldap.sdk.LDAPConnection.<init>(LDAPConnection.java:530) 
	 at com.normation.ldap.sdk.SimpleAuthConnection$class.newUnboundidConnection(LDAPConnectionProvider.scala:209) 
	 at com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider.newUnboundidConnection(LDAPConnectionProvider.scala:315) 
	 at com.normation.ldap.sdk.PooledConnectionProvider$class.$init$(LDAPConnectionProvider.scala:258) 
	 at com.normation.ldap.sdk.PooledSimpleAuthConnectionProvider.<init>(LDAPConnectionProvider.scala:315) 
	 at bootstrap.liftweb.AppConfig.ldap(AppConfig.scala:365) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$ldap$87(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldap(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldap(<generated>) 
	 at bootstrap.liftweb.AppConfig.policyPackagesReader(AppConfig.scala:247) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$policyPackagesReader$96(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackagesReader(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackagesReader(<generated>) 
	 at bootstrap.liftweb.AppConfig.policyPackageService(AppConfig.scala:295) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$policyPackageService$86(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:206) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.policyPackageService(<generated>) 
	 at bootstrap.liftweb.AppConfig.ldapNodeConfigurationMapper(AppConfig.scala:211) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.CGLIB$ldapNodeConfigurationMapper$85(<generated>) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35$$FastClassByCGLIB$$12a7341e.invoke(<generated>) 
	 at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215) 
	 at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:210) 
	 at bootstrap.liftweb.AppConfig$$EnhancerByCGLIB$$26542c35.ldapNodeConfigurationMapper(<generated>) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:145) 
	 at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:570) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:983) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:879) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) 
	 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) 
	 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) 
	 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) 
	 at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) 
	 at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) 
	 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) 
	 at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) 
	 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) 
	 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) 
	 at bootstrap.liftweb.LiftInitContextListener.contextInitialized(LiftContextInitListener.scala:84) 
	 at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:641) 
	 at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228) 
	 at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1181) 
	 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:584) 
	 at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:36) 
	 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:180) 
	 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:481) 
	 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.fileAdded(ScanningAppProvider.java:137) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.fileAdded(ScanningAppProvider.java:50) 
	 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:470) 
	 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:382) 
	 at org.eclipse.jetty.util.Scanner.scan(Scanner.java:339) 
	 at org.eclipse.jetty.util.Scanner.start(Scanner.java:275) 
	 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:114) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:542) 
	 at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:214) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.server.Server.doStart(Server.java:226) 
	 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55) 
	 at org.eclipse.jetty.xml.XmlConfiguration$1.run(XmlConfiguration.java:1061) 
	 at java.security.AccessController.doPrivileged(Native Method) 
	 at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:994) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
	 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
	 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
	 at java.lang.reflect.Method.invoke(Method.java:597) 
	 at org.eclipse.jetty.start.Main.invokeMain(Main.java:477) 
	 at org.eclipse.jetty.start.Main.start(Main.java:623) 
	 at org.eclipse.jetty.start.Main.parseCommandLine(Main.java:273) 
	 at org.eclipse.jetty.start.Main.main(Main.java:81) 
 </pre>

Back