Advertisement
Guest User

Untitled

a guest
Feb 19th, 2019
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.70 KB | None | 0 0
  1. @SpringBootApplication
  2. @EnableProcessApplication
  3. @EnableConfigurationProperties
  4. @EnableDiscoveryClient
  5. @EnableJms
  6. public class CamundaApplication {
  7.  
  8. @Autowired
  9. private RuntimeService runtimeService;
  10. public static void main(String... args) {
  11.  
  12. SpringApplication.run(CamundaApplication.class, args);
  13. }
  14.  
  15. }
  16.  
  17. dependencies {
  18. compile(group: 'org.camunda.bpm.springboot', name: 'camunda-bpm-spring-
  19. boot-starter', version: '3.0.0')
  20. {
  21. exclude module: 'spring-tx'
  22. exclude module: "spring-boot-starter-logging"
  23. exclude module: "logback-classic"
  24. }
  25.  
  26. compile group: 'org.springframework', name: 'spring-tx', version:
  27. '5.0.6.RELEASE'
  28. compile(group: 'org.camunda.bpm.springboot', name: 'camunda-bpm-spring-
  29. boot-starter-webapp', version: '3.0.0')
  30. {
  31. exclude module: "spring-boot-starter-logging"
  32. exclude module: "logback-classic"
  33.  
  34. }
  35. compile(group: 'org.camunda.bpm.springboot', name: 'camunda-bpm-spring-
  36. boot-starter-rest', version: '3.0.0')
  37. {
  38. exclude module: "spring-boot-starter-logging"
  39. exclude module: "logback-classic"
  40.  
  41. }
  42. compile group: 'org.camunda.bpm', name: 'camunda-engine-plugin-spin', version: '7.9.0'
  43. compile group: 'org.camunda.spin', name: 'camunda-spin-dataformat-all', version: '1.6.0'
  44. compile group: 'org.camunda.spin', name: 'camunda-spin-core', version: '1.6.0'
  45. compile group: 'com.h2database', name: 'h2', version: '1.4.196'
  46. compile fileTree(dir: 'lib', include: '*.jar')
  47.  
  48. Failed to destroy the filter named [Engines Filter] of type [org.camunda.bpm.spring.boot.starter.webapp.filter.LazyProcessEnginesFilter]
  49.  
  50. java.lang.NullPointerException: null
  51. at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyDelegateFilter.destroy(LazyDelegateFilter.java:49) ~[camunda-bpm-spring-boot-starter-webapp-core-3.0.0.jar:3.0.0]
  52. at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:318) [tomcat-embed-core-8.5.31.jar:8.5.31]
  53. at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:4670) [tomcat-embed-core-8.5.31.jar:8.5.31]
  54. at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5470) [tomcat-embed-core-8.5.31.jar:8.5.31]
  55. at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226) [tomcat-embed-core-8.5.31.jar:8.5.31]
  56. at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1437) [tomcat-embed-core-8.5.31.jar:8.5.31]
  57. at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1426) [tomcat-embed-core-8.5.31.jar:8.5.31]
  58. at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191]
  59. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191]
  60. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191]
  61. at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
  62.  
  63. 2019-02-19 17:20:27.241 ERROR 19396 --- [ost-startStop-2] o.a.c.c.C.[.[.[/] : Failed to destroy the filter named [Security Filter] of type [org.camunda.bpm.spring.boot.starter.webapp.filter.LazySecurityFilter]
  64.  
  65. java.lang.NullPointerException: null
  66. at org.camunda.bpm.spring.boot.starter.webapp.filter.LazyDelegateFilter.destroy(LazyDelegateFilter.java:49) ~[camunda-bpm-spring-boot-starter-webapp-core-3.0.0.jar:3.0.0]
  67. at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:318) [tomcat-embed-core-8.5.31.jar:8.5.31]
  68. at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:4670) [tomcat-embed-core-8.5.31.jar:8.5.31]
  69. at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5470) [tomcat-embed-core-8.5.31.jar:8.5.31]
  70. at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:226) [tomcat-embed-core-8.5.31.jar:8.5.31]
  71. at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1437) [tomcat-embed-core-8.5.31.jar:8.5.31]
  72. at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1426) [tomcat-embed-core-8.5.31.jar:8.5.31]
  73. at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_191]
  74. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191]
  75. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191]
  76. at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
  77.  
  78. 2019-02-19 17:20:27.267 INFO 19396 --- [ main] ConditionEvaluationReportLoggingListener :
  79.  
  80. Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
  81. 2019-02-19 17:20:27.271 ERROR 19396 --- [ main] o.s.b.SpringApplication : Application run failed
  82.  
  83. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'nodeRPCConnection': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder '/canopy/dev/cleveland/quotes/config.rpc.port' in value "${/canopy/${env}/${member}/${app}/config.rpc.port}"
  84. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:379) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  85. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1350) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  86. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:580) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  87. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:503) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  88. at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  89. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  90. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  91. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  92. at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  93. at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  94. at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  95. at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140) ~[spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
  96. at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) [spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
  97. at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395) [spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
  98. at org.springframework.boot.SpringApplication.run(SpringApplication.java:327) [spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
  99. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1255) [spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
  100. at org.springframework.boot.SpringApplication.run(SpringApplication.java:1243) [spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
  101. at com.rba.camunda.quote.CamundaApplication.main(CamundaApplication.java:26) [classes/:?]
  102. Caused by: java.lang.IllegalArgumentException: Could not resolve placeholder '/canopy/dev/cleveland/quotes/config.rpc.port' in value "${/canopy/${env}/${member}/${app}/config.rpc.port}"
  103. at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:172) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  104. at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  105. at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:237) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  106. at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:211) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  107. at org.springframework.core.env.AbstractPropertyResolver.resolveNestedPlaceholders(AbstractPropertyResolver.java:228) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  108. at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:88) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  109. at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:62) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  110. at org.springframework.core.env.AbstractEnvironment.getProperty(AbstractEnvironment.java:531) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  111. at org.springframework.context.support.PropertySourcesPlaceholderConfigurer$1.getProperty(PropertySourcesPlaceholderConfigurer.java:137) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  112. at org.springframework.context.support.PropertySourcesPlaceholderConfigurer$1.getProperty(PropertySourcesPlaceholderConfigurer.java:133) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  113. at org.springframework.core.env.PropertySourcesPropertyResolver.getProperty(PropertySourcesPropertyResolver.java:85) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  114. at org.springframework.core.env.PropertySourcesPropertyResolver.getPropertyAsRawString(PropertySourcesPropertyResolver.java:74) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  115. at org.springframework.util.PropertyPlaceholderHelper.parseStringValue(PropertyPlaceholderHelper.java:145) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  116. at org.springframework.util.PropertyPlaceholderHelper.replacePlaceholders(PropertyPlaceholderHelper.java:124) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  117. at org.springframework.core.env.AbstractPropertyResolver.doResolvePlaceholders(AbstractPropertyResolver.java:237) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  118. at org.springframework.core.env.AbstractPropertyResolver.resolveRequiredPlaceholders(AbstractPropertyResolver.java:211) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  119. at org.springframework.context.support.PropertySourcesPlaceholderConfigurer.lambda$processProperties$0(PropertySourcesPlaceholderConfigurer.java:175) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  120. at org.springframework.beans.factory.support.AbstractBeanFactory.resolveEmbeddedValue(AbstractBeanFactory.java:839) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  121. at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1086) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  122. at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  123. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  124. at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  125. at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
  126. ... 17 more
  127.  
  128.  
  129. Process finished with exit code 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement