{"action":"created","issue":{"url":"https://api.github.com/repos/sequenceiq/cloudbreak-deployer/issues/38","labels_url":"https://api.github.com/repos/sequenceiq/cloudbreak-deployer/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/sequenceiq/cloudbreak-deployer/issues/38/comments","events_url":"https://api.github.com/repos/sequenceiq/cloudbreak-deployer/issues/38/events","html_url":"https://github.com/sequenceiq/cloudbreak-deployer/issues/38","id":69943949,"number":38,"title":"Unable to login","user":{"login":"dischord01","id":2224957,"avatar_url":"https://avatars.githubusercontent.com/u/2224957?v=3","gravatar_id":"","url":"https://api.github.com/users/dischord01","html_url":"https://github.com/dischord01","followers_url":"https://api.github.com/users/dischord01/followers","following_url":"https://api.github.com/users/dischord01/following{/other_user}","gists_url":"https://api.github.com/users/dischord01/gists{/gist_id}","starred_url":"https://api.github.com/users/dischord01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dischord01/subscriptions","organizations_url":"https://api.github.com/users/dischord01/orgs","repos_url":"https://api.github.com/users/dischord01/repos","events_url":"https://api.github.com/users/dischord01/events{/privacy}","received_events_url":"https://api.github.com/users/dischord01/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-21T20:30:24Z","updated_at":"2015-04-21T20:45:44Z","closed_at":null,"body":"```\r\nCloudBreak Deployer: 0.1.0-master-e4bc14a\r\n```\r\n\r\nI am getting the following errors when logging in. \r\n\r\nI try logging in with \r\n\r\n```\r\nadmin@example.com\r\ncloudbreak\r\n```\r\nAnd get this error;\r\n\r\n```\r\nIncorrect email/password or account is disabled.\r\n```\r\nMy cbd env shows;\r\n```\r\nUAA_DEFAULT_USER_EMAIL          = admin@example.com\r\nUAA_DEFAULT_USER_PW             = cloudbreak\r\n```\r\ncbd doctor;\r\n```\r\ncbd doctor\r\ndocker command: OK\r\ndocker client version: OK\r\ndocker server version: OK\r\nEverything is very-very first class !!!\r\n```\r\nI tried \r\n\r\n```\r\ncbd kill\r\ncbd start\r\n```\r\nAnd same error."},"comment":{"url":"https://api.github.com/repos/sequenceiq/cloudbreak-deployer/issues/comments/94935368","html_url":"https://github.com/sequenceiq/cloudbreak-deployer/issues/38#issuecomment-94935368","issue_url":"https://api.github.com/repos/sequenceiq/cloudbreak-deployer/issues/38","id":94935368,"user":{"login":"dischord01","id":2224957,"avatar_url":"https://avatars.githubusercontent.com/u/2224957?v=3","gravatar_id":"","url":"https://api.github.com/users/dischord01","html_url":"https://github.com/dischord01","followers_url":"https://api.github.com/users/dischord01/followers","following_url":"https://api.github.com/users/dischord01/following{/other_user}","gists_url":"https://api.github.com/users/dischord01/gists{/gist_id}","starred_url":"https://api.github.com/users/dischord01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dischord01/subscriptions","organizations_url":"https://api.github.com/users/dischord01/orgs","repos_url":"https://api.github.com/users/dischord01/repos","events_url":"https://api.github.com/users/dischord01/events{/privacy}","received_events_url":"https://api.github.com/users/dischord01/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T20:45:44Z","updated_at":"2015-04-21T20:45:44Z","body":"Here is the most of the errors in the logs from what I can see, it exits with a periscope error. I updated from master, killed all, cbd pull, cbd start, and still same error. \r\n\r\n```\r\nperiscope_1     | 23963 [main] INFO  org.hibernate.tool.hbm2ddl.SchemaExport  - HHH000227: Running hbm2ddl schema export\r\nperiscope_1     | 23967 [main] DEBUG org.hibernate.tool.hbm2ddl.SchemaExport  - Import file not found: /import.sql\r\nambassador_1    | 2015/04/21 20:41:22 dns: lookup pcdb.service.consul: no such host\r\nambassador_1    | 2015/04/21 20:41:22 No backends! Closing the connection\r\nperiscope_1     | 23998 [main] ERROR org.hibernate.tool.hbm2ddl.SchemaExport  - HHH000231: Schema export unsuccessful\r\nperiscope_1     | org.postgresql.util.PSQLException: The connection attempt failed.\r\nperiscope_1     | \tat org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:225)\r\nperiscope_1     | \tat org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)\r\nperiscope_1     | \tat org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:138)\r\nperiscope_1     | \tat org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:29)\r\nperiscope_1     | \tat org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:21)\r\nperiscope_1     | \tat org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:31)\r\nperiscope_1     | \tat org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)\r\nperiscope_1     | \tat org.postgresql.Driver.makeConnection(Driver.java:410)\r\nperiscope_1     | \tat org.postgresql.Driver.connect(Driver.java:280)\r\nperiscope_1     | \tat org.springframework.jdbc.datasource.SimpleDriverDataSource.getConnectionFromDriver(SimpleDriverDataSource.java:140)\r\nperiscope_1     | \tat org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:155)\r\nperiscope_1     | \tat org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:120)\r\nperiscope_1     | \tat org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:139)\r\nperiscope_1     | \tat org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51)\r\nperiscope_1     | \tat org.hibernate.tool.hbm2ddl.DatabaseExporter.<init>(DatabaseExporter.java:52)\r\nperiscope_1     | \tat org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:367)\r\nperiscope_1     | \tat org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:304)\r\nperiscope_1     | \tat org.hibernate.tool.hbm2ddl.SchemaExport.create(SchemaExport.java:293)\r\nperiscope_1     | \tat org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:516)\r\nperiscope_1     | \tat org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1857)\r\nperiscope_1     | \tat org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:850)\r\nperiscope_1     | \tat org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl$4.perform(EntityManagerFactoryBuilderImpl.java:843)\r\nperiscope_1     | \tat org.hibernate.boot.registry.classloading.internal.ClassLoaderServiceImpl.withTccl(ClassLoaderServiceImpl.java:399)\r\nperiscope_1     | \tat org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:842)\r\nperiscope_1     | \tat org.hibernate.jpa.HibernatePersistenceProvider.createContainerEntityManagerFactory(HibernatePersistenceProvider.java:150)\r\nperiscope_1     | \tat org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean.createNativeEntityManagerFactory(LocalContainerEntityManagerFactoryBean.java:336)\r\nperiscope_1     | \tat org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.afterPropertiesSet(AbstractEntityManagerFactoryBean.java:318)\r\nperiscope_1     | \tat com.sequenceiq.periscope.config.DatabaseConfig.entityManagerFactory(DatabaseConfig.java:76)\r\nperiscope_1     | \tat com.sequenceiq.periscope.config.DatabaseConfig$$EnhancerBySpringCGLIB$$991b9764.CGLIB$entityManagerFactory$3(<generated>)\r\nperiscope_1     | \tat com.sequenceiq.periscope.config.DatabaseConfig$$EnhancerBySpringCGLIB$$991b9764$$FastClassBySpringCGLIB$$dba5313b.invoke(<generated>)\r\nperiscope_1     | \tat org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)\r\nperiscope_1     | \tat org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:312)\r\nperiscope_1     | \tat com.sequenceiq.periscope.config.DatabaseConfig$$EnhancerBySpringCGLIB$$991b9764.entityManagerFactory(<generated>)\r\nperiscope_1     | \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\nperiscope_1     | \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\nperiscope_1     | \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\nperiscope_1     | \tat java.lang.reflect.Method.invoke(Method.java:606)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:166)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:586)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1094)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:989)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:632)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:442)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1094)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:989)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:276)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:129)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1456)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1197)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1017)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:960)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:858)\r\nperiscope_1     | \tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480)\r\nperiscope_1     | \tat org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)\r\nperiscope_1     | \tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:289)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1185)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703)\r\nperiscope_1     | \tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)\r\nperiscope_1     | \tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)\r\nperiscope_1     | \tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:120)\r\nperiscope_1     | \tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:648)\r\nperiscope_1     | \tat org.springframework.boot.SpringApplication.run(SpringApplication.java:311)\r\nperiscope_1     | \tat org.springframework.boot.SpringApplication.run(SpringApplication.java:909)\r\nperiscope_1     | \tat org.springframework.boot.SpringApplication.run(SpringApplication.java:898)\r\nperiscope_1     | \tat com.sequenceiq.periscope.PeriscopeApplication.main(PeriscopeApplication.java:15)\r\nperiscope_1     | \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\nperiscope_1     | \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\nperiscope_1     | \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\nperiscope_1     | \tat java.lang.reflect.Method.invoke(Method.java:606)\r\nperiscope_1     | \tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)\r\nperiscope_1     | \tat java.lang.Thread.run(Thread.java:745)\r\nperiscope_1     | Caused by: java.net.SocketException: Connection reset\r\nperiscope_1     | \tat java.net.SocketInputStream.read(SocketInputStream.java:196)\r\nperiscope_1     | \tat java.net.SocketInputStream.read(SocketInputStream.java:122)\r\nperiscope_1     | \tat org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:143)\r\nperiscope_1     | \tat org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:112)\r\nperiscope_1     | \tat org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:71)\r\nperiscope_1     | \tat org.postgresql.core.PGStream.ReceiveChar(PGStream.java:269)\r\nperiscope_1     | \tat org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:378)\r\nperiscope_1     | \tat org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173)\r\nperiscope_1     | \t... 92 more\r\nperiscope_1     | 24009 [main] INFO  org.hibernate.tool.hbm2ddl.SchemaExport  - HHH000230: Schema export complete\r\nperiscope_1     | 24009 [main] DEBUG org.hibernate.internal.NamedQueryRepository  - Checking 0 named HQL queries\r\nperiscope_1     | 24009 [main] DEBUG org.hibernate.internal.NamedQueryRepository  - Checking 0 named SQL queries\r\nperiscope_1     | 24066 [main] DEBUG org.hibernate.stat.internal.StatisticsInitiator  - Statistics initialized [enabled=false]\r\nperiscope_1     | 24076 [main] DEBUG org.hibernate.jpa.internal.schemagen.JpaSchemaGenerator  - No actions specified; doing nothing\r\nperiscope_1     | 24252 [main] DEBUG org.hibernate.jpa.internal.EntityManagerFactoryRegistry  - Initializing EntityManagerFactoryRegistry : org.hibernate.jpa.internal.EntityManagerFactoryRegistry@259a38b8\r\nperiscope_1     | 24252 [main] DEBUG org.hibernate.jpa.internal.EntityManagerFactoryRegistry  - Registering EntityManagerFactory: default\r\nperiscope_1     | 24765 [main] DEBUG org.hibernate.engine.transaction.spi.AbstractTransactionImpl  - begin\r\nperiscope_1     | 24765 [main] DEBUG org.hibernate.engine.jdbc.internal.LogicalConnectionImpl  - Obtaining JDBC connection\r\nambassador_1    | 2015/04/21 20:41:22 dns: lookup pcdb.service.consul: no such host\r\nambassador_1    | 2015/04/21 20:41:22 No backends! Closing the connection\r\nperiscope_1     | 24783 [main] DEBUG org.hibernate.engine.jdbc.spi.SqlExceptionHelper  - Could not open connection [n/a]\r\nperiscope_1     | org.postgresql.util.PSQLException: The connection attempt failed.\r\nperiscope_1     | \tat org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:225)\r\nperiscope_1     | \tat org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)\r\nperiscope_1     | \tat org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:138)\r\nperiscope_1     | \tat org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:29)\r\nperiscope_1     | \tat org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:21)\r\nperiscope_1     | \tat org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:31)\r\nperiscope_1     | \tat org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)\r\nperiscope_1     | \tat org.postgresql.Driver.makeConnection(Driver.java:410)\r\nperiscope_1     | \tat org.postgresql.Driver.connect(Driver.java:280)\r\nperiscope_1     | \tat org.springframework.jdbc.datasource.SimpleDriverDataSource.getConnectionFromDriver(SimpleDriverDataSource.java:140)\r\nperiscope_1     | \tat org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:155)\r\nperiscope_1     | \tat org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:120)\r\nperiscope_1     | \tat org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:139)\r\nperiscope_1     | \tat org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:380)\r\nperiscope_1     | \tat org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:228)\r\nperiscope_1     | \tat org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:171)\r\nperiscope_1     | \tat org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doBegin(JdbcTransaction.java:67)\r\nperiscope_1     | \tat org.hibernate.engine.transaction.spi.AbstractTransactionImpl.begin(AbstractTransactionImpl.java:162)\r\nperiscope_1     | \tat org.hibernate.internal.SessionImpl.beginTransaction(SessionImpl.java:1431)\r\nperiscope_1     | \tat org.hibernate.jpa.internal.TransactionImpl.begin(TransactionImpl.java:61)\r\nperiscope_1     | \tat org.springframework.orm.jpa.DefaultJpaDialect.beginTransaction(DefaultJpaDialect.java:67)\r\nperiscope_1     | \tat org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:110)\r\nperiscope_1     | \tat org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380)\r\nperiscope_1     | \tat org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)\r\nperiscope_1     | \tat org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:420)\r\nperiscope_1     | \tat org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:257)\r\nperiscope_1     | \tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)\r\nperiscope_1     | \tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)\r\nperiscope_1     | \tat org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)\r\nperiscope_1     | \tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)\r\nperiscope_1     | \tat org.springframework.data.jpa.repository.support.LockModeRepositoryPostProcessor$LockModePopulatingMethodIntercceptor.invoke(LockModeRepositoryPostProcessor.java:105)\r\nperiscope_1     | \tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)\r\nperiscope_1     | \tat org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)\r\nperiscope_1     | \tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)\r\nperiscope_1     | \tat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)\r\nperiscope_1     | \tat com.sun.proxy.$Proxy89.findAll(Unknown Source)\r\nperiscope_1     | \tat com.sequenceiq.periscope.monitor.MonitorInitializer.afterPropertiesSet(MonitorInitializer.java:32)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1612)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1549)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703)\r\nperiscope_1     | \tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)\r\nperiscope_1     | \tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)\r\nperiscope_1     | \tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:120)\r\nperiscope_1     | \tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:648)\r\nperiscope_1     | \tat org.springframework.boot.SpringApplication.run(SpringApplication.java:311)\r\nperiscope_1     | \tat org.springframework.boot.SpringApplication.run(SpringApplication.java:909)\r\nperiscope_1     | \tat org.springframework.boot.SpringApplication.run(SpringApplication.java:898)\r\nperiscope_1     | \tat com.sequenceiq.periscope.PeriscopeApplication.main(PeriscopeApplication.java:15)\r\nperiscope_1     | \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\nperiscope_1     | \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\nperiscope_1     | \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\nperiscope_1     | \tat java.lang.reflect.Method.invoke(Method.java:606)\r\nperiscope_1     | \tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)\r\nperiscope_1     | \tat java.lang.Thread.run(Thread.java:745)\r\nperiscope_1     | Caused by: java.net.SocketException: Connection reset\r\nperiscope_1     | \tat java.net.SocketInputStream.read(SocketInputStream.java:196)\r\nperiscope_1     | \tat java.net.SocketInputStream.read(SocketInputStream.java:122)\r\nperiscope_1     | \tat org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:143)\r\nperiscope_1     | \tat org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:112)\r\nperiscope_1     | \tat org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:71)\r\nperiscope_1     | \tat org.postgresql.core.PGStream.ReceiveChar(PGStream.java:269)\r\nperiscope_1     | \tat org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:378)\r\nperiscope_1     | \tat org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173)\r\nperiscope_1     | \t... 59 more\r\nperiscope_1     | 24785 [main] WARN  org.hibernate.engine.jdbc.spi.SqlExceptionHelper  - SQL Error: 0, SQLState: 08001\r\nperiscope_1     | 24785 [main] ERROR org.hibernate.engine.jdbc.spi.SqlExceptionHelper  - The connection attempt failed.\r\nperiscope_1     | 24791 [main] DEBUG org.hibernate.jpa.spi.AbstractEntityManagerImpl  - Mark transaction for rollback\r\nperiscope_1     | 24797 [main] DEBUG org.hibernate.internal.SessionFactoryImpl  - HHH000031: Closing\r\nperiscope_1     | 24797 [main] DEBUG org.hibernate.jpa.internal.EntityManagerFactoryRegistry  - Remove: name=default\r\nperiscope_1     | 2015-04-21 20:41:22.984  INFO 6 --- [           main] o.s.s.quartz.SchedulerFactoryBean        : Shutting down Quartz Scheduler\r\nperiscope_1     | 2015-04-21 20:41:22.985  INFO 6 --- [           main] org.quartz.core.QuartzScheduler          : Scheduler schedulerFactoryBean_$_NON_CLUSTERED shutting down.\r\nperiscope_1     | 2015-04-21 20:41:22.985  INFO 6 --- [           main] org.quartz.core.QuartzScheduler          : Scheduler schedulerFactoryBean_$_NON_CLUSTERED paused.\r\nperiscope_1     | 2015-04-21 20:41:22.985  INFO 6 --- [           main] org.quartz.core.QuartzScheduler          : Scheduler schedulerFactoryBean_$_NON_CLUSTERED shutdown complete.\r\nperiscope_1     | 2015-04-21 20:41:22.999  INFO 6 --- [           main] o.s.s.c.ThreadPoolExecutorFactoryBean    : Shutting down ExecutorService 'getThreadPoolExecutorFactoryBean'\r\nperiscope_1     | 2015-04-21 20:41:23.000  INFO 6 --- [           main] o.apache.catalina.core.StandardService   : Stopping service Tomcat\r\nperiscope_1     | java.lang.reflect.InvocationTargetException\r\nperiscope_1     | \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\nperiscope_1     | \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\nperiscope_1     | \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\nperiscope_1     | \tat java.lang.reflect.Method.invoke(Method.java:606)\r\nperiscope_1     | \tat org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:53)\r\nperiscope_1     | \tat java.lang.Thread.run(Thread.java:745)\r\nperiscope_1     | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'monitorInitializer' defined in URL [jar:file:/periscope.jar!/com/sequenceiq/periscope/monitor/MonitorInitializer.class]: Invocation of init method failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: Could not open connection\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1553)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:475)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:304)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:228)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:300)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:195)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:703)\r\nperiscope_1     | 2015-04-21 20:41:23.012  INFO 6 --- [           main] .b.l.ClasspathLoggingApplicationListener : Application failed to start with classpath: [jar:file:/periscope.jar!/, jar:file:/periscope.jar!/lib/spring-boot-starter-web-1.0.2.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-security-web-3.2.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-security-oauth2-2.0.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-boot-starter-data-jpa-1.0.2.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-context-support-4.0.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/commons-lang3-3.3.2.jar!/, jar:file:/periscope.jar!/lib/hsqldb-2.3.2.jar!/, jar:file:/periscope.jar!/lib/hadoop-yarn-client-2.4.1.jar!/, jar:file:/periscope.jar!/lib/hadoop-yarn-server-resourcemanager-2.4.1.jar!/, jar:file:/periscope.jar!/lib/hadoop-common-2.4.1.jar!/, jar:file:/periscope.jar!/lib/ambari-client17-1.7.29.jar!/, jar:file:/periscope.jar!/lib/javax.servlet-api-3.0.1.jar!/, jar:file:/periscope.jar!/lib/cloudbreak-rest-client-0.2.32.jar!/, jar:file:/periscope.jar!/lib/freemarker-2.3.20.jar!/, jar:file:/periscope.jar!/lib/mail-1.4.7.jar!/, jar:file:/periscope.jar!/lib/httpclient-4.3.5.jar!/, jar:file:/periscope.jar!/lib/quartz-2.2.1.jar!/, jar:file:/periscope.jar!/lib/joda-time-2.5.jar!/, jar:file:/periscope.jar!/lib/ehcache-2.8.3.jar!/, jar:file:/periscope.jar!/lib/postgresql-9.3-1101-jdbc41.jar!/, jar:file:/periscope.jar!/lib/hibernate-validator-5.1.1.Final.jar!/, jar:file:/periscope.jar!/lib/spring-boot-actuator-1.0.2.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-boot-starter-1.0.2.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-boot-starter-tomcat-1.0.2.RELEASE.jar!/, jar:file:/periscope.jar!/lib/jackson-databind-2.3.3.jar!/, jar:file:/periscope.jar!/lib/spring-web-4.0.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-webmvc-4.0.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/aopalliance-1.0.jar!/, jar:file:/periscope.jar!/lib/spring-security-core-3.2.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-security-config-3.2.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/commons-codec-1.6.jar!/, jar:file:/periscope.jar!/lib/jackson-mapper-asl-1.9.13.jar!/, jar:file:/periscope.jar!/lib/spring-boot-starter-aop-1.0.2.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-boot-starter-jdbc-1.0.2.RELEASE.jar!/, jar:file:/periscope.jar!/lib/hibernate-entitymanager-4.3.1.Final.jar!/, jar:file:/periscope.jar!/lib/spring-orm-4.0.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-data-jpa-1.5.2.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-aspects-4.0.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/guava-11.0.2.jar!/, jar:file:/periscope.jar!/lib/commons-logging-1.1.3.jar!/, jar:file:/periscope.jar!/lib/commons-lang-2.6.jar!/, jar:file:/periscope.jar!/lib/commons-cli-1.2.jar!/, jar:file:/periscope.jar!/lib/log4j-1.2.17.jar!/, jar:file:/periscope.jar!/lib/jetty-util-6.1.26.jar!/, jar:file:/periscope.jar!/lib/jersey-client-1.9.jar!/, jar:file:/periscope.jar!/lib/hadoop-annotations-2.4.1.jar!/, jar:file:/periscope.jar!/lib/hadoop-yarn-api-2.4.1.jar!/, jar:file:/periscope.jar!/lib/hadoop-yarn-common-2.4.1.jar!/, jar:file:/periscope.jar!/lib/servlet-api-2.5.jar!/, jar:file:/periscope.jar!/lib/guice-servlet-3.0.jar!/, jar:file:/periscope.jar!/lib/protobuf-java-2.5.0.jar!/, jar:file:/periscope.jar!/lib/commons-io-2.4.jar!/, jar:file:/periscope.jar!/lib/guice-3.0.jar!/, jar:file:/periscope.jar!/lib/jersey-json-1.9.jar!/, jar:file:/periscope.jar!/lib/jersey-guice-1.9.jar!/, jar:file:/periscope.jar!/lib/jaxb-api-2.2.2.jar!/, jar:file:/periscope.jar!/lib/jettison-1.1.jar!/, jar:file:/periscope.jar!/lib/jersey-core-1.9.jar!/, jar:file:/periscope.jar!/lib/hadoop-yarn-server-common-2.4.1.jar!/, jar:file:/periscope.jar!/lib/hadoop-yarn-server-applicationhistoryservice-2.4.1.jar!/, jar:file:/periscope.jar!/lib/hadoop-yarn-server-web-proxy-2.4.1.jar!/, jar:file:/periscope.jar!/lib/zookeeper-3.4.5.jar!/, jar:file:/periscope.jar!/lib/commons-math3-3.1.1.jar!/, jar:file:/periscope.jar!/lib/xmlenc-0.52.jar!/, jar:file:/periscope.jar!/lib/commons-httpclient-3.1.jar!/, jar:file:/periscope.jar!/lib/commons-net-3.1.jar!/, jar:file:/periscope.jar!/lib/commons-collections-3.2.1.jar!/, jar:file:/periscope.jar!/lib/jetty-6.1.26.jar!/, jar:file:/periscope.jar!/lib/jersey-server-1.9.jar!/, jar:file:/periscope.jar!/lib/jasper-compiler-5.5.23.jar!/, jar:file:/periscope.jar!/lib/jasper-runtime-5.5.23.jar!/, jar:file:/periscope.jar!/lib/jsp-api-2.1.jar!/, jar:file:/periscope.jar!/lib/commons-el-1.0.jar!/, jar:file:/periscope.jar!/lib/jets3t-0.9.0.jar!/, jar:file:/periscope.jar!/lib/commons-configuration-1.6.jar!/, jar:file:/periscope.jar!/lib/avro-1.7.4.jar!/, jar:file:/periscope.jar!/lib/hadoop-auth-2.4.1.jar!/, jar:file:/periscope.jar!/lib/jsch-0.1.42.jar!/, jar:file:/periscope.jar!/lib/jsr305-1.3.9.jar!/, jar:file:/periscope.jar!/lib/commons-compress-1.4.1.jar!/, jar:file:/periscope.jar!/lib/groovy-all-2.1.8.jar!/, jar:file:/periscope.jar!/lib/http-builder-0.7.1.jar!/, jar:file:/periscope.jar!/lib/activation-1.1.jar!/, jar:file:/periscope.jar!/lib/httpcore-4.3.2.jar!/, jar:file:/periscope.jar!/lib/c3p0-0.9.1.1.jar!/, jar:file:/periscope.jar!/lib/validation-api-1.1.0.Final.jar!/, jar:file:/periscope.jar!/lib/jboss-logging-3.1.3.GA.jar!/, jar:file:/periscope.jar!/lib/classmate-1.0.0.jar!/, jar:file:/periscope.jar!/lib/spring-boot-1.0.2.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-boot-autoconfigure-1.0.2.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-boot-starter-logging-1.0.2.RELEASE.jar!/, jar:file:/periscope.jar!/lib/snakeyaml-1.13.jar!/, jar:file:/periscope.jar!/lib/tomcat-embed-core-7.0.52.jar!/, jar:file:/periscope.jar!/lib/tomcat-embed-el-7.0.52.jar!/, jar:file:/periscope.jar!/lib/tomcat-embed-logging-juli-7.0.52.jar!/, jar:file:/periscope.jar!/lib/jackson-annotations-2.3.0.jar!/, jar:file:/periscope.jar!/lib/jackson-core-2.3.3.jar!/, jar:file:/periscope.jar!/lib/aspectjrt-1.7.4.jar!/, jar:file:/periscope.jar!/lib/aspectjweaver-1.7.4.jar!/, jar:file:/periscope.jar!/lib/spring-jdbc-4.0.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/tomcat-jdbc-7.0.52.jar!/, jar:file:/periscope.jar!/lib/spring-tx-4.0.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/jboss-logging-annotations-1.2.0.Beta1.jar!/, jar:file:/periscope.jar!/lib/hibernate-core-4.3.1.Final.jar!/, jar:file:/periscope.jar!/lib/dom4j-1.6.1.jar!/, jar:file:/periscope.jar!/lib/hibernate-commons-annotations-4.0.4.Final.jar!/, jar:file:/periscope.jar!/lib/hibernate-jpa-2.1-api-1.0.0.Final.jar!/, jar:file:/periscope.jar!/lib/jboss-transaction-api_1.2_spec-1.0.0.Final.jar!/, jar:file:/periscope.jar!/lib/javassist-3.18.1-GA.jar!/, jar:file:/periscope.jar!/lib/spring-data-commons-1.7.2.RELEASE.jar!/, jar:file:/periscope.jar!/lib/javax.inject-1.jar!/, jar:file:/periscope.jar!/lib/cglib-2.2.1-v20090111.jar!/, jar:file:/periscope.jar!/lib/jaxb-impl-2.2.3-1.jar!/, jar:file:/periscope.jar!/lib/jackson-jaxrs-1.8.3.jar!/, jar:file:/periscope.jar!/lib/jackson-xc-1.8.3.jar!/, jar:file:/periscope.jar!/lib/stax-api-1.0-2.jar!/, jar:file:/periscope.jar!/lib/leveldbjni-all-1.8.jar!/, jar:file:/periscope.jar!/lib/jline-0.9.94.jar!/, jar:file:/periscope.jar!/lib/asm-3.1.jar!/, jar:file:/periscope.jar!/lib/java-xmlbuilder-0.4.jar!/, jar:file:/periscope.jar!/lib/commons-digester-1.8.jar!/, jar:file:/periscope.jar!/lib/commons-beanutils-core-1.8.0.jar!/, jar:file:/periscope.jar!/lib/paranamer-2.3.jar!/, jar:file:/periscope.jar!/lib/snappy-java-1.0.4.1.jar!/, jar:file:/periscope.jar!/lib/xz-1.0.jar!/, jar:file:/periscope.jar!/lib/json-lib-2.3-jdk15.jar!/, jar:file:/periscope.jar!/lib/nekohtml-1.9.16.jar!/, jar:file:/periscope.jar!/lib/xml-resolver-1.2.jar!/, jar:file:/periscope.jar!/lib/jul-to-slf4j-1.7.7.jar!/, jar:file:/periscope.jar!/lib/log4j-over-slf4j-1.7.7.jar!/, jar:file:/periscope.jar!/lib/logback-classic-1.1.2.jar!/, jar:file:/periscope.jar!/lib/tomcat-juli-7.0.52.jar!/, jar:file:/periscope.jar!/lib/antlr-2.7.7.jar!/, jar:file:/periscope.jar!/lib/jandex-1.1.0.Final.jar!/, jar:file:/periscope.jar!/lib/ezmorph-1.0.6.jar!/, jar:file:/periscope.jar!/lib/xercesImpl-2.9.1.jar!/, jar:file:/periscope.jar!/lib/logback-core-1.1.2.jar!/, jar:file:/periscope.jar!/lib/spring-beans-4.0.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-core-4.0.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-context-4.0.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/slf4j-api-1.7.7.jar!/, jar:file:/periscope.jar!/lib/spring-expression-4.0.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/spring-aop-4.0.3.RELEASE.jar!/, jar:file:/periscope.jar!/lib/jackson-core-asl-1.9.13.jar!/, jar:file:/periscope.jar!/lib/jcl-over-slf4j-1.7.7.jar!/, jar:file:/periscope.jar!/lib/commons-beanutils-1.8.0.jar!/, jar:file:/periscope.jar!/lib/xml-apis-1.3.04.jar!/]\r\nperiscope_1     | 2015-04-21 20:41:23.013  INFO 6 --- [           main] utoConfigurationReportLoggingInitializer :\r\nperiscope_1     |\r\nperiscope_1     | Error starting ApplicationContext. To display the auto-configuration report enabled debug logging (start with --debug)\r\nperiscope_1     |\r\nperiscope_1     |\r\nperiscope_1     | \tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:760)\r\nperiscope_1     | \tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)\r\nperiscope_1     | \tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:120)\r\nperiscope_1     | \tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:648)\r\nperiscope_1     | \tat org.springframework.boot.SpringApplication.run(SpringApplication.java:311)\r\nperiscope_1     | \tat org.springframework.boot.SpringApplication.run(SpringApplication.java:909)\r\nperiscope_1     | \tat org.springframework.boot.SpringApplication.run(SpringApplication.java:898)\r\nperiscope_1     | \tat com.sequenceiq.periscope.PeriscopeApplication.main(PeriscopeApplication.java:15)\r\nperiscope_1     | \t... 6 more\r\nperiscope_1     | Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open JPA EntityManager for transaction; nested exception is javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: Could not open connection\r\nperiscope_1     | \tat org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:430)\r\nperiscope_1     | \tat org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:373)\r\nperiscope_1     | \tat org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:420)\r\nperiscope_1     | \tat org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:257)\r\nperiscope_1     | \tat org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:95)\r\nperiscope_1     | \tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)\r\nperiscope_1     | \tat org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:136)\r\nperiscope_1     | \tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)\r\nperiscope_1     | \tat org.springframework.data.jpa.repository.support.LockModeRepositoryPostProcessor$LockModePopulatingMethodIntercceptor.invoke(LockModeRepositoryPostProcessor.java:105)\r\nperiscope_1     | \tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)\r\nperiscope_1     | \tat org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)\r\nperiscope_1     | \tat org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)\r\nperiscope_1     | \tat org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)\r\nperiscope_1     | \tat com.sun.proxy.$Proxy89.findAll(Unknown Source)\r\nperiscope_1     | \tat com.sequenceiq.periscope.monitor.MonitorInitializer.afterPropertiesSet(MonitorInitializer.java:32)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1612)\r\nperiscope_1     | \tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1549)\r\nperiscope_1     | \t... 21 more\r\nperiscope_1     | Caused by: javax.persistence.PersistenceException: org.hibernate.exception.JDBCConnectionException: Could not open connection\r\nperiscope_1     | \tat org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763)\r\nperiscope_1     | \tat org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1677)\r\nperiscope_1     | \tat org.hibernate.jpa.spi.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:1771)\r\nperiscope_1     | \tat org.hibernate.jpa.internal.TransactionImpl.begin(TransactionImpl.java:64)\r\nperiscope_1     | \tat org.springframework.orm.jpa.DefaultJpaDialect.beginTransaction(DefaultJpaDialect.java:67)\r\nperiscope_1     | \tat org.springframework.orm.jpa.vendor.HibernateJpaDialect.beginTransaction(HibernateJpaDialect.java:110)\r\nperiscope_1     | \tat org.springframework.orm.jpa.JpaTransactionManager.doBegin(JpaTransactionManager.java:380)\r\nperiscope_1     | \t... 37 more\r\nperiscope_1     | Caused by: org.hibernate.exception.JDBCConnectionException: Could not open connection\r\nperiscope_1     | \tat org.hibernate.exception.internal.SQLStateConversionDelegate.convert(SQLStateConversionDelegate.java:132)\r\nperiscope_1     | \tat org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:49)\r\nperiscope_1     | \tat org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:126)\r\nperiscope_1     | \tat org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:112)\r\nperiscope_1     | \tat org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:235)\r\nperiscope_1     | \tat org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.getConnection(LogicalConnectionImpl.java:171)\r\nperiscope_1     | \tat org.hibernate.engine.transaction.internal.jdbc.JdbcTransaction.doBegin(JdbcTransaction.java:67)\r\nperiscope_1     | \tat org.hibernate.engine.transaction.spi.AbstractTransactionImpl.begin(AbstractTransactionImpl.java:162)\r\nperiscope_1     | \tat org.hibernate.internal.SessionImpl.beginTransaction(SessionImpl.java:1431)\r\nperiscope_1     | \tat org.hibernate.jpa.internal.TransactionImpl.begin(TransactionImpl.java:61)\r\nperiscope_1     | \t... 40 more\r\nperiscope_1     | Caused by: org.postgresql.util.PSQLException: The connection attempt failed.\r\nperiscope_1     | \tat org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:225)\r\nperiscope_1     | \tat org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:64)\r\nperiscope_1     | \tat org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:138)\r\nperiscope_1     | \tat org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:29)\r\nperiscope_1     | \tat org.postgresql.jdbc3g.AbstractJdbc3gConnection.<init>(AbstractJdbc3gConnection.java:21)\r\nperiscope_1     | \tat org.postgresql.jdbc4.AbstractJdbc4Connection.<init>(AbstractJdbc4Connection.java:31)\r\nperiscope_1     | \tat org.postgresql.jdbc4.Jdbc4Connection.<init>(Jdbc4Connection.java:24)\r\nperiscope_1     | \tat org.postgresql.Driver.makeConnection(Driver.java:410)\r\nperiscope_1     | \tat org.postgresql.Driver.connect(Driver.java:280)\r\nperiscope_1     | \tat org.springframework.jdbc.datasource.SimpleDriverDataSource.getConnectionFromDriver(SimpleDriverDataSource.java:140)\r\nperiscope_1     | \tat org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:155)\r\nperiscope_1     | \tat org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:120)\r\nperiscope_1     | \tat org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:139)\r\nperiscope_1     | \tat org.hibernate.internal.AbstractSessionImpl$NonContextualJdbcConnectionAccess.obtainConnection(AbstractSessionImpl.java:380)\r\nperiscope_1     | \tat org.hibernate.engine.jdbc.internal.LogicalConnectionImpl.obtainConnection(LogicalConnectionImpl.java:228)\r\nperiscope_1     | \t... 45 more\r\nperiscope_1     | Caused by: java.net.SocketException: Connection reset\r\nperiscope_1     | \tat java.net.SocketInputStream.read(SocketInputStream.java:196)\r\nperiscope_1     | \tat java.net.SocketInputStream.read(SocketInputStream.java:122)\r\nperiscope_1     | \tat org.postgresql.core.VisibleBufferedInputStream.readMore(VisibleBufferedInputStream.java:143)\r\nperiscope_1     | \tat org.postgresql.core.VisibleBufferedInputStream.ensureBytes(VisibleBufferedInputStream.java:112)\r\nperiscope_1     | \tat org.postgresql.core.VisibleBufferedInputStream.read(VisibleBufferedInputStream.java:71)\r\nperiscope_1     | \tat org.postgresql.core.PGStream.ReceiveChar(PGStream.java:269)\r\nperiscope_1     | \tat org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:378)\r\nperiscope_1     | \tat org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:173)\r\nperiscope_1     | \t... 59 more\r\nregistrator_1   | 2015/04/21 20:41:23 registrator: removed: a1eb59b8f7c0 3fd0a4cfe374:cloudbreakdeployer_periscope_1:8080\r\nconsul_1        |     2015/04/21 20:41:23 [INFO] agent: Deregistered service '3fd0a4cfe374:cloudbreakdeployer_periscope_1:8080'\r\ncloudbreakdeployer_periscope_1 exited with code 1\r\n```"}}