Failing to display login page after updating to plaform version 6.9.0

So I updated the plaform for 6.8.8, and for some reason I’m getting this error when I try to display the login page:

Jun 08, 2018 12:53:43 PM 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.MysqlDbTypeConverter]. 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.MysqlDbTypeConverter]. 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:92)
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)

I already made sure the anonymous user is there, so I’m not really certain where I should go from there.

Hi,
Do you see a message similar to the following in the logs ?

09:49:08.655 WARN  c.h.c.c.sys.dbupdate.DbUpdaterEngine -
====================================================================
WARNING: The application contains unapplied database update scripts:

10-cuba/update/mysql/18/180312-renameColumns.sql
10-cuba/update/mysql/18/180321-addContentBodyTypeColumnToSendingMessage.sql
10-cuba/update/mysql/18/180331-truncateQueryResultTable.sql

Set 'cuba.automaticDatabaseUpdate' application property to 'true' to
 initialize and update database on startup.
====================================================================

Try to update the database after migration. This should solve the problem.

1 Like

Thanks! This fixed my problem.