Error after deploy to Tomcat 8.5 Project

Hi, Last week I upgrade my project to the last cuba version 6.9, and after compile and deploy to my Tomcat server I start receive de following error:

10-Jun-2018 23:28:10.012 INFO [ServerInfoTimer] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load [com.haulmont.cuba.core.sys.persistence.MssqlDbTypeConverter]. 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.MssqlDbTypeConverter]. 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:1311)
	at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForClassLoading(WebappClassLoaderBase.java:1299)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1158)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)
	at com.haulmont.bali.util.ReflectionHelper.loadClass(ReflectionHelper.java:62)
	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:88)
	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(Unknown Source)
	at java.util.TimerThread.run(Unknown Source)

Until last week in order to deploy i copy all folders and files in the Tomcat directory to the Tomcat folder in server and works fine.

Any idea to solve this?

Regards,
João Gomes

1 Like

I’m having the same problem. Is there anything besides updating that you did?

Hi,
Have you updated the database after migration? It seems you are facing the same problem as was described here.

Hi,
I have sure I update database several time after update to last cuba version.
After several tests i re-install my Tomcat to the lastest version and the app starts work normally.
The Tomcat update solve my problem.

Regards,
João Gomes