From Gentle Teal, 5 Years ago, written in Plain Text.
Embed
  1. 22-Jul-2019 06:00:30.234 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start:
  2.  org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/content-service]]
  3.         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
  4.         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
  5.         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
  6.         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
  7.         at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:917)
  8.         at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1701)
  9.         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
  10.         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  11.         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
  12.         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
  13.         at java.lang.Thread.run(Thread.java:748)
  14. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongeez' defined in class path resource [com/pearson/ltg/content/configuration/MongoAppConfig.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.mongeez.Mongeez]: Factory method 'mongeez' threw exception; nested exception is com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=contentsdata-shard-00-00-qu3sl.mongodb.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadException: Prematurely reached end of stream}}, {address=contentsdata-shard-00-01-qu3sl.mongodb.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadException: Prematurely reached end of stream}}, {address=contentsdata-shard-00-02-qu3sl.mongodb.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadException: Prematurely reached end of stream}}]
  15.         at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599)
  16.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1128)
  17.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1022)
  18.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
  19.         at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  20.         at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  21.         at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  22.         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  23.         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  24.         at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:754)
  25.         at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)
  26.         at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
  27.         at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
  28.         at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
  29.         at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
  30.         at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
  31.         at org.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:151)
  32.         at org.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:131)
  33.         at org.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:86)
  34.         at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169)
  35.         at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5151)
  36.         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  37.         ... 10 more
  38. Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.mongeez.Mongeez]: Factory method 'mongeez' threw exception; nested exception is com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=contentsdata-shard-00-00-qu3sl.mongodb.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadException: Prematurely reached end of stream}}, {address=contentsdata-shard-00-01-qu3sl.mongodb.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadException: Prematurely reached end of stream}}, {address=contentsdata-shard-00-02-qu3sl.mongodb.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadException: Prematurely reached end of stream}}]
  39.         at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
  40.         at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
  41.         ... 31 more
  42. Caused by: com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=contentsdata-shard-00-00-qu3sl.mongodb.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadException: Prematurely reached end of stream}}, {address=contentsdata-shard-00-01-qu3sl.mongodb.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadException: Prematurely reached end of stream}}, {address=contentsdata-shard-00-02-qu3sl.mongodb.net:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadException: Prematurely reached end of stream}}]
  43.         at com.mongodb.connection.BaseCluster.getDescription(BaseCluster.java:167)
  44.         at com.mongodb.Mongo.getConnectedClusterDescription(Mongo.java:885)
  45.         at com.mongodb.Mongo.createClientSession(Mongo.java:877)
  46.         at com.mongodb.Mongo$3.getClientSession(Mongo.java:866)
  47.         at com.mongodb.Mongo$3.execute(Mongo.java:834)
  48.         at com.mongodb.Mongo$3.execute(Mongo.java:818)
  49.         at com.mongodb.DBCollection.executeWriteOperation(DBCollection.java:341)
  50.         at com.mongodb.DBCollection.update(DBCollection.java:563)
  51.         at com.mongodb.DBCollection.update(DBCollection.java:486)
  52.         at com.mongodb.DBCollection.update(DBCollection.java:463)
  53.         at com.mongodb.DBCollection.update(DBCollection.java:441)
  54.         at org.mongeez.dao.MongeezDao.addTypeToUntypedRecords(MongeezDao.java:72)
  55.         at org.mongeez.dao.MongeezDao.configure(MongeezDao.java:63)
  56.         at org.mongeez.dao.MongeezDao.<init>(MongeezDao.java:59)
  57.         at org.mongeez.ChangeSetExecutor.<init>(ChangeSetExecutor.java:44)
  58.         at org.mongeez.Mongeez.process(Mongeez.java:48)
  59.         at com.pearson.ltg.content.configuration.MongoAppConfig.mongeez(MongoAppConfig.java:49)
  60.         at com.pearson.ltg.content.configuration.MongoAppConfig$$EnhancerBySpringCGLIB$$8a0b0abf.CGLIB$mongeez$1(<generated>)
  61.         at com.pearson.ltg.content.configuration.MongoAppConfig$$EnhancerBySpringCGLIB$$8a0b0abf$$FastClassBySpringCGLIB$$642a9d6f.invoke(<generated>)
  62.         at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)
  63.         at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356)
  64.         at com.pearson.ltg.content.configuration.MongoAppConfig$$EnhancerBySpringCGLIB$$8a0b0abf.mongeez(<generated>)
  65.         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  66.         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
  67.         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  68.         at java.lang.reflect.Method.invoke(Method.java:498)
  69.         at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)
  70.         ... 32 more