INFO: Illegal access: this web application instance has been stopped already. Could not load java.net.InetAddress

前端 未结 4 793
长发绾君心
长发绾君心 2020-12-05 06:36

I\'m experiencing this kind of exception, can someone help me about this problem?

java.lang.IllegalStateException
at         


        
4条回答
  •  余生分开走
    2020-12-05 07:09

    You cannot resolve this problem by "restarting the server".

    The problem is that when you update your app by uploading a new version to Tomcat, some resource is not cleaned up properly. Could be anything from a runaway thread, to some kind of scheduled service, to a listener. When that process tries to load a class, Tomcat will detect and prevent it.

    The solution to the problem is to properly keep track of, and on shutdown close, those threads.

提交回复
热议问题