LocalServiceAccessException on update to platform 7.2.0

Hi,

I just updated the platform version to 7.2.0 and also updated the Gradle wrapper version to 5.4.1.

The project build is successful but the server is ending up with the exception,
com.haulmont.cuba.web.sys.remoting.LocalServiceAccessException: Unable to connect to middleware. Service app-core/cuba_TrustedClientService is not registered in LocalServiceDirectory

and in the logs,
Error initializing application org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named cubaDataSource_opt available

Any heads up.

Regards,
Sanchit

full_stack_trace.txt (14.5 KB)

I am also having the same exception and not able to log-in. Looking forward for a solution.

Hi
Are you using multitenant app Component? I think this is coming from multitenant app component.

Here what I did.
My application was running after migrating to 7.2 without upgrading the app components that runs (many are beta) 7.2. However, when I updated all the app components I have been using it started giving me that exception. Then I restored my backup version and upgraded one by one and when every time I upgrade the multitenant app component, i get that exception.

Hi,
Looks like there is problem with definition of your additional “opt” datastore’s datasource.

You can check that your spring.xml file in core module contains definitions described in this page:
https://doc.cuba-platform.com/manual-7.2/db_connection.html