Spring boot Camunda web app拒绝本地主机上的连接

Spring boot Camunda web app拒绝本地主机上的连接,spring-boot,tomcat,camunda,connection-refused,Spring Boot,Tomcat,Camunda,Connection Refused,突然,我的Camunda web应用程序拒绝连接。当我执行localhost:8080时,我得到localhost拒绝的ERR\u连接 http://localhost:8081/正在工作(我的Spring Boot应用程序提供REST API) \uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu__ / ___| __ _ _ __ ___ _ _ _ __ __| | __ _ | __ )| _ \| \/ | | | / _` | '_ ` _ \

突然,我的Camunda web应用程序拒绝连接。当我执行
localhost:8080
时,我得到
localhost拒绝的
ERR\u连接

http://localhost:8081/
正在工作(我的Spring Boot应用程序提供REST API)

\uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu__
/ ___| __ _ _ __ ___  _   _ _ __   __| | __ _  | __ )|  _ \|  \/  |
| |   / _` | '_ ` _ \| | | | '_ \ / _` |/ _` | |  _ \| |_) | |\/| |
| |__| (_| | | | | | | |_| | | | | (_| | (_| | | |_) |  __/| |  | |
\____/\__,_|_| |_| |_|\__,_|_| |_|\__,_|\__,_| |____/|_|   |_|  |_|
弹簧靴:(v2.0.2.释放)
卡蒙达BPM:(v7.9.0-ee)
Camunda BPM弹簧靴启动器:(v3.0.0)
2019-11-14 11:24:22.351信息988---[main]d.c.c.CarorderprocessApplication:在U2007750s-MacBook-Pro.local上使用PID 988启动CarorderprocessApplication(/Users/u2007750/CC/Develop/projects/Kfz Bestellprozess/backend/carorderprocess/target/classes由u2007750在/Users/u2007750/CC/Develop/projects/Kfz Bestellprozess/backend/carorderprocess中启动)
2019-11-14 11:24:22.354信息988---[main]d.c.c.CarorderprocessApplication:未设置活动配置文件,返回默认配置文件:默认
2019-11-14 11:24:22.393信息988---[main]配置ServletWebServerApplicationContext:刷新org.springframework.boot.web.servlet.context。AnnotationConfigServletWebServerApplicationContext@73a1e9a9:启动日期[Thu Nov 14 11:24:22 CET 2019];上下文层次结构的根
2019-11-14 11:24:23.040信息988---[main]f.a.AutowiredAnnotationBeanPostProcessor:JSR-330“javax.inject.inject”注释已找到并支持自动布线
2019-11-14 11:24:23.323信息988---[main]o.s.b.w.embedded.tomcat.TomcatWebServer:tomcat已用端口初始化:8081(http)
2019-11-14 11:24:23.348信息988---[main]o.apache.catalina.core.StandardService:启动服务[Tomcat]
2019-11-14 11:24:23.348信息988---[main]org.apache.catalina.core.StandardEngine:启动Servlet引擎:ApacheTomcat/8.5.31
2019-11-14 11:24:23.351信息988---[ost-startStop-1]o.a.catalina.core.AprLifecycleListener:在java.library.path上找不到基于APR的Apache Tomcat本机库,该库允许在生产环境中实现最佳性能:[/Users/u2007750/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/Java:.]
2019-11-14 11:24:23.415信息988---[ost-startStop-1]o.a.c.c.c.[Tomcat].[localhost].[/]:初始化Spring嵌入式WebApplicationContext
2019-11-14 11:24:23.415信息988---[ost-startStop-1]o.s.web.context.ContextLoader:根WebApplicationContext:初始化在1024毫秒内完成
2019-11-14 11:24:23.546信息988---[ost-startStop-1]o.s.b.w.servlet.ServletRegistrationBean:ServletDispatchersServlet映射到[/]
2019-11-14 11:24:23.553信息988---[ost-startStop-1]o.s.b.w.servlet.FilterRegistrationBean:将筛选器:“characterEncodingFilter”映射到:[/*]
2019-11-14 11:24:23.553信息988---[ost-startStop-1]o.s.b.w.servlet.FilterRegistrationBean:将筛选器:“hiddenHttpMethodFilter”映射到:[/*]
2019-11-14 11:24:23.553信息988---[ost-startStop-1]o.s.b.w.servlet.FilterRegistrationBean:将筛选器:“httpPutFormContentFilter”映射到:[/*]
2019-11-14 11:24:23.554信息988---[ost-startStop-1]o.s.b.w.servlet.FilterRegistrationBean:将筛选器:“requestContextFilter”映射到:[/*]
2019-11-14 11:24:23.624信息988---[main]o.s.j.d.e.嵌入式数据库工厂:启动嵌入式数据库:url='jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false',username='sa'
2019-11-14 11:24:23.696信息988---[main]org.camunda.bpm.spring.boot:STARTER-SB040设置作业执行器,corePoolSize=3,maxPoolSize:10
2019-11-14 11:24:23.703信息988---[main]o.s.s.concurrent.ThreadPoolTaskExecutor:初始化ExecutorService“camundaTaskExecutor”
2019-11-14 11:24:23.819信息988---[main]org.camunda.bpm.engine.cfg:engine-12003插件“CompositeProcessEnginePlugin”[genericPropertiesConfiguration,camundaProcessEngineConfiguration,camundaDatasourceConfiguration,camundaJobConfiguration,camundaHistoryConfiguration,camundaMetricsConfiguration,camundaAuthorizationConfiguration,CreateAdminUserConfiguration[adminUser=AdminUserProperty[id=kermit,firstName=kermit,lastName=kermit,email=kermit@localhost,password=superSecret]],enterLicenseKeyConfiguration,failedJobConfiguration,CreateFilterConfiguration[filterName=All tasks],disableDeploymentResourcePattern]“已在流程引擎上激活”“默认”
2019-11-14 11:24:23.821信息988---[main]org.camunda.bpm.spring.boot:STARTER-SB020流程应用程序已启用:通过springConfiguration自动部署#部署资源模式已禁用
2019-11-14 11:24:26.399信息988---[main]org.camunda.bpm.engine.persistence:engine-03016使用资源“org/camunda/bpm/engine/db/create/activiti.h2.create.engine.sql”对组件“engine”执行数据库操作“create”
2019-11-14 11:24:26.406 INFO 988---[main]org.camunda.bpm.engine.persistence:engine-03016使用资源“org/camunda/bpm/engine/db/create/activiti.h2.create.history.sql”对组件“history”执行数据库操作“create”
2019-11-14 11:24:26.412信息988---[main]org.camunda.bpm.engine.persistence:engine-03016使用资源“org/camunda/bpm/engine/db/create/activiti.h2.create.identity.sql”对组件“identity”执行数据库操作“create”
2019-11-14 11:24:26.418信息988---[main]org.camunda.bpm.engine.persistence:engine-03016对组件执行数据库操作“创建”
 ____                                 _         ____  ____  __  __
/ ___| __ _ _ __ ___  _   _ _ __   __| | __ _  | __ )|  _ \|  \/  |
| |   / _` | '_ ` _ \| | | | '_ \ / _` |/ _` | |  _ \| |_) | |\/| |
| |__| (_| | | | | | | |_| | | | | (_| | (_| | | |_) |  __/| |  | |
\____/\__,_|_| |_| |_|\__,_|_| |_|\__,_|\__,_| |____/|_|   |_|  |_|

  Spring-Boot:  (v2.0.2.RELEASE)
  Camunda BPM: (v7.9.0-ee)
  Camunda BPM Spring Boot Starter: (v3.0.0)

2019-11-14 11:24:22.351  INFO 988 --- [           main] d.c.c.CarorderprocessApplication         : Starting CarorderprocessApplication on U2007750s-MacBook-Pro.local with PID 988 (/Users/u2007750/CC/Develop/projects/Kfz-Bestellprozess/backend/carorderprocess/target/classes started by u2007750 in /Users/u2007750/CC/Develop/projects/Kfz-Bestellprozess/backend/carorderprocess)
2019-11-14 11:24:22.354  INFO 988 --- [           main] d.c.c.CarorderprocessApplication         : No active profile set, falling back to default profiles: default
2019-11-14 11:24:22.393  INFO 988 --- [           main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@73a1e9a9: startup date [Thu Nov 14 11:24:22 CET 2019]; root of context hierarchy
2019-11-14 11:24:23.040  INFO 988 --- [           main] f.a.AutowiredAnnotationBeanPostProcessor : JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2019-11-14 11:24:23.323  INFO 988 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8081 (http)
2019-11-14 11:24:23.348  INFO 988 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2019-11-14 11:24:23.348  INFO 988 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.31
2019-11-14 11:24:23.351  INFO 988 --- [ost-startStop-1] 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: [/Users/u2007750/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.]
2019-11-14 11:24:23.415  INFO 988 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2019-11-14 11:24:23.415  INFO 988 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 1024 ms
2019-11-14 11:24:23.546  INFO 988 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]
2019-11-14 11:24:23.553  INFO 988 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
2019-11-14 11:24:23.553  INFO 988 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2019-11-14 11:24:23.553  INFO 988 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2019-11-14 11:24:23.554  INFO 988 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
2019-11-14 11:24:23.624  INFO 988 --- [           main] o.s.j.d.e.EmbeddedDatabaseFactory        : Starting embedded database: url='jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=false', username='sa'
2019-11-14 11:24:23.696  INFO 988 --- [           main] org.camunda.bpm.spring.boot              : STARTER-SB040 Setting up jobExecutor with corePoolSize=3, maxPoolSize:10
2019-11-14 11:24:23.703  INFO 988 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService  'camundaTaskExecutor'
2019-11-14 11:24:23.819  INFO 988 --- [           main] org.camunda.bpm.engine.cfg               : ENGINE-12003 Plugin 'CompositeProcessEnginePlugin[genericPropertiesConfiguration, camundaProcessEngineConfiguration, camundaDatasourceConfiguration, camundaJobConfiguration, camundaHistoryConfiguration, camundaMetricsConfiguration, camundaAuthorizationConfiguration, CreateAdminUserConfiguration[adminUser=AdminUserProperty[id=kermit, firstName=Kermit, lastName=Kermit, email=kermit@localhost, password=superSecret]], enterLicenseKeyConfiguration, failedJobConfiguration, CreateFilterConfiguration[filterName=All tasks], disableDeploymentResourcePattern]' activated on process engine 'default'
2019-11-14 11:24:23.821  INFO 988 --- [           main] org.camunda.bpm.spring.boot              : STARTER-SB020 ProcessApplication enabled: autoDeployment via springConfiguration#deploymentResourcePattern is disabled
2019-11-14 11:24:26.399  INFO 988 --- [           main] org.camunda.bpm.engine.persistence       : ENGINE-03016 Performing database operation 'create' on component 'engine' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.engine.sql'
2019-11-14 11:24:26.406  INFO 988 --- [           main] org.camunda.bpm.engine.persistence       : ENGINE-03016 Performing database operation 'create' on component 'history' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.history.sql'
2019-11-14 11:24:26.412  INFO 988 --- [           main] org.camunda.bpm.engine.persistence       : ENGINE-03016 Performing database operation 'create' on component 'identity' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.identity.sql'
2019-11-14 11:24:26.418  INFO 988 --- [           main] org.camunda.bpm.engine.persistence       : ENGINE-03016 Performing database operation 'create' on component 'case.engine' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.case.engine.sql'
2019-11-14 11:24:26.420  INFO 988 --- [           main] org.camunda.bpm.engine.persistence       : ENGINE-03016 Performing database operation 'create' on component 'case.history' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.case.history.sql'
2019-11-14 11:24:26.423  INFO 988 --- [           main] org.camunda.bpm.engine.persistence       : ENGINE-03016 Performing database operation 'create' on component 'decision.engine' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.decision.engine.sql'
2019-11-14 11:24:26.426  INFO 988 --- [           main] org.camunda.bpm.engine.persistence       : ENGINE-03016 Performing database operation 'create' on component 'decision.history' with resource 'org/camunda/bpm/engine/db/create/activiti.h2.create.decision.history.sql'
2019-11-14 11:24:26.439  INFO 988 --- [           main] org.camunda.bpm.engine.persistence       : ENGINE-03067 No history level property found in database
2019-11-14 11:24:26.439  INFO 988 --- [           main] org.camunda.bpm.engine.persistence       : ENGINE-03065 Creating historyLevel property in database for level: HistoryLevelFull(name=full, id=3)
2019-11-14 11:24:26.453  INFO 988 --- [           main] org.camunda.bpm.engine                   : ENGINE-00001 Process Engine default created.
2019-11-14 11:24:26.516  INFO 988 --- [           main] org.camunda.bpm.spring.boot              : STARTER-SB010 creating initital Admin User: AdminUserProperty[id=kermit, firstName=Kermit, lastName=Kermit, email=kermit@localhost, password=superSecret]
2019-11-14 11:24:26.524  INFO 988 --- [           main] org.camunda.bpm.spring.boot              : STARTER-SB015 create initial filter: id=ef3d28a5-06c8-11ea-8d8e-9e512cc933d1 name=All tasks
2019-11-14 11:24:26.658  INFO 988 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-11-14 11:24:26.742  INFO 988 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@73a1e9a9: startup date [Thu Nov 14 11:24:22 CET 2019]; root of context hierarchy
2019-11-14 11:24:26.779  INFO 988 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/],methods=[GET]}" onto public java.lang.String de.countandcare.carorderprocess.controller.OrderController.index()
2019-11-14 11:24:26.783  INFO 988 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2019-11-14 11:24:26.783  INFO 988 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2019-11-14 11:24:26.793  INFO 988 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Root mapping to handler of type [class org.springframework.web.servlet.mvc.ParameterizableViewController]
2019-11-14 11:24:26.802  INFO 988 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-11-14 11:24:26.802  INFO 988 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-11-14 11:24:26.802  INFO 988 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/lib/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-11-14 11:24:26.802  INFO 988 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/api/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-11-14 11:24:26.802  INFO 988 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/app/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2019-11-14 11:24:26.834  INFO 988 --- [           main] o.s.b.a.w.s.WelcomePageHandlerMapping    : Adding welcome page: class path resource [META-INF/resources/index.html]
2019-11-14 11:24:26.925  INFO 988 --- [           main] o.c.b.s.b.s.w.f.LazyInitRegistration     : lazy initialized org.camunda.bpm.spring.boot.starter.webapp.filter.LazySecurityFilter@428ad7b1
2019-11-14 11:24:26.925  INFO 988 --- [           main] o.c.b.s.b.s.w.f.LazyInitRegistration     : lazy initialized org.camunda.bpm.spring.boot.starter.webapp.filter.LazyProcessEnginesFilter@452e7202
2019-11-14 11:24:27.036  INFO 988 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2019-11-14 11:24:27.058  INFO 988 --- [           main] org.camunda.bpm.container                : ENGINE-08024 Found processes.xml file at file:/Users/u2007750/CC/Develop/projects/Kfz-Bestellprozess/backend/carorderprocess/target/classes/META-INF/processes.xml
2019-11-14 11:24:27.059  INFO 988 --- [           main] org.camunda.bpm.container                : ENGINE-08025 Detected empty processes.xml file, using default values
2019-11-14 11:24:27.062  INFO 988 --- [           main] org.camunda.bpm.container                : ENGINE-08023 Deployment summary for process archive 'carorderprocessApplication': 

        orderProcess-PoolVehicles-2019-10-08.bpmn

2019-11-14 11:24:27.203  INFO 988 --- [           main] org.camunda.bpm.application              : ENGINE-07021 ProcessApplication 'carorderprocessApplication' registered for DB deployments [ef918a36-06c8-11ea-8d8e-9e512cc933d1]. Will execute process definitions 

        OrderProcess[version: 1, id: OrderProcess:1:efa427d8-06c8-11ea-8d8e-9e512cc933d1]
Deployment does not provide any case definitions.
2019-11-14 11:24:27.212  INFO 988 --- [           main] org.camunda.bpm.container                : ENGINE-08050 Process application carorderprocessApplication successfully deployed
2019-11-14 11:24:27.239  INFO 988 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8081 (http) with context path ''
2019-11-14 11:24:27.243  INFO 988 --- [           main] d.c.c.CarorderprocessApplication         : Started CarorderprocessApplication in 5.223 seconds (JVM running for 5.883)
2019-11-14 11:24:27.245  INFO 988 --- [           main] org.camunda.bpm.engine.jobexecutor       : ENGINE-14014 Starting up the JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor].
2019-11-14 11:24:27.246  INFO 988 --- [ingJobExecutor]] org.camunda.bpm.engine.jobexecutor       : ENGINE-14018 JobExecutor[org.camunda.bpm.engine.spring.components.jobexecutor.SpringJobExecutor] starting to acquire jobs
2019-11-14 11:24:32.847  INFO 988 --- [nio-8081-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring FrameworkServlet 'dispatcherServlet'
2019-11-14 11:24:32.847  INFO 988 --- [nio-8081-exec-1] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization started
2019-11-14 11:24:32.861  INFO 988 --- [nio-8081-exec-1] o.s.web.servlet.DispatcherServlet        : FrameworkServlet 'dispatcherServlet': initialization completed in 14 ms
spring.data.rest.basePath=/uniquetext
<configuration>
    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
        <encoder>
            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</pattern>
        </encoder>
    </appender>

    <root level="debug">
        <appender-ref ref="STDOUT" />
    </root>

    <logger name="org.apache.ibatis" level="info" />
    <logger name="javax.activation" level="info" />
    <logger name="org.springframework" level="info" />
    <logger name="org.camunda" level="info" />
</configuration>