Member since
02-09-2016
559
Posts
422
Kudos Received
98
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2110 | 03-02-2018 01:19 AM | |
3426 | 03-02-2018 01:04 AM | |
2339 | 08-02-2017 05:40 PM | |
2334 | 07-17-2017 05:35 PM | |
1694 | 07-10-2017 02:49 PM |
08-17-2016
09:30 PM
@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.
... View more
08-17-2016
05:46 PM
3 Kudos
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:
Is there something configuration wise I can do to resolve this? Or should I just create my Cloudbreak Deployer instance from scratch?
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.
... View more
Labels:
- Labels:
-
Hortonworks Cloudbreak
08-17-2016
05:19 PM
@sbhat Is any of this documented somewhere? Looking at: https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/index.md I don't see any reference to creating users.
... View more
08-17-2016
02:15 PM
1 Kudo
@Smart Solutions Zeppelin in HDP 2.4.x is still a Tech Preview and as such is not generally recommended for production environments. Zeppelin does not yet have Kerberos support.
... View more
08-16-2016
08:04 PM
@kishore sanchina You are welcome. I also provided a similar answer to your question on AWS, but specific to that cloud environment.
... View more
08-16-2016
04:32 PM
1 Kudo
@kishore sanchina Similar to Amazon, you can use Cloudbreak to deploy HDP in Azure: http://sequenceiq.com/cloudbreak-docs/latest/azure/ https://community.hortonworks.com/articles/10131/hdp-deployment-in-azure-using-cloudbreak.html If you don't want to use Cloudbreak, you can follow this blog: http://hortonworks.com/blog/easy-steps-to-create-hadoop-cluster-on-microsoft-azure/
... View more
08-16-2016
04:26 PM
@kishore sanchina Using Cloudbreak is a great way to deploy clusters on AWS: http://sequenceiq.com/cloudbreak-docs/latest/aws/ You can also take a look at the Hortonworks Cloud Tech Preview: http://hortonworks.github.io/hdp-aws/ Here is a blog article showing a walk through without using Cloudbreak: http://hortonworks.com/blog/deploying-hadoop-cluster-amazon-ec2-hortonworks/ Do you have more specifics about how to use AWS and HDP?
... View more
08-13-2016
01:50 AM
It looks like those are settings within your AWS Console. http://docs.aws.amazon.com/general/latest/gr/managing-aws-access-keys.html https://console.aws.amazon.com/iam/home?region=us-east-1#security_credential
... View more
08-13-2016
01:33 AM
I've successfully deployed the CloudBreak 1.3 deployer on Amazon AWS. I'm trying to create a key-based credential within CloudBreak, but I'm not sure what is needed/meant by access key and secret access key. Here is the link to the documentation I'm using: http://sequenceiq.com/cloudbreak-docs/latest/aws/ The relevant portion of the documentation is: I don't see anything in the documentation that references access key or secret access key. Any help would be appreciated.
... View more
Labels:
- Labels:
-
Hortonworks Cloudbreak
08-12-2016
02:13 PM
Yes, when I said "using Ambari", I was referring to the web interface. I apologize for not being more clear. I'm not aware of a way to stop all services from the command line using as a single command. However, you can use the Ambari API to shutdown services individually. Unfortunately, you have to call the shutdown command for each service. https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=41812517
... View more