Why connectionUrlList propertie is not moved to local.app.properties file during the building war process?

Hi, support and forum followers.

Something I’m just doing wrong but I can’t understand what it is.
Despite the server hostname has been indicated on the connectionUrlList propertie in web-app.properties and portal-app.properties files, when the war file is built with Single WAR for Middleware and Web Client setting applied, in local.app.properties generated files the value for cuba.connectionUrlList is still the default value http://localhost:8080/app-core.

Our platform is:
CUBA Platform version: 7.2.18
CUBA Studio plugin version: 15.9-202
IntelliJ version: CUBA Studio 2020.2

Any suggestion would be appreciated to solve the problem.

Thanks in advance.

Xavier Lorent

Hi Xavier,

Not sure if it causes any problem in the Single WAR deployment, but anyway, you can specify custom properties for the buildWar gradle task, see an example at WAR deployment to Tomcat Linux Service - CUBA Platform. Developer’s Manual

Regards,
Konstantin

1 Like