Application is not running : Exception

Hi CUBA Team
My project is suddenly not running with the following exception:

    Jun 05, 2019 1:59:26 AM org.apache.catalina.loader.WebappClassLoaderBase checkStateForResourceLoading
    INFO: Illegal access: this web application instance has been stopped already. Could not load [com.haulmont.cuba.core.sys.persistence.PostgresDbTypeConverter]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
    java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [com.haulmont.cuba.core.sys.persistence.PostgresDbTypeConverter]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.
    	at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1363)
    	at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1351)
    	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1211)
    	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1173)
    	at com.haulmont.bali.util.ReflectionHelper.loadClass(ReflectionHelper.java:61)
    	at com.haulmont.cuba.core.sys.persistence.DbmsSpecificFactory.create(DbmsSpecificFactory.java:80)
    	at com.haulmont.cuba.core.sys.persistence.DbmsSpecificFactory.create(DbmsSpecificFactory.java:66)
    	at com.haulmont.cuba.core.sys.persistence.DbmsSpecificFactory.getDbTypeConverter(DbmsSpecificFactory.java:54)
    	at com.haulmont.cuba.core.sys.PersistenceImpl.getDbTypeConverter(PersistenceImpl.java:96)
    	at com.haulmont.cuba.core.app.ServerInfo.updateCurrentServer(ServerInfo.java:170)
    	at com.haulmont.cuba.core.app.ServerInfo$1.run(ServerInfo.java:130)
    	at java.util.TimerThread.mainLoop(Timer.java:555)
    	at java.util.TimerThread.run(Timer.java:505)

Thanks for your help with how this issue can be fixed.

Hi Mortoza,

When you see java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already at the end of log file, it is not the cause of the problem.
Look for a real cause in an exception before it.

Hi Konstantin
The problem is gone away without any fix at my end. This was the 2nd time for similar case. It seems the root cause is temporary access problems for repository server access for the CUBA resources.

Mortoza