Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
- ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
- \\/ ___)| |_)| | | | | || (_| | ) ) ) )
- ' |____| .__|_| |_|_| |_\__, | / / / /
- =========|_|==============|___/=/_/_/_/
- :: Spring Boot :: (v2.1.0.RELEASE)
- 2019-06-28 06:24:18.744 INFO 8 --- [ main] tech.ivoice.calls.taskproc.IvoiceCaller : Starting IvoiceCaller v0.0.1 on small-apps2-back with PID 8 (/app/calling-system.jar started by root in /app)
- 2019-06-28 06:24:18.749 INFO 8 --- [ main] tech.ivoice.calls.taskproc.IvoiceCaller : No active profile set, falling back to default profiles: default
- 2019-06-28 06:24:20.120 INFO 8 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
- 2019-06-28 06:24:20.382 INFO 8 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 248ms. Found 15 repository interfaces.
- 2019-06-28 06:24:21.248 INFO 8 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.kafka.annotation.KafkaBootstrapConfiguration' of type [org.springframework.kafka.annotation.KafkaBootstrapConfiguration$$EnhancerBySpringCGLIB$$a6d9e58f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
- 2019-06-28 06:24:21.852 INFO 8 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8081 (http)
- 2019-06-28 06:24:21.886 INFO 8 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
- 2019-06-28 06:24:21.886 INFO 8 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet Engine: Apache Tomcat/9.0.12
- 2019-06-28 06:24:21.902 INFO 8 --- [ main] o.a.catalina.core.AprLifecycleListener : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
- 2019-06-28 06:24:22.015 INFO 8 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
- 2019-06-28 06:24:22.015 INFO 8 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3178 ms
- 2019-06-28 06:24:22.059 INFO 8 --- [ main] o.s.b.w.servlet.ServletRegistrationBean : Servlet dispatcherServlet mapped to [/]
- 2019-06-28 06:24:22.064 INFO 8 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'characterEncodingFilter' to: [/*]
- 2019-06-28 06:24:22.069 INFO 8 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
- 2019-06-28 06:24:22.069 INFO 8 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'formContentFilter' to: [/*]
- 2019-06-28 06:24:22.069 INFO 8 --- [ main] o.s.b.w.servlet.FilterRegistrationBean : Mapping filter: 'requestContextFilter' to: [/*]
- 2019-06-28 06:24:22.728 INFO 8 --- [ main] org.mongodb.driver.cluster : Cluster created with settings {hosts=[mongo:27017], mode=MULTIPLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
- 2019-06-28 06:24:22.728 INFO 8 --- [ main] org.mongodb.driver.cluster : Adding discovered server mongo:27017 to client view of cluster
- 2019-06-28 06:24:22.909 INFO 8 --- [l'}-mongo:27017] org.mongodb.driver.connection : Opened connection [connectionId{localValue:1, serverValue:3229}] to mongo:27017
- 2019-06-28 06:24:22.931 INFO 8 --- [l'}-mongo:27017] org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=mongo:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[4, 0, 10]}, minWireVersion=0, maxWireVersion=7, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=9031735}
- 2019-06-28 06:24:22.940 INFO 8 --- [l'}-mongo:27017] org.mongodb.driver.cluster : Discovered cluster type of STANDALONE
- 2019-06-28 06:24:23.416 INFO 8 --- [ main] org.mongodb.driver.connection : Opened connection [connectionId{localValue:2, serverValue:3230}] to mongo:27017
- 2019-06-28 06:24:24.231 WARN 8 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contactRepository': Invocation of init method failed; nested exception is org.springframework.dao.DataIntegrityViolationException: Cannot create index for 'phone' in collection 'contact' with keys 'Document{{phone=1}}' and options 'Document{{name=phone}}'. Index already defined as 'IndexInfo [indexFields=[IndexField [ key: phone, direction: ASC, type: DEFAULT, weight: NaN]], name=phone, unique=true, sparse=false, language=, partialFilterExpression=, collation=null]'.; nested exception is com.mongodb.MongoCommandException: Command failed with error 85 (IndexOptionsConflict): 'Index with name: phone already exists with different options' on server mongo:27017. The full response is { "ok" : 0.0, "errmsg" : "Index with name: phone already exists with different options", "code" : 85, "codeName" : "IndexOptionsConflict" }
- 2019-06-28 06:24:24.239 INFO 8 --- [ main] org.mongodb.driver.connection : Closed connection [connectionId{localValue:2, serverValue:3230}] to mongo:27017 because the pool has been closed.
- 2019-06-28 06:24:24.246 INFO 8 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
- 2019-06-28 06:24:24.269 INFO 8 --- [ main] ConditionEvaluationReportLoggingListener :
- Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
- 2019-06-28 06:24:24.279 ERROR 8 --- [ main] o.s.boot.SpringApplication : Application run failed
- org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contactRepository': Invocation of init method failed; nested exception is org.springframework.dao.DataIntegrityViolationException: Cannot create index for 'phone' in collection 'contact' with keys 'Document{{phone=1}}' and options 'Document{{name=phone}}'. Index already defined as 'IndexInfo [indexFields=[IndexField [ key: phone, direction: ASC, type: DEFAULT, weight: NaN]], name=phone, unique=true, sparse=false, language=, partialFilterExpression=, collation=null]'.; nested exception is com.mongodb.MongoCommandException: Command failed with error 85 (IndexOptionsConflict): 'Index with name: phone already exists with different options' on server mongo:27017. The full response is { "ok" : 0.0, "errmsg" : "Index with name: phone already exists with different options", "code" : 85, "codeName" : "IndexOptionsConflict" }
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1745) ~[spring-beans-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:576) ~[spring-beans-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:498) ~[spring-beans-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:827) ~[spring-beans-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:863) ~[spring-context-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:546) ~[spring-context-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140) ~[spring-boot-2.1.0.RELEASE.jar!/:2.1.0.RELEASE]
- at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) [spring-boot-2.1.0.RELEASE.jar!/:2.1.0.RELEASE]
- at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.1.0.RELEASE.jar!/:2.1.0.RELEASE]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) [spring-boot-2.1.0.RELEASE.jar!/:2.1.0.RELEASE]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) [spring-boot-2.1.0.RELEASE.jar!/:2.1.0.RELEASE]
- at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) [spring-boot-2.1.0.RELEASE.jar!/:2.1.0.RELEASE]
- at tech.ivoice.calls.taskproc.IvoiceCaller.main(IvoiceCaller.java:16) [classes!/:0.0.1]
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_202]
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_202]
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_202]
- at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_202]
- at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [calling-system.jar:0.0.1]
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [calling-system.jar:0.0.1]
- at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) [calling-system.jar:0.0.1]
- at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) [calling-system.jar:0.0.1]
- Caused by: org.springframework.dao.DataIntegrityViolationException: Cannot create index for 'phone' in collection 'contact' with keys 'Document{{phone=1}}' and options 'Document{{name=phone}}'. Index already defined as 'IndexInfo [indexFields=[IndexField [ key: phone, direction: ASC, type: DEFAULT, weight: NaN]], name=phone, unique=true, sparse=false, language=, partialFilterExpression=, collation=null]'.; nested exception is com.mongodb.MongoCommandException: Command failed with error 85 (IndexOptionsConflict): 'Index with name: phone already exists with different options' on server mongo:27017. The full response is { "ok" : 0.0, "errmsg" : "Index with name: phone already exists with different options", "code" : 85, "codeName" : "IndexOptionsConflict" }
- at org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator.createIndex(MongoPersistentEntityIndexCreator.java:162) ~[spring-data-mongodb-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator.checkForAndCreateIndexes(MongoPersistentEntityIndexCreator.java:135) ~[spring-data-mongodb-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator.checkForIndexes(MongoPersistentEntityIndexCreator.java:127) ~[spring-data-mongodb-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator.onApplicationEvent(MongoPersistentEntityIndexCreator.java:111) ~[spring-data-mongodb-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator.onApplicationEvent(MongoPersistentEntityIndexCreator.java:54) ~[spring-data-mongodb-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:398) ~[spring-context-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:355) ~[spring-context-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.data.mapping.context.AbstractMappingContext.addPersistentEntity(AbstractMappingContext.java:405) ~[spring-data-commons-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:248) ~[spring-data-commons-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:191) ~[spring-data-commons-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.mapping.context.AbstractMappingContext.getPersistentEntity(AbstractMappingContext.java:85) ~[spring-data-commons-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.mapping.context.MappingContext.getRequiredPersistentEntity(MappingContext.java:73) ~[spring-data-commons-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.mongodb.repository.support.MongoRepositoryFactory.getEntityInformation(MongoRepositoryFactory.java:149) ~[spring-data-mongodb-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.mongodb.repository.support.MongoRepositoryFactory.getTargetRepository(MongoRepositoryFactory.java:123) ~[spring-data-mongodb-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:305) ~[spring-data-commons-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.lambda$afterPropertiesSet$5(RepositoryFactoryBeanSupport.java:297) ~[spring-data-commons-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.util.Lazy.getNullable(Lazy.java:211) ~[spring-data-commons-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.util.Lazy.get(Lazy.java:94) ~[spring-data-commons-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.afterPropertiesSet(RepositoryFactoryBeanSupport.java:300) ~[spring-data-commons-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean.afterPropertiesSet(MongoRepositoryFactoryBean.java:119) ~[spring-data-mongodb-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1804) ~[spring-beans-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1741) ~[spring-beans-5.1.2.RELEASE.jar!/:5.1.2.RELEASE]
- ... 24 common frames omitted
- Caused by: com.mongodb.MongoCommandException: Command failed with error 85 (IndexOptionsConflict): 'Index with name: phone already exists with different options' on server mongo:27017. The full response is { "ok" : 0.0, "errmsg" : "Index with name: phone already exists with different options", "code" : 85, "codeName" : "IndexOptionsConflict" }
- at com.mongodb.internal.connection.ProtocolHelper.getCommandFailureException(ProtocolHelper.java:179) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.internal.connection.InternalStreamConnection.receiveCommandMessageResponse(InternalStreamConnection.java:293) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.internal.connection.InternalStreamConnection.sendAndReceive(InternalStreamConnection.java:255) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.internal.connection.UsageTrackingInternalConnection.sendAndReceive(UsageTrackingInternalConnection.java:99) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.sendAndReceive(DefaultConnectionPool.java:444) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.internal.connection.CommandProtocolImpl.execute(CommandProtocolImpl.java:72) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.internal.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:200) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.internal.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:269) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.internal.connection.DefaultServerConnection.command(DefaultServerConnection.java:131) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.internal.connection.DefaultServerConnection.command(DefaultServerConnection.java:123) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:242) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:233) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:170) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.operation.CommandOperationHelper.executeWrappedCommandProtocol(CommandOperationHelper.java:163) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.operation.CreateIndexesOperation$1.call(CreateIndexesOperation.java:174) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.operation.CreateIndexesOperation$1.call(CreateIndexesOperation.java:169) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.operation.OperationHelper.withConnectionSource(OperationHelper.java:453) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.operation.OperationHelper.withConnection(OperationHelper.java:415) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.operation.CreateIndexesOperation.execute(CreateIndexesOperation.java:169) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.operation.CreateIndexesOperation.execute(CreateIndexesOperation.java:70) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:193) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.client.internal.MongoCollectionImpl.executeCreateIndexes(MongoCollectionImpl.java:805) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.client.internal.MongoCollectionImpl.createIndexes(MongoCollectionImpl.java:788) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.client.internal.MongoCollectionImpl.createIndexes(MongoCollectionImpl.java:783) ~[mongo-java-driver-3.8.2.jar!/:na]
- at com.mongodb.client.internal.MongoCollectionImpl.createIndex(MongoCollectionImpl.java:768) ~[mongo-java-driver-3.8.2.jar!/:na]
- at org.springframework.data.mongodb.core.DefaultIndexOperations.lambda$ensureIndex$0(DefaultIndexOperations.java:135) ~[spring-data-mongodb-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.mongodb.core.MongoTemplate.execute(MongoTemplate.java:535) ~[spring-data-mongodb-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.mongodb.core.DefaultIndexOperations.execute(DefaultIndexOperations.java:218) ~[spring-data-mongodb-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.mongodb.core.DefaultIndexOperations.ensureIndex(DefaultIndexOperations.java:121) ~[spring-data-mongodb-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- at org.springframework.data.mongodb.core.index.MongoPersistentEntityIndexCreator.createIndex(MongoPersistentEntityIndexCreator.java:145) ~[spring-data-mongodb-2.1.2.RELEASE.jar!/:2.1.2.RELEASE]
- ... 48 common frames omitted
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement