{"action":"created","issue":{"url":"https://api.github.com/repos/scobal/seyren/issues/420","repository_url":"https://api.github.com/repos/scobal/seyren","labels_url":"https://api.github.com/repos/scobal/seyren/issues/420/labels{/name}","comments_url":"https://api.github.com/repos/scobal/seyren/issues/420/comments","events_url":"https://api.github.com/repos/scobal/seyren/issues/420/events","html_url":"https://github.com/scobal/seyren/issues/420","id":186432475,"number":420,"title":"mongo store issue","user":{"login":"tuwid","id":7482795,"avatar_url":"https://avatars.githubusercontent.com/u/7482795?v=3","gravatar_id":"","url":"https://api.github.com/users/tuwid","html_url":"https://github.com/tuwid","followers_url":"https://api.github.com/users/tuwid/followers","following_url":"https://api.github.com/users/tuwid/following{/other_user}","gists_url":"https://api.github.com/users/tuwid/gists{/gist_id}","starred_url":"https://api.github.com/users/tuwid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuwid/subscriptions","organizations_url":"https://api.github.com/users/tuwid/orgs","repos_url":"https://api.github.com/users/tuwid/repos","events_url":"https://api.github.com/users/tuwid/events{/privacy}","received_events_url":"https://api.github.com/users/tuwid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-31T23:58:45Z","updated_at":"2016-11-01T05:13:18Z","closed_at":null,"body":"```\r\nOct 31, 2016 11:55:26 PM org.apache.coyote.AbstractProtocol init\r\nINFO: Initializing ProtocolHandler [\"http-bio-8080\"]\r\nOct 31, 2016 11:55:26 PM org.apache.catalina.core.StandardService startInternal\r\nINFO: Starting service Tomcat\r\nOct 31, 2016 11:55:26 PM org.apache.catalina.core.StandardEngine startInternal\r\nINFO: Starting Servlet Engine: Apache Tomcat/7.0.37\r\n\r\nOct 31, 2016 11:55:42 PM org.apache.catalina.core.ApplicationContext log\r\nINFO: No Spring WebApplicationInitializer types detected on classpath\r\nOct 31, 2016 11:55:43 PM org.apache.catalina.core.ApplicationContext log\r\nINFO: Initializing Spring root WebApplicationContext\r\nOct 31, 2016 11:56:15 PM org.apache.catalina.core.StandardContext listenerStart\r\nSEVERE: Exception sending context initialized event to listener instance of class org.jboss.resteasy.plugins.spring.SpringContextLoaderListener\r\norg.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'alertsBean' defined in URL [jar:file:/root/.extract/webapps/ROOT/WEB-INF/lib/seyren-api-1.5.0.jar!/com/seyren/api/bean/AlertsBean.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.seyren.core.store.AlertsStore]: : Error creating bean with name 'mongoStore' defined in URL [jar:file:/root/.extract/webapps/ROOT/WEB-INF/lib/seyren-mongo-1.5.0.jar!/com/seyren/mongo/MongoStore.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.seyren.mongo.MongoStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: java.lang.RuntimeException: Failed to bootstrap Mongo indexes. Please refer to the logs for more information.; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongoStore' defined in URL [jar:file:/root/.extract/webapps/ROOT/WEB-INF/lib/seyren-mongo-1.5.0.jar!/com/seyren/mongo/MongoStore.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.seyren.mongo.MongoStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: java.lang.RuntimeException: Failed to bootstrap Mongo indexes. Please refer to the logs for more information.\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749)\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1131)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1034)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:762)\r\n\tat org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)\r\n\tat org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:403)\r\n\tat org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)\r\n\tat org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:106)\r\n\tat org.jboss.resteasy.plugins.spring.SpringContextLoaderListener.contextInitialized(SpringContextLoaderListener.java:48)\r\n\tat org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)\r\n\tat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\r\n\tat org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)\r\n\tat org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)\r\n\tat java.util.concurrent.FutureTask.run(FutureTask.java:262)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongoStore' defined in URL [jar:file:/root/.extract/webapps/ROOT/WEB-INF/lib/seyren-mongo-1.5.0.jar!/com/seyren/mongo/MongoStore.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.seyren.mongo.MongoStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: java.lang.RuntimeException: Failed to bootstrap Mongo indexes. Please refer to the logs for more information.\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1131)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1034)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1127)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1051)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:949)\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)\r\n\t... 25 more\r\nCaused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.seyren.mongo.MongoStore]: Constructor threw exception; nested exception is java.lang.RuntimeException: java.lang.RuntimeException: Failed to bootstrap Mongo indexes. Please refer to the logs for more information.\r\n\tat org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)\r\n\tat org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)\r\n\t... 38 more\r\nCaused by: java.lang.RuntimeException: java.lang.RuntimeException: Failed to bootstrap Mongo indexes. Please refer to the logs for more information.\r\n\tat com.seyren.mongo.MongoStore.<init>(MongoStore.java:75)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:526)\r\n\tat org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)\r\n\t... 40 more\r\nCaused by: java.lang.RuntimeException: Failed to bootstrap Mongo indexes. Please refer to the logs for more information.\r\n\tat com.seyren.mongo.MongoStore.bootstrapMongo(MongoStore.java:89)\r\n\tat com.seyren.mongo.MongoStore.<init>(MongoStore.java:73)\r\n\t... 45 more\r\nCaused by: com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting for a server that matches WritableServerSelector. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused}}]\r\n\tat com.mongodb.connection.BaseCluster.createTimeoutException(BaseCluster.java:369)\r\n\tat com.mongodb.connection.BaseCluster.selectServer(BaseCluster.java:101)\r\n\tat com.mongodb.binding.ClusterBinding$ClusterBindingConnectionSource.<init>(ClusterBinding.java:75)\r\n\tat com.mongodb.binding.ClusterBinding$ClusterBindingConnectionSource.<init>(ClusterBinding.java:71)\r\n\tat com.mongodb.binding.ClusterBinding.getWriteConnectionSource(ClusterBinding.java:68)\r\n\tat com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:219)\r\n\tat com.mongodb.operation.CreateIndexesOperation.execute(CreateIndexesOperation.java:111)\r\n\tat com.mongodb.operation.CreateIndexesOperation.execute(CreateIndexesOperation.java:66)\r\n\tat com.mongodb.Mongo.execute(Mongo.java:781)\r\n\tat com.mongodb.Mongo$2.execute(Mongo.java:764)\r\n\tat com.mongodb.DBCollection.createIndex(DBCollection.java:1541)\r\n\tat com.seyren.mongo.MongoStore.createIndices(MongoStore.java:96)\r\n\tat com.seyren.mongo.MongoStore.bootstrapMongo(MongoStore.java:82)\r\n\t... 46 more\r\n\r\nOct 31, 2016 11:56:15 PM org.apache.catalina.core.StandardContext startInternal\r\nSEVERE: Error listenerStart\r\nOct 31, 2016 11:56:15 PM org.apache.catalina.core.StandardContext startInternal\r\nSEVERE: Context [] startup failed due to previous errors\r\nOct 31, 2016 11:56:15 PM org.apache.catalina.core.ApplicationContext log\r\nINFO: Closing Spring root WebApplicationContext\r\nOct 31, 2016 11:56:15 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads\r\nSEVERE: The web application [] appears to have started a thread named [cluster-ClusterId{value='5817da01263df42c7a0df3d4', description='null'}-localhost:27017] but has failed to stop it. This is very likely to create a memory leak.\r\nOct 31, 2016 11:56:15 PM org.apache.catalina.loader.WebappClassLoader clearReferencesThreads\r\nSEVERE: The web application [] appears to have started a thread named [pool-2-thread-1] but has failed to stop it. This is very likely to create a memory leak.\r\nOct 31, 2016 11:56:15 PM org.apache.coyote.AbstractProtocol start\r\nINFO: Starting ProtocolHandler [\"http-bio-8080\"]\r\n\r\n```\r\nUbuntu 14.04 trusty and seyren 1.5 \r\n\r\nany ideas ? "},"comment":{"url":"https://api.github.com/repos/scobal/seyren/issues/comments/257490323","html_url":"https://github.com/scobal/seyren/issues/420#issuecomment-257490323","issue_url":"https://api.github.com/repos/scobal/seyren/issues/420","id":257490323,"user":{"login":"VAdamec","id":5555130,"avatar_url":"https://avatars.githubusercontent.com/u/5555130?v=3","gravatar_id":"","url":"https://api.github.com/users/VAdamec","html_url":"https://github.com/VAdamec","followers_url":"https://api.github.com/users/VAdamec/followers","following_url":"https://api.github.com/users/VAdamec/following{/other_user}","gists_url":"https://api.github.com/users/VAdamec/gists{/gist_id}","starred_url":"https://api.github.com/users/VAdamec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VAdamec/subscriptions","organizations_url":"https://api.github.com/users/VAdamec/orgs","repos_url":"https://api.github.com/users/VAdamec/repos","events_url":"https://api.github.com/users/VAdamec/events{/privacy}","received_events_url":"https://api.github.com/users/VAdamec/received_events","type":"User","site_admin":false},"created_at":"2016-11-01T05:13:18Z","updated_at":"2016-11-01T05:13:18Z","body":"Seems like MongoDB is not running/listenning on given port\n(localhost:27017 Connection\nrefused). Do you run in it in Docker ?\n\nAVe\n\n\nOn Tue, Nov 1, 2016 at 12:58 AM, Artur D <notifications@github.com> wrote:\n\n> ct 31, 2016 11:55:26 PM org.apache.coyote.AbstractProtocol init\n> INFO: Initializing ProtocolHandler [\"http-bio-8080\"]\n> Oct 31, 2016 11:55:26 PM org.apache.catalina.core.StandardService\n> startInternal\n> INFO: Starting service Tomcat\n> Oct 31, 2016 11:55:26 PM org.apache.catalina.core.StandardEngine\n> startInternal\n> INFO: Starting Servlet Engine: Apache Tomcat/7.0.37\n>\n> Oct 31, 2016 11:55:42 PM org.apache.catalina.core.ApplicationContext log\n> INFO: No Spring WebApplicationInitializer types detected on classpath\n> Oct 31, 2016 11:55:43 PM org.apache.catalina.core.ApplicationContext log\n> INFO: Initializing Spring root WebApplicationContext\n> Oct 31, 2016 11:56:15 PM org.apache.catalina.core.StandardContext\n> listenerStart\n> SEVERE: Exception sending context initialized event to listener instance\n> of class org.jboss.resteasy.plugins.spring.SpringContextLoaderListener\n> org.springframework.beans.factory.UnsatisfiedDependencyException: Error\n> creating bean with name 'alertsBean' defined in URL\n> [jar:file:/root/.extract/webapps/ROOT/WEB-INF/lib/\n> seyren-api-1.5.0.jar!/com/seyren/api/bean/AlertsBean.class]: Unsatisfied\n> dependency expressed through constructor argument with index 0 of type\n> [com.seyren.core.store.AlertsStore]: : Error creating bean with name\n> 'mongoStore' defined in URL [jar:file:/root/.extract/\n> webapps/ROOT/WEB-INF/lib/seyren-mongo-1.5.0.jar!/com/\n> seyren/mongo/MongoStore.class]: Bean instantiation via constructor\n> failed; nested exception is org.springframework.beans.BeanInstantiationException:\n> Failed to instantiate [com.seyren.mongo.MongoStore]: Constructor threw\n> exception; nested exception is java.lang.RuntimeException:\n> java.lang.RuntimeException: Failed to bootstrap Mongo indexes. Please refer\n> to the logs for more information.; nested exception is\n> org.springframework.beans.factory.BeanCreationException: Error creating\n> bean with name 'mongoStore' defined in URL [jar:file:/root/.extract/\n> webapps/ROOT/WEB-INF/lib/seyren-mongo-1.5.0.jar!/com/\n> seyren/mongo/MongoStore.class]: Bean instantiation via constructor\n> failed; nested exception is org.springframework.beans.BeanInstantiationException:\n> Failed to instantiate [com.seyren.mongo.MongoStore]: Constructor threw\n> exception; nested exception is java.lang.RuntimeException:\n> java.lang.RuntimeException: Failed to bootstrap Mongo indexes. Please refer\n> to the logs for more information.\n> at org.springframework.beans.factory.support.ConstructorResolver.\n> createArgumentArray(ConstructorResolver.java:749)\n> at org.springframework.beans.factory.support.ConstructorResolver.\n> autowireConstructor(ConstructorResolver.java:185)\n> at org.springframework.beans.factory.support.\n> AbstractAutowireCapableBeanFactory.autowireConstructor(\n> AbstractAutowireCapableBeanFactory.java:1131)\n> at org.springframework.beans.factory.support.\n> AbstractAutowireCapableBeanFactory.createBeanInstance(\n> AbstractAutowireCapableBeanFactory.java:1034)\n> at org.springframework.beans.factory.support.\n> AbstractAutowireCapableBeanFactory.doCreateBean(\n> AbstractAutowireCapableBeanFactory.java:504)\n> at org.springframework.beans.factory.support.\n> AbstractAutowireCapableBeanFactory.createBean(\n> AbstractAutowireCapableBeanFactory.java:476)\n> at org.springframework.beans.factory.support.AbstractBeanFactory$1.\n> getObject(AbstractBeanFactory.java:303)\n> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.\n> getSingleton(DefaultSingletonBeanRegistry.java:230)\n> at org.springframework.beans.factory.support.\n> AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)\n> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(\n> AbstractBeanFactory.java:194)\n> at org.springframework.beans.factory.support.DefaultListableBeanFactory.\n> preInstantiateSingletons(DefaultListableBeanFactory.java:762)\n> at org.springframework.context.support.AbstractApplicationContext.\n> finishBeanFactoryInitialization(AbstractApplicationContext.java:757)\n> at org.springframework.context.support.AbstractApplicationContext.refresh(\n> AbstractApplicationContext.java:480)\n> at org.springframework.web.context.ContextLoader.\n> configureAndRefreshWebApplicationContext(ContextLoader.java:403)\n> at org.springframework.web.context.ContextLoader.\n> initWebApplicationContext(ContextLoader.java:306)\n> at org.springframework.web.context.ContextLoaderListener.\n> contextInitialized(ContextLoaderListener.java:106)\n> at org.jboss.resteasy.plugins.spring.SpringContextLoaderListener.\n> contextInitialized(SpringContextLoaderListener.java:48)\n> at org.apache.catalina.core.StandardContext.listenerStart(\n> StandardContext.java:4797)\n> at org.apache.catalina.core.StandardContext.startInternal(\n> StandardContext.java:5291)\n> at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)\n> at org.apache.catalina.core.ContainerBase$StartChild.call(\n> ContainerBase.java:1559)\n> at org.apache.catalina.core.ContainerBase$StartChild.call(\n> ContainerBase.java:1549)\n> at java.util.concurrent.FutureTask.run(FutureTask.java:262)\n> at java.util.concurrent.ThreadPoolExecutor.runWorker(\n> ThreadPoolExecutor.java:1145)\n> at java.util.concurrent.ThreadPoolExecutor$Worker.run(\n> ThreadPoolExecutor.java:615)\n> at java.lang.Thread.run(Thread.java:745)\n> Caused by: org.springframework.beans.factory.BeanCreationException: Error\n> creating bean with name 'mongoStore' defined in URL\n> [jar:file:/root/.extract/webapps/ROOT/WEB-INF/lib/\n> seyren-mongo-1.5.0.jar!/com/seyren/mongo/MongoStore.class]: Bean\n> instantiation via constructor failed; nested exception is\n> org.springframework.beans.BeanInstantiationException: Failed to\n> instantiate [com.seyren.mongo.MongoStore]: Constructor threw exception;\n> nested exception is java.lang.RuntimeException: java.lang.RuntimeException:\n> Failed to bootstrap Mongo indexes. Please refer to the logs for more\n> information.\n> at org.springframework.beans.factory.support.ConstructorResolver.\n> autowireConstructor(ConstructorResolver.java:275)\n> at org.springframework.beans.factory.support.\n> AbstractAutowireCapableBeanFactory.autowireConstructor(\n> AbstractAutowireCapableBeanFactory.java:1131)\n> at org.springframework.beans.factory.support.\n> AbstractAutowireCapableBeanFactory.createBeanInstance(\n> AbstractAutowireCapableBeanFactory.java:1034)\n> at org.springframework.beans.factory.support.\n> AbstractAutowireCapableBeanFactory.doCreateBean(\n> AbstractAutowireCapableBeanFactory.java:504)\n> at org.springframework.beans.factory.support.\n> AbstractAutowireCapableBeanFactory.createBean(\n> AbstractAutowireCapableBeanFactory.java:476)\n> at org.springframework.beans.factory.support.AbstractBeanFactory$1.\n> getObject(AbstractBeanFactory.java:303)\n> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.\n> getSingleton(DefaultSingletonBeanRegistry.java:230)\n> at org.springframework.beans.factory.support.\n> AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)\n> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(\n> AbstractBeanFactory.java:194)\n> at org.springframework.beans.factory.support.DefaultListableBeanFactory.\n> findAutowireCandidates(DefaultListableBeanFactory.java:1127)\n> at org.springframework.beans.factory.support.DefaultListableBeanFactory.\n> doResolveDependency(DefaultListableBeanFactory.java:1051)\n> at org.springframework.beans.factory.support.DefaultListableBeanFactory.\n> resolveDependency(DefaultListableBeanFactory.java:949)\n> at org.springframework.beans.factory.support.ConstructorResolver.\n> resolveAutowiredArgument(ConstructorResolver.java:813)\n> at org.springframework.beans.factory.support.ConstructorResolver.\n> createArgumentArray(ConstructorResolver.java:741)\n> ... 25 more\n> Caused by: org.springframework.beans.BeanInstantiationException: Failed\n> to instantiate [com.seyren.mongo.MongoStore]: Constructor threw exception;\n> nested exception is java.lang.RuntimeException: java.lang.RuntimeException:\n> Failed to bootstrap Mongo indexes. Please refer to the logs for more\n> information.\n> at org.springframework.beans.BeanUtils.instantiateClass(\n> BeanUtils.java:163)\n> at org.springframework.beans.factory.support.SimpleInstantiationStrategy.\n> instantiate(SimpleInstantiationStrategy.java:122)\n> at org.springframework.beans.factory.support.ConstructorResolver.\n> autowireConstructor(ConstructorResolver.java:267)\n> ... 38 more\n> Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Failed\n> to bootstrap Mongo indexes. Please refer to the logs for more information.\n> at com.seyren.mongo.MongoStore.<init>(MongoStore.java:75)\n> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\n> at sun.reflect.NativeConstructorAccessorImpl.newInstance(\n> NativeConstructorAccessorImpl.java:57)\n> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(\n> DelegatingConstructorAccessorImpl.java:45)\n> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)\n> at org.springframework.beans.BeanUtils.instantiateClass(\n> BeanUtils.java:147)\n> ... 40 more\n> Caused by: java.lang.RuntimeException: Failed to bootstrap Mongo indexes.\n> Please refer to the logs for more information.\n> at com.seyren.mongo.MongoStore.bootstrapMongo(MongoStore.java:89)\n> at com.seyren.mongo.MongoStore.<init>(MongoStore.java:73)\n> ... 45 more\n> Caused by: com.mongodb.MongoTimeoutException: Timed out after 30000 ms\n> while waiting for a server that matches WritableServerSelector. Client view\n> of cluster state is {type=UNKNOWN, servers=[{address=localhost:27017,\n> type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException:\n> Exception opening socket}, caused by {java.net.ConnectException: Connection\n> refused}}]\n> at com.mongodb.connection.BaseCluster.createTimeoutException(\n> BaseCluster.java:369)\n> at com.mongodb.connection.BaseCluster.selectServer(BaseCluster.java:101)\n> at com.mongodb.binding.ClusterBinding$ClusterBindingConnectionSource\n> .<init>(ClusterBinding.java:75)\n> at com.mongodb.binding.ClusterBinding$ClusterBindingConnectionSource\n> .<init>(ClusterBinding.java:71)\n> at com.mongodb.binding.ClusterBinding.getWriteConnectionSource(\n> ClusterBinding.java:68)\n> at com.mongodb.operation.OperationHelper.withConnection(\n> OperationHelper.java:219)\n> at com.mongodb.operation.CreateIndexesOperation.execute(\n> CreateIndexesOperation.java:111)\n> at com.mongodb.operation.CreateIndexesOperation.execute(\n> CreateIndexesOperation.java:66)\n> at com.mongodb.Mongo.execute(Mongo.java:781)\n> at com.mongodb.Mongo$2.execute(Mongo.java:764)\n> at com.mongodb.DBCollection.createIndex(DBCollection.java:1541)\n> at com.seyren.mongo.MongoStore.createIndices(MongoStore.java:96)\n> at com.seyren.mongo.MongoStore.bootstrapMongo(MongoStore.java:82)\n> ... 46 more\n>\n> Oct 31, 2016 11:56:15 PM org.apache.catalina.core.StandardContext\n> startInternal\n> SEVERE: Error listenerStart\n> Oct 31, 2016 11:56:15 PM org.apache.catalina.core.StandardContext\n> startInternal\n> SEVERE: Context [] startup failed due to previous errors\n> Oct 31, 2016 11:56:15 PM org.apache.catalina.core.ApplicationContext log\n> INFO: Closing Spring root WebApplicationContext\n> Oct 31, 2016 11:56:15 PM org.apache.catalina.loader.WebappClassLoader\n> clearReferencesThreads\n> SEVERE: The web application [] appears to have started a thread named\n> [cluster-ClusterId{value='5817da01263df42c7a0df3d4',\n> description='null'}-localhost:27017] but has failed to stop it. This is\n> very likely to create a memory leak.\n> Oct 31, 2016 11:56:15 PM org.apache.catalina.loader.WebappClassLoader\n> clearReferencesThreads\n> SEVERE: The web application [] appears to have started a thread named\n> [pool-2-thread-1] but has failed to stop it. This is very likely to create\n> a memory leak.\n> Oct 31, 2016 11:56:15 PM org.apache.coyote.AbstractProtocol start\n> INFO: Starting ProtocolHandler [\"http-bio-8080\"]\n>\n> Ubuntu 14.04 trusty and seyren 1.5\n>\n> any ideas ?\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/scobal/seyren/issues/420>, or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AFTDuu6-dp_cN2caytsUR7X9icecAWo7ks5q5oC5gaJpZM4KlpwA>\n> .\n>\n\n\n\n-- \n-- May the fox be with you ...\n   /\\\n  (~(\n   ) )         /\\_/\\\n  (_=---_(@ @)\n    (          \\   /\n    /|/----\\|\\  V\n    \" \"     \" \"\n"}}
{"actor":{"display_login":"VAdamec"}}