When I opened my cuba project today, it said there was a new version available. So I did the update and continued with my work. Running the app locally works fine. It was only when I generated a WAR file and deployed to a seperate tomcat 9 server, that I got this unable to login as anonymous! message.
Both my cuba project and tomcat 9 server are pointing to the same database.
the Anonymous user on this database exists.
In other threads with the same error, I have double checked that the cuba.useLocalServiceInvocation=true and the cuba.connectionUrlList is correct.
As a last ditch effort, I decided to go into the Project properties and roll back to 7.1.3, redeploy the WAR file and try again. This time it works. So apparently, going from 7.1.3 to 7.1.4 has generated a problem.
I’ve attached the app.log file. Near the end of the file is when I rolled back to 7.1.3 and things started with no error.
Hi,
It is clear from the log file that your cuba.connectionUrlList property in the web module is not synchronized with “cuba.webContextName” value of the core module.