Закрытие org.springframework.boot.context.embedded. AnnotationConfigEmbeddedWebApplicationContext@3c6e918c - PullRequest
0 голосов
/ 24 февраля 2020

Во время работы сервера Tomcat с несколькими приложениями в папке webapps. Одно приложение закрывается, в то время как остальные работают отлично.

Выход My Console для закрытия приложения:

2020-02-24 14:34:41.319  INFO 20872 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2020-02-24 14:34:41.373  INFO 20872 --- [           main] tpa.ap.fcn.FCNWebApplication             : Started FCNWebApplication in 21.968 seconds (JVM running for 190.2)
2020-02-24 14:34:41.624  INFO 20872 --- [           main] org.apache.jasper.servlet.TldScanner     : At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
24-Feb-2020 14:34:43.560 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file
24-Feb-2020 14:34:43.560 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [/tpa-ap-fcn-web] startup failed due to previous errors
2020-02-24 14:34:43.572  INFO 20872 --- [           main] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@3c6e918c: startup date [Mon Feb 24 14:34:21 IST 2020]; root of context hierarchy
2020-02-24 14:34:43.574  INFO 20872 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Unregistering JMX-exposed beans on shutdown
2020-02-24 14:34:43.575  INFO 20872 --- [           main] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'aps'
24-Feb-2020 14:34:43.667 SEVERE [main] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [tpa-ap-fcn-web] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@438baad]) and a value of type [com.opensymphony.xwork2.inject.ContainerImpl] (value [com.opensymphony.xwork2.inject.ContainerImpl@6d08cc5c]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.

My Pom. xml

<!-- SPRINGBOOT CONVERSION Dependency -->

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-aop</artifactId>
    </dependency>

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-data-jpa</artifactId>
    </dependency>

    <dependency>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-web</artifactId>
    </dependency>

имеет все необходимые зависимости

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...