Support Questions

Find answers, ask questions, and share your expertise

How do you fix login issues after restarting Cloudbreak deployer instance on Amazon?

avatar
Super Guru

I deployed Cloudbreak 1.3 on Amazon AWS. I didn't want to keep the instance running, so I shut it down to save money. Now I have restarted the instance, but I'm no longer able to log into Cloudbreak.

I believe this is because the IP address of the instance has changed and this is a problem somewhere in the Cloudbreak configuration. So I have a couple of questions:

  1. Is there something configuration wise I can do to resolve this? Or should I just create my Cloudbreak Deployer instance from scratch?
  2. Would assigning an Elastic IP allow me to stop/start my Cloudbreak Deployer instance without issues in the future?

When I tried to start cbd, it said there were changes and I needed to regenerate, so I did the following:

cbd regenerate
cbd start

Here are a number of error messages in the /var/lib/cloudbreak-deployer/cbreak.log file when I attempted to log in via the UI:

/cbreak_identity_1 | [2016-08-17 14:33:26.012] cloudfoundry-identity-uaa - ???? [http-nio-8080-exec-6] ....  WARN --- XmlWebApplicationContext: Exception encountered during context initialization - cancelling refresh attempt
/cbreak_identity_1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.cloudfoundry.identity.uaa.security.web.SecurityFilterChainPostProcessor#0' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Cannot resolve reference to bean 'identityZoneResolvingFilter' while setting bean property 'additionalFilters' with key [TypedStringValue: value [#{T(org.cloudfoundry.identity.uaa.security.web.SecurityFilterChainPostProcessor.FilterPosition).position(1)}], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identityZoneResolvingFilter' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Cannot resolve reference to bean 'identityZoneProvisioning' while setting bean property 'identityZoneProvisioning'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identityZoneProvisioning' defined in ServletContext resource [/WEB-INF/spring/multitenant-endpoints.xml]: Cannot resolve reference to bean 'jdbcTemplate' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [spring/data-source.xml]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:407)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:165)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1477)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1222)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
/cbreak_identity_1 |   	at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:232)
/cbreak_identity_1 |   	at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:615)
/cbreak_identity_1 |   	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:465)
/cbreak_identity_1 |   	at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:663)
/cbreak_identity_1 |   	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:629)
/cbreak_identity_1 |   	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:677)
/cbreak_identity_1 |   	at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:548)
/cbreak_identity_1 |   	at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:489)
/cbreak_identity_1 |   	at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
/cbreak_identity_1 |   	at javax.servlet.GenericServlet.init(GenericServlet.java:158)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:817)
/cbreak_identity_1 |   	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:694)
/cbreak_identity_1 |   	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:468)
/cbreak_identity_1 |   	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
/cbreak_identity_1 |   	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:439)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:305)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:399)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
/cbreak_identity_1 |   	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
/cbreak_identity_1 |   	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
/cbreak_identity_1 |   	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
/cbreak_identity_1 |   	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
/cbreak_identity_1 |   	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
/cbreak_identity_1 |   	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
/cbreak_identity_1 |   	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
/cbreak_identity_1 |   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
/cbreak_identity_1 |   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
/cbreak_identity_1 |   	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
/cbreak_identity_1 |   	at java.lang.Thread.run(Thread.java:745)
/cbreak_identity_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identityZoneResolvingFilter' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Cannot resolve reference to bean 'identityZoneProvisioning' while setting bean property 'identityZoneProvisioning'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identityZoneProvisioning' defined in ServletContext resource [/WEB-INF/spring/multitenant-endpoints.xml]: Cannot resolve reference to bean 'jdbcTemplate' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [spring/data-source.xml]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1477)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1222)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
/cbreak_identity_1 |   	... 44 more
/cbreak_identity_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identityZoneProvisioning' defined in ServletContext resource [/WEB-INF/spring/multitenant-endpoints.xml]: Cannot resolve reference to bean 'jdbcTemplate' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [spring/data-source.xml]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1139)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
/cbreak_identity_1 |   	... 54 more
/cbreak_identity_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [spring/data-source.xml]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
/cbreak_identity_1 |   	... 66 more
/cbreak_identity_1 | Caused by: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource
/cbreak_identity_1 |   	at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:56)
/cbreak_identity_1 |   	at org.flywaydb.core.Flyway.execute(Flyway.java:1385)
/cbreak_identity_1 |   	at org.flywaydb.core.Flyway.migrate(Flyway.java:1006)
/cbreak_identity_1 |   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
/cbreak_identity_1 |   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
/cbreak_identity_1 |   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
/cbreak_identity_1 |   	at java.lang.reflect.Method.invoke(Method.java:497)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1702)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1641)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
/cbreak_identity_1 |   	... 75 more
/cbreak_identity_1 | Caused by: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/cbreak_identity_1 |   	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:138)
/cbreak_identity_1 |   	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
/cbreak_identity_1 |   	at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
/cbreak_identity_1 |   	at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
/cbreak_identity_1 |   	at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
/cbreak_identity_1 |   	at org.postgresql.Driver.makeConnection(Driver.java:393)
/cbreak_identity_1 |   	at org.postgresql.Driver.connect(Driver.java:267)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:486)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:144)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:116)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:103)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:127)
/cbreak_identity_1 |   	at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
/cbreak_identity_1 |   	... 84 more
/cbreak_identity_1 | Caused by: java.net.ConnectException: Connection refused
/cbreak_identity_1 |   	at java.net.PlainSocketImpl.socketConnect(Native Method)
/cbreak_identity_1 |   	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
/cbreak_identity_1 |   	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
/cbreak_identity_1 |   	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
/cbreak_identity_1 |   	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
/cbreak_identity_1 |   	at java.net.Socket.connect(Socket.java:589)
/cbreak_identity_1 |   	at java.net.Socket.connect(Socket.java:538)
/cbreak_identity_1 |   	at java.net.Socket.<init>(Socket.java:434)
/cbreak_identity_1 |   	at java.net.Socket.<init>(Socket.java:211)
/cbreak_identity_1 |   	at org.postgresql.core.PGStream.<init>(PGStream.java:62)
/cbreak_identity_1 |   	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:76)
/cbreak_identity_1 |   	... 100 more
/cbreak_identity_1 | [2016-08-17 14:33:26.014] cloudfoundry-identity-uaa - ???? [http-nio-8080-exec-6] .... ERROR --- DispatcherServlet: Context initialization failed
/cbreak_identity_1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.cloudfoundry.identity.uaa.security.web.SecurityFilterChainPostProcessor#0' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Cannot resolve reference to bean 'identityZoneResolvingFilter' while setting bean property 'additionalFilters' with key [TypedStringValue: value [#{T(org.cloudfoundry.identity.uaa.security.web.SecurityFilterChainPostProcessor.FilterPosition).position(1)}], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identityZoneResolvingFilter' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Cannot resolve reference to bean 'identityZoneProvisioning' while setting bean property 'identityZoneProvisioning'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identityZoneProvisioning' defined in ServletContext resource [/WEB-INF/spring/multitenant-endpoints.xml]: Cannot resolve reference to bean 'jdbcTemplate' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [spring/data-source.xml]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:407)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:165)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1477)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1222)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
/cbreak_identity_1 |   	at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:232)
/cbreak_identity_1 |   	at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:615)
/cbreak_identity_1 |   	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:465)
/cbreak_identity_1 |   	at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:663)
/cbreak_identity_1 |   	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:629)
/cbreak_identity_1 |   	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:677)
/cbreak_identity_1 |   	at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:548)
/cbreak_identity_1 |   	at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:489)
/cbreak_identity_1 |   	at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
/cbreak_identity_1 |   	at javax.servlet.GenericServlet.init(GenericServlet.java:158)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:817)
/cbreak_identity_1 |   	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:694)
/cbreak_identity_1 |   	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:468)
/cbreak_identity_1 |   	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
/cbreak_identity_1 |   	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:439)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:305)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:399)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
/cbreak_identity_1 |   	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
/cbreak_identity_1 |   	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
/cbreak_identity_1 |   	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
/cbreak_identity_1 |   	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
/cbreak_identity_1 |   	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
/cbreak_identity_1 |   	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
/cbreak_identity_1 |   	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
/cbreak_identity_1 |   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
/cbreak_identity_1 |   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
/cbreak_identity_1 |   	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
/cbreak_identity_1 |   	at java.lang.Thread.run(Thread.java:745)
/cbreak_identity_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identityZoneResolvingFilter' defined in ServletContext resource [/WEB-INF/spring-servlet.xml]: Cannot resolve reference to bean 'identityZoneProvisioning' while setting bean property 'identityZoneProvisioning'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identityZoneProvisioning' defined in ServletContext resource [/WEB-INF/spring/multitenant-endpoints.xml]: Cannot resolve reference to bean 'jdbcTemplate' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [spring/data-source.xml]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1477)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1222)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_identity_1 | 17-Aug-2016 14:33:26.011 SEVERE [http-nio-8080-exec-6] org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create initial connections of pool.
/cbreak_identity_1 |  org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/cbreak_identity_1 |   	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:138)
/cbreak_identity_1 |   	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
/cbreak_identity_1 |   	at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
/cbreak_identity_1 |   	at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
/cbreak_identity_1 |   	at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
/cbreak_identity_1 |   	at org.postgresql.Driver.makeConnection(Driver.java:393)
/cbreak_identity_1 |   	at org.postgresql.Driver.connect(Driver.java:267)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:486)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:144)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:116)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:103)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:127)
/cbreak_identity_1 |   	at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
/cbreak_identity_1 |   	at org.flywaydb.core.Flyway.execute(Flyway.java:1385)
/cbreak_identity_1 |   	at org.flywaydb.core.Flyway.migrate(Flyway.java:1006)
/cbreak_identity_1 |   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
/cbreak_identity_1 |   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
/cbreak_identity_1 |   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
/cbreak_identity_1 |   	at java.lang.reflect.Method.invoke(Method.java:497)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1702)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1641)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
/cbreak_sultans_1 | [TypeError: Cannot read property 'length' of undefined]
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1139)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1477)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1222)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:407)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:165)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1477)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1222)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199)
/cbreak_identity_1 |   	at org.springframework.context.support.PostProcessorRegistrationDelegate.registerBeanPostProcessors(PostProcessorRegistrationDelegate.java:232)
/cbreak_identity_1 |   	at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:615)
/cbreak_identity_1 |   	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:465)
/cbreak_identity_1 |   	at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:663)
/cbreak_identity_1 |   	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:629)
/cbreak_identity_1 |   	at org.springframework.web.servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:677)
/cbreak_identity_1 |   	at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:548)
/cbreak_identity_1 |   	at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:489)
/cbreak_identity_1 |   	at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
/cbreak_identity_1 |   	at javax.servlet.GenericServlet.init(GenericServlet.java:158)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1144)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:817)
/cbreak_identity_1 |   	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:694)
/cbreak_identity_1 |   	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:468)
/cbreak_identity_1 |   	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
/cbreak_identity_1 |   	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:439)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:305)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:399)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
/cbreak_identity_1 |   	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
/cbreak_identity_1 |   	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
/cbreak_identity_1 |   	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
/cbreak_identity_1 |   	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
/cbreak_identity_1 |   	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
/cbreak_identity_1 |   	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
/cbreak_identity_1 |   	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
/cbreak_identity_1 |   	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
/cbreak_identity_1 |   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
/cbreak_identity_1 |   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
/cbreak_identity_1 |   	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
/cbreak_identity_1 |   	at java.lang.Thread.run(Thread.java:745)
/cbreak_identity_1 | Caused by: java.net.ConnectException: Connection refused
/cbreak_identity_1 |   	at java.net.PlainSocketImpl.socketConnect(Native Method)
/cbreak_identity_1 |   	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
/cbreak_identity_1 |   	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
/cbreak_identity_1 |   	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
/cbreak_identity_1 |   	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
/cbreak_identity_1 |   	at java.net.Socket.connect(Socket.java:589)
/cbreak_identity_1 |   	at java.net.Socket.connect(Socket.java:538)
/cbreak_identity_1 |   	at java.net.Socket.<init>(Socket.java:434)
/cbreak_identity_1 |   	at java.net.Socket.<init>(Socket.java:211)
/cbreak_identity_1 |   	at org.postgresql.core.PGStream.<init>(PGStream.java:62)
/cbreak_identity_1 |   	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:76)
/cbreak_identity_1 |   	... 100 more
/cbreak_identity_1 |
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
/cbreak_identity_1 |   	... 44 more
/cbreak_identity_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'identityZoneProvisioning' defined in ServletContext resource [/WEB-INF/spring/multitenant-endpoints.xml]: Cannot resolve reference to bean 'jdbcTemplate' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [spring/data-source.xml]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1139)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1042)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
/cbreak_identity_1 |   	... 54 more
/cbreak_identity_1 | Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flyway' defined in class path resource [spring/data-source.xml]: Invocation of init method failed; nested exception is org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
/cbreak_identity_1 |   	... 66 more
/cbreak_identity_1 | Caused by: org.flywaydb.core.api.FlywayException: Unable to obtain Jdbc connection from DataSource
/cbreak_identity_1 |   	at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:56)
/cbreak_identity_1 |   	at org.flywaydb.core.Flyway.execute(Flyway.java:1385)
/cbreak_identity_1 |   	at org.flywaydb.core.Flyway.migrate(Flyway.java:1006)
/cbreak_identity_1 |   	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
/cbreak_identity_1 |   	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
/cbreak_identity_1 |   	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
/cbreak_identity_1 |   	at java.lang.reflect.Method.invoke(Method.java:497)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1702)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1641)
/cbreak_identity_1 |   	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)
/cbreak_identity_1 |   	... 75 more
/cbreak_identity_1 | Caused by: org.postgresql.util.PSQLException: Connection refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.
/cbreak_identity_1 |   	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:138)
/cbreak_identity_1 |   	at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:66)
/cbreak_identity_1 |   	at org.postgresql.jdbc2.AbstractJdbc2Connection.<init>(AbstractJdbc2Connection.java:125)
/cbreak_identity_1 |   	at org.postgresql.jdbc3.AbstractJdbc3Connection.<init>(AbstractJdbc3Connection.java:30)
/cbreak_identity_1 |   	at org.postgresql.jdbc3.Jdbc3Connection.<init>(Jdbc3Connection.java:24)
/cbreak_identity_1 |   	at org.postgresql.Driver.makeConnection(Driver.java:393)
/cbreak_identity_1 |   	at org.postgresql.Driver.connect(Driver.java:267)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:278)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:182)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:701)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:635)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:486)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:144)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:116)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:103)
/cbreak_identity_1 |   	at org.apache.tomcat.jdbc.pool.DataSourceProxy.getConnection(DataSourceProxy.java:127)
/cbreak_identity_1 |   	at org.flywaydb.core.internal.util.jdbc.JdbcUtils.openConnection(JdbcUtils.java:50)
/cbreak_identity_1 |   	... 84 more
/cbreak_identity_1 | Caused by: java.net.ConnectException: Connection refused
/cbreak_identity_1 |   	at java.net.PlainSocketImpl.socketConnect(Native Method)
/cbreak_identity_1 |   	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
/cbreak_identity_1 |   	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
/cbreak_identity_1 |   	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
/cbreak_identity_1 |   	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
/cbreak_identity_1 |   	at java.net.Socket.connect(Socket.java:589)
/cbreak_identity_1 |   	at java.net.Socket.connect(Socket.java:538)
/cbreak_identity_1 |   	at java.net.Socket.<init>(Socket.java:434)
/cbreak_identity_1 |   	at java.net.Socket.<init>(Socket.java:211)
/cbreak_identity_1 |   	at org.postgresql.core.PGStream.<init>(PGStream.java:62)
/cbreak_identity_1 |   	at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:76)
/cbreak_identity_1 |   	... 100 more
/cbreak_sultans_1 | - POST / - proxied-for: -
I can see in the logs there is a Postgresql connection issue. It looks like Postgresql is running in a docker container. I'm not sure how to check to see if it's running properly or not.
1 ACCEPTED SOLUTION

avatar
Super Guru

@Michael Young

If you were using an elastic IP, your instance would have kept the initial IP address that is included in configuration files. If you shut it down again, the instance will get another IP address. You have the option to get an elastic IP (1$/mo when instance is down), change your configuration files to match it. You could search config files for all instances of the previous IP (if you know it) and replace it with your new elastic (static) IP.

View solution in original post

3 REPLIES 3

avatar
Super Guru

@Michael Young

If you were using an elastic IP, your instance would have kept the initial IP address that is included in configuration files. If you shut it down again, the instance will get another IP address. You have the option to get an elastic IP (1$/mo when instance is down), change your configuration files to match it. You could search config files for all instances of the previous IP (if you know it) and replace it with your new elastic (static) IP.

avatar
Super Guru

@Constantin Stanca

Thank you for the response. I knew the IP was stored in a configuration file somewhere, I just didn't know which one. It turns out it is in /var/lib/cloudbreak-deployer/Profile.

avatar
Super Guru
@Michael Young

🙂 I'm on travel and did not remember the path and the file name. Sorry for a bit of imprecise answer. Tried to help timely.